mirror of
https://github.com/distribution/distribution.git
synced 2026-02-21 22:34:05 +00:00
update to go1.25.7, alpine 3.23
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
committed by
Milos Gajdos
parent
efd7ffb9c9
commit
60d2cd5c44
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
||||
matrix:
|
||||
go:
|
||||
- 1.23.7
|
||||
- 1.24.1
|
||||
- 1.25.7
|
||||
target:
|
||||
- test-coverage
|
||||
- test-s3-storage
|
||||
|
||||
10
Dockerfile
10
Dockerfile
@@ -1,7 +1,13 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
ARG GO_VERSION=1.23.7
|
||||
ARG ALPINE_VERSION=3.21
|
||||
# GO_VERSION sets the version of the golang base image to use.
|
||||
# It must be a supported tag in the docker.io/library/golang image repository.
|
||||
ARG GO_VERSION=1.25.7
|
||||
|
||||
# ALPINE_VERSION sets the version of the alpine base image to use, including for the golang image.
|
||||
# It must be a supported tag in the docker.io/library/alpine image repository
|
||||
# that's also available as alpine image variant for the Golang version used.
|
||||
ARG ALPINE_VERSION=3.23
|
||||
|
||||
# XX_VERSION sets the version of the tonistiigi/xx utility to use.
|
||||
# It must be a valid tag in the docker.io/tonistiigi/xx image repository.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
ARG ALPINE_VERSION=3.21
|
||||
# ALPINE_VERSION sets the version of the alpine base image to use.
|
||||
# It must be a supported tag in the docker.io/library/alpine image repository.
|
||||
ARG ALPINE_VERSION=3.23
|
||||
|
||||
FROM alpine:${ALPINE_VERSION} AS gen
|
||||
RUN apk add --no-cache git
|
||||
|
||||
@@ -1,7 +1,13 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
ARG GO_VERSION=1.23.7
|
||||
ARG ALPINE_VERSION=3.21
|
||||
# GO_VERSION sets the version of the golang base image to use.
|
||||
# It must be a supported tag in the docker.io/library/golang image repository.
|
||||
ARG GO_VERSION=1.25.7
|
||||
|
||||
# ALPINE_VERSION sets the version of the alpine base image to use, including for the golang image.
|
||||
# It must be a supported tag in the docker.io/library/alpine image repository
|
||||
# that's also available as alpine image variant for the Golang version used.
|
||||
ARG ALPINE_VERSION=3.23
|
||||
|
||||
FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS base
|
||||
RUN apk add --no-cache git
|
||||
|
||||
@@ -1,7 +1,13 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
ARG GO_VERSION=1.23.7
|
||||
ARG ALPINE_VERSION=3.21
|
||||
# GO_VERSION sets the version of the golang base image to use.
|
||||
# It must be a supported tag in the docker.io/library/golang image repository.
|
||||
ARG GO_VERSION=1.25.7
|
||||
|
||||
# ALPINE_VERSION sets the version of the alpine base image to use, including for the golang image.
|
||||
# It must be a supported tag in the docker.io/library/alpine image repository
|
||||
# that's also available as alpine image variant for the Golang version used.
|
||||
ARG ALPINE_VERSION=3.23
|
||||
|
||||
FROM alpine:${ALPINE_VERSION} AS base
|
||||
RUN apk add --no-cache git gpg
|
||||
|
||||
@@ -1,7 +1,14 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
ARG GO_VERSION=1.23.7
|
||||
ARG ALPINE_VERSION=3.21
|
||||
# GO_VERSION sets the version of the golang base image to use.
|
||||
# It must be a supported tag in the docker.io/library/golang image repository.
|
||||
ARG GO_VERSION=1.25.7
|
||||
|
||||
# ALPINE_VERSION sets the version of the alpine base image to use, including for the golang image.
|
||||
# It must be a supported tag in the docker.io/library/alpine image repository
|
||||
# that's also available as alpine image variant for the Golang version used.
|
||||
ARG ALPINE_VERSION=3.23
|
||||
|
||||
# GOLANGCI_LINT_VERSION sets the version of the golangci/golangci-lint image to use.
|
||||
ARG GOLANGCI_LINT_VERSION=v2.9
|
||||
ARG BUILDTAGS=""
|
||||
|
||||
@@ -1,7 +1,14 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
ARG GO_VERSION=1.23.7
|
||||
ARG ALPINE_VERSION=3.21
|
||||
# GO_VERSION sets the version of the golang base image to use.
|
||||
# It must be a supported tag in the docker.io/library/golang image repository.
|
||||
ARG GO_VERSION=1.25.7
|
||||
|
||||
# ALPINE_VERSION sets the version of the alpine base image to use, including for the golang image.
|
||||
# It must be a supported tag in the docker.io/library/alpine image repository
|
||||
# that's also available as alpine image variant for the Golang version used.
|
||||
ARG ALPINE_VERSION=3.23
|
||||
|
||||
ARG MODOUTDATED_VERSION=v0.8.0
|
||||
|
||||
FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS base
|
||||
|
||||
Reference in New Issue
Block a user