From 211e44838f11a4a05e88bbad35c075e90668047d Mon Sep 17 00:00:00 2001 From: Kichiyaki Date: Sat, 5 Jun 2021 11:06:24 +0200 Subject: [PATCH] chore: update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1f4417b..7de195a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,5 @@ FROM golang:alpine as builder -ENV CGO_ENABLED=0 # Set the Current Working Directory inside the container WORKDIR /app @@ -12,6 +11,7 @@ RUN go mod download # Copy the source from the current directory to the Working Directory inside the container COPY . . +RUN apk --no-cache add musl-dev gcc build-base RUN go generate ./... RUN go build -o zdamegzawodowy .