From b0d0560f0ec608219dd29bf9d8e879458acd4aab Mon Sep 17 00:00:00 2001 From: dpanayotov Date: Wed, 20 Nov 2019 15:50:51 +0200 Subject: [PATCH] fix k8s agent dockerfile --- Dockerfile-k8s-agent | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile-k8s-agent b/Dockerfile-k8s-agent index 593b40981..38e012157 100755 --- a/Dockerfile-k8s-agent +++ b/Dockerfile-k8s-agent @@ -6,15 +6,15 @@ FROM golang:1.12.7-alpine3.10 AS builder # We need so that dep can fetch it's dependencies -# RUN apk --no-cache add git -# RUN go get github.com/golang/dep/cmd/dep +RUN apk --no-cache add git +RUN go get github.com/golang/dep/cmd/dep # Directory in workspace WORKDIR "/go/src/github.com/Peripli/service-manager" # Copy dep files only and ensure dependencies are satisfied -# COPY Gopkg.lock Gopkg.toml ./ -# RUN dep ensure -vendor-only -v +COPY Gopkg.lock Gopkg.toml ./ +RUN dep ensure --vendor-only -v # Copy and build source code COPY . ./