Browse Source

alpine 3.16 (#19797)

Co-authored-by: 6543 <6543@obermui.de>
pull/19803/head
techknowlogick 1 month ago committed by GitHub
parent
commit
0cbec3cd37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Dockerfile
  2. 4
      Dockerfile.rootless

4
Dockerfile

@ -1,5 +1,5 @@
#Build stage
FROM golang:1.18-alpine3.15 AS build-env
FROM golang:1.18-alpine3.16 AS build-env
ARG GOPROXY
ENV GOPROXY ${GOPROXY:-direct}
@ -23,7 +23,7 @@ RUN if [ -n "${GITEA_VERSION}" ]; then git checkout "${GITEA_VERSION}"; fi \
# Begin env-to-ini build
RUN go build contrib/environment-to-ini/environment-to-ini.go
FROM alpine:3.15
FROM alpine:3.16
LABEL maintainer="maintainers@gitea.io"
EXPOSE 22 3000

4
Dockerfile.rootless

@ -1,5 +1,5 @@
#Build stage
FROM golang:1.18-alpine3.15 AS build-env
FROM golang:1.18-alpine3.16 AS build-env
ARG GOPROXY
ENV GOPROXY ${GOPROXY:-direct}
@ -23,7 +23,7 @@ RUN if [ -n "${GITEA_VERSION}" ]; then git checkout "${GITEA_VERSION}"; fi \
# Begin env-to-ini build
RUN go build contrib/environment-to-ini/environment-to-ini.go
FROM alpine:3.15
FROM alpine:3.16
LABEL maintainer="maintainers@gitea.io"
EXPOSE 2222 3000

Loading…
Cancel
Save