From 632398db7a52d6e206122872c83bf67257001a5d Mon Sep 17 00:00:00 2001 From: Joseph Kato Date: Sat, 8 Jun 2024 14:51:24 -0700 Subject: [PATCH] chore: add `build-base` to Dcoker --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index f02b60c0..76e619e8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,8 @@ COPY . /app/ WORKDIR /app ARG ltag + +RUN apk add build-base RUN CGO_ENABLED=1 GOOS=linux go build -ldflags "-s -w -X main.version=$ltag" -o /app/vale ./cmd/vale FROM alpine