mirror of
https://codeberg.org/gothub/gothub
synced 2024-12-06 19:16:24 +01:00
switch to alpine for docker image
Signed-off-by: Odyssey <odyssey346@disroot.org>
This commit is contained in:
+1
-1
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user