diff --git a/Dockerfile b/Dockerfile index e0d9501..9034504 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,6 +24,7 @@ RUN freshclam --quiet --no-dns # Build go package ADD . /go/src/clamav-rest/ +ENV GO111MODULE=auto RUN go get github.com/dutchcoders/go-clamd RUN go get github.com/prometheus/client_golang/prometheus/promhttp ADD ./server.* /etc/ssl/clamav-rest/