ANOTHER FIX

This commit is contained in:
terorie 2019-02-22 21:07:56 +01:00 committed by GitHub
parent 6292ce27a3
commit bd29c03579
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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/