all repos — legit @ c9b71a7180effe9e8c52ffa0a57d4e21916558fa

web frontend for git

contrib: update Dockerfile
Marco Andronaco andronacomarco@gmail.com
Wed, 02 Oct 2024 12:08:03 +0200
commit

c9b71a7180effe9e8c52ffa0a57d4e21916558fa

parent

fba146ac6867b13c40802c4d7a21a8a32571473c

1 files changed, 4 insertions(+), 7 deletions(-)

jump to
M contrib/Dockerfilecontrib/Dockerfile

@@ -1,16 +1,14 @@

-FROM golang:1.19-alpine AS builder +FROM golang:1.22-alpine AS builder WORKDIR /app -COPY . ./ - -RUN apk add gcc musl-dev libc-dev - +COPY . . RUN go mod download RUN go mod verify + RUN go build -o legit -FROM alpine:latest +FROM scratch AS build-release-stage WORKDIR /app

@@ -22,4 +20,3 @@

EXPOSE 5555 CMD ["./legit"] -