From 712ec7d3fb9051ea5ae7bfeb6ec33e9c90f867be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Mon, 17 Dec 2018 15:28:45 +0200 Subject: [PATCH] Update Dockerfile ENV CGO_ENABLED=0 --- contrib/docker/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/docker/Dockerfile b/contrib/docker/Dockerfile index 6b4bfcb..fb4fbfa 100644 --- a/contrib/docker/Dockerfile +++ b/contrib/docker/Dockerfile @@ -2,6 +2,9 @@ FROM docker.io/golang:alpine as builder COPY . /src WORKDIR /src + +ENV CGO_ENABLED=0 + RUN apk add git && ./build FROM docker.io/alpine