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