]> source.dussan.org Git - gitea.git/commitdiff
Update to Alpine 3.18 (#24700)
authorYevhen Pavlov <sonjekua@gmail.com>
Sun, 14 May 2023 01:49:00 +0000 (04:49 +0300)
committerGitHub <noreply@github.com>
Sun, 14 May 2023 01:49:00 +0000 (01:49 +0000)
This pull request is for updating the base docker images to build with the latest version of Alpine.

Dockerfile
Dockerfile.rootless

index 3623085e4744d4acb231f59a673b3f98fd978946..06481cdf5aaca42f7e0e39eb48b7958621105583 100644 (file)
@@ -1,5 +1,5 @@
 #Build stage
-FROM docker.io/library/golang:1.20-alpine3.17 AS build-env
+FROM docker.io/library/golang:1.20-alpine3.18 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 docker.io/library/alpine:3.17
+FROM docker.io/library/alpine:3.18
 LABEL maintainer="maintainers@gitea.io"
 
 EXPOSE 22 3000
index 67bd9c4880fbfd8e71ae197e554510b182d6b5ef..aa74d3598750a2eef2bf2ba2ae887f6a7f48b406 100644 (file)
@@ -1,5 +1,5 @@
 #Build stage
-FROM docker.io/library/golang:1.20-alpine3.17 AS build-env
+FROM docker.io/library/golang:1.20-alpine3.18 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 docker.io/library/alpine:3.17
+FROM docker.io/library/alpine:3.18
 LABEL maintainer="maintainers@gitea.io"
 
 EXPOSE 2222 3000