From bd29c035794654efb419fd93595773c9c15ae5e4 Mon Sep 17 00:00:00 2001 From: terorie Date: Fri, 22 Feb 2019 21:07:56 +0100 Subject: [PATCH] ANOTHER FIX --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 731258e..7dcbc20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,8 @@ FROM golang:alpine as builder ADD . /go/src/github.com/terorie/od-database-crawler -RUN apk add git && \ - CGO_ENABLED=0 go install -v \ - -a -installsuffix cgo \ - github.com/terorie/od-database-crawler +RUN apk add git \ + && go get -d -v github.com/terorie/od-database-crawler \ + && CGO_ENABLED=0 go install -a -installsuffix cgo github.com/terorie/od-database-crawler FROM scratch COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/