From 44c58e5939a8af6e8fb971b16cad835a97e94f01 Mon Sep 17 00:00:00 2001 From: Jonas Franz Date: Thu, 26 Jul 2018 15:35:07 +0200 Subject: [PATCH] improve docker build Signed-off-by: Jonas Franz --- Dockerfile | 3 +++ Dockerfile.web | 2 ++ 2 files changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 91473ad..b77aa7c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,9 @@ #Build stage FROM golang:1.10-alpine3.7 AS build-env + +ARG VERSION + #Build deps RUN apk --no-cache add build-base git ca-certificates diff --git a/Dockerfile.web b/Dockerfile.web index aa18655..2f47552 100644 --- a/Dockerfile.web +++ b/Dockerfile.web @@ -1,6 +1,8 @@ #Build stage FROM golang:1.10-alpine3.7 AS build-env +ARG VERSION + #Build deps RUN apk --no-cache add build-base git ca-certificates