From 2159920ec5002851bb86a7bd780df69efbe74e67 Mon Sep 17 00:00:00 2001 From: thoscut Date: Wed, 5 Feb 2020 21:58:01 +0100 Subject: [PATCH] Move dependencies to start of dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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