switch to alpine for docker image

Signed-off-by: Odyssey <odyssey346@disroot.org>
This commit is contained in:
Odyssey
2023-01-01 00:27:10 +01:00
parent de9ab67e8c
commit 40dcdcf68c
+1 -1
View File
@@ -9,7 +9,7 @@ RUN git clone https://codeberg.org/gothub/gothub .
RUN go mod download
RUN GOOS=linux GOARCH=$TARGETARCH go build -o /src/gothub
FROM scratch as bin
FROM alpine:3.16 as bin
WORKDIR /app
COPY --from=build /src/gothub .