update Dockerfile
This commit is contained in:
parent
612b29cda6
commit
770811d2a9
1 changed files with 1 additions and 2 deletions
|
@ -12,12 +12,11 @@ EXPOSE 80
|
||||||
ENTRYPOINT ["sh"]
|
ENTRYPOINT ["sh"]
|
||||||
|
|
||||||
|
|
||||||
FROM dev as build
|
FROM dev AS build
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --assume-yes ca-certificates make git
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --assume-yes ca-certificates make git
|
||||||
RUN go mod download && go mod verify
|
RUN go mod download && go mod verify
|
||||||
RUN make build
|
RUN make build
|
||||||
RUN chmod +x forgejo-release-proxy
|
|
||||||
|
|
||||||
|
|
||||||
FROM gcr.io/distroless/static-debian12 AS prod
|
FROM gcr.io/distroless/static-debian12 AS prod
|
||||||
|
|
Loading…
Reference in a new issue