1
1
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-10 21:01:02 +02:00

Added the gcc and musl-dev packages in the builder layer of the Dockerfile.

This commit is contained in:
Rehan Mahmood 2024-01-25 11:25:02 -05:00
parent 47fc96b98f
commit 9ad2af18bd
3 changed files with 10 additions and 10 deletions

View file

@ -1,5 +1,5 @@
FROM golang:1.19-alpine as builder
RUN apk add --no-cache git
FROM golang:1.20-alpine as builder
RUN apk add --no-cache git gcc musl-dev
WORKDIR /go/croc
COPY . .
RUN go build -v -ldflags="-s -w"