diff --git a/Dockerfile b/Dockerfile index d9ce3bd..4bddbe9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ FROM golang:1.13-alpine3.10 AS build-env +#Build deps +RUN apk --no-cache add build-base git + #Setup COPY . /src/gitea-group-sync WORKDIR /src/gitea-group-sync -#Build deps -RUN apk --no-cache add build-base git - RUN go get gopkg.in/ldap.v3 && go get gopkg.in/robfig/cron.v3 && go build FROM alpine:3.10