From 7695d7e9166b533e55b139cdea2849150342b66f Mon Sep 17 00:00:00 2001 From: Tyler Date: Wed, 30 Mar 2022 20:34:05 -0400 Subject: [PATCH] Fix Dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a5995af..a1c2a0c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,9 @@ ADD . /src WORKDIR /src -RUN CGO_ENABLED=0 go build -o /src/dlrouter +RUN apk add --no-cache git && \ + export CGO_ENABLED=0 && \ + go build -o /src/dlrouter FROM alpine