Browse Source

Update to Alpine 3.17 (#21904)

This pull request is for updating the base docker images to build with
the latest version of Alpine.
tags/v1.19.0-rc0
flynnnnnnnnnn 1 year ago
parent
commit
350bc83d00
No account linked to committer's email address
3 changed files with 5 additions and 5 deletions
  1. 1
    1
      .drone.yml
  2. 2
    2
      Dockerfile
  3. 2
    2
      Dockerfile.rootless

+ 1
- 1
.drone.yml View File

@@ -600,7 +600,7 @@ steps:
from_secret: crowdin_key

- name: update
image: alpine:3.13
image: alpine:3.17
pull: always
commands:
- ./build/update-locales.sh

+ 2
- 2
Dockerfile View File

@@ -1,5 +1,5 @@
#Build stage
FROM golang:1.19-alpine3.16 AS build-env
FROM golang:1.19-alpine3.17 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.16
FROM alpine:3.17
LABEL maintainer="maintainers@gitea.io"

EXPOSE 22 3000

+ 2
- 2
Dockerfile.rootless View File

@@ -1,5 +1,5 @@
#Build stage
FROM golang:1.19-alpine3.16 AS build-env
FROM golang:1.19-alpine3.17 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.16
FROM alpine:3.17
LABEL maintainer="maintainers@gitea.io"

EXPOSE 2222 3000

Loading…
Cancel
Save