upgrade dependencies
This commit is contained in:
parent
d78ce6dc39
commit
85dd3059ba
|
|
@ -3,8 +3,8 @@ build==1.3.0
|
||||||
certifi==2025.8.3
|
certifi==2025.8.3
|
||||||
cffi==2.0.0
|
cffi==2.0.0
|
||||||
charset-normalizer==3.4.3
|
charset-normalizer==3.4.3
|
||||||
cryptography==45.0.7
|
cryptography==46.0.1
|
||||||
docutils==0.22
|
docutils==0.22.2
|
||||||
id==1.5.0
|
id==1.5.0
|
||||||
idna==3.10
|
idna==3.10
|
||||||
importlib_metadata==8.7.0
|
importlib_metadata==8.7.0
|
||||||
|
|
|
||||||
|
|
@ -541,8 +541,8 @@ EOF
|
||||||
# as such, we cannot use our docker-group registry, instead we must use the docker-proxy
|
# as such, we cannot use our docker-group registry, instead we must use the docker-proxy
|
||||||
# registry, enable the Docker Bearer Token Realm and allow anonymous access to it.
|
# registry, enable the Docker Bearer Token Realm and allow anonymous access to it.
|
||||||
# see https://github.com/moby/moby/issues/30880
|
# see https://github.com/moby/moby/issues/30880
|
||||||
# NB this will make https://nexus.example.com:5002/v2/library/debian/manifests/buster-slim proxy
|
# NB this will make https://nexus.example.com:5002/v2/library/debian/manifests/trixie-slim proxy
|
||||||
# to https://registry-1.docker.io/v2/library/debian/manifests/buster-slim
|
# to https://registry-1.docker.io/v2/library/debian/manifests/trixie-slim
|
||||||
# https://registry-1.docker.io/v2/library/golang/tags/list
|
# https://registry-1.docker.io/v2/library/golang/tags/list
|
||||||
http \
|
http \
|
||||||
--check-status \
|
--check-status \
|
||||||
|
|
|
||||||
|
|
@ -68,14 +68,14 @@ module example.com/go-hello
|
||||||
go $go_version
|
go $go_version
|
||||||
EOF
|
EOF
|
||||||
cat >Dockerfile <<EOF
|
cat >Dockerfile <<EOF
|
||||||
FROM golang:$go_version-bookworm AS builder
|
FROM golang:$go_version-trixie AS builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY go.* main.go ./
|
COPY go.* main.go ./
|
||||||
RUN CGO_ENABLED=0 go build -ldflags="-s"
|
RUN CGO_ENABLED=0 go build -ldflags="-s"
|
||||||
|
|
||||||
# NB we use the buster-slim (instead of scratch) image so we
|
# NB we use the trixie-slim (instead of scratch) image so we
|
||||||
# can enter the container to execute bash etc.
|
# can enter the container to execute bash etc.
|
||||||
FROM debian:bookworm-slim
|
FROM debian:trixie-slim
|
||||||
COPY --from=builder /app/go-hello .
|
COPY --from=builder /app/go-hello .
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ cd tmp/use-maven-repository-from-gradle
|
||||||
# download and install gradle.
|
# download and install gradle.
|
||||||
# see https://gradle.org/releases/
|
# see https://gradle.org/releases/
|
||||||
# renovate: datasource=github-releases depName=gradle/gradle
|
# renovate: datasource=github-releases depName=gradle/gradle
|
||||||
gradle_version='9.0.0'
|
gradle_version='9.1.0'
|
||||||
if [ ! -f /opt/gradle/gradle-$gradle_version/bin/gradle ]; then
|
if [ ! -f /opt/gradle/gradle-$gradle_version/bin/gradle ]; then
|
||||||
apt-get install -y unzip
|
apt-get install -y unzip
|
||||||
wget -qO/tmp/gradle-$gradle_version-bin.zip https://services.gradle.org/distributions/gradle-$gradle_version-bin.zip
|
wget -qO/tmp/gradle-$gradle_version-bin.zip https://services.gradle.org/distributions/gradle-$gradle_version-bin.zip
|
||||||
|
|
@ -36,8 +36,8 @@ cat >settings.gradle <<'EOF'
|
||||||
rootProject.name = 'gradle-greeter'
|
rootProject.name = 'gradle-greeter'
|
||||||
EOF
|
EOF
|
||||||
cat >build.gradle <<'EOF'
|
cat >build.gradle <<'EOF'
|
||||||
// see https://docs.gradle.org/9.0.0/userguide/java_library_plugin.html
|
// see https://docs.gradle.org/9.1.0/userguide/java_library_plugin.html
|
||||||
// see https://docs.gradle.org/9.0.0/userguide/maven_plugin.html
|
// see https://docs.gradle.org/9.1.0/userguide/maven_plugin.html
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'java-library'
|
id 'java-library'
|
||||||
|
|
@ -106,8 +106,8 @@ EOF
|
||||||
# renovate: datasource=maven depName=com.gradleup.shadow:shadow-gradle-plugin
|
# renovate: datasource=maven depName=com.gradleup.shadow:shadow-gradle-plugin
|
||||||
com_gradleup_shadow_version='9.1.0'
|
com_gradleup_shadow_version='9.1.0'
|
||||||
cat >build.gradle <<EOF
|
cat >build.gradle <<EOF
|
||||||
// see https://docs.gradle.org/9.0.0/userguide/java_plugin.html
|
// see https://docs.gradle.org/9.1.0/userguide/java_plugin.html
|
||||||
// see https://docs.gradle.org/9.0.0/userguide/application_plugin.html
|
// see https://docs.gradle.org/9.1.0/userguide/application_plugin.html
|
||||||
// see https://gradleup.com/shadow/
|
// see https://gradleup.com/shadow/
|
||||||
// see https://github.com/GradleUp/shadow
|
// see https://github.com/GradleUp/shadow
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,12 +13,12 @@ gitea_container_name="$(basename "$(dirname "$(realpath "${BASH_SOURCE[0]}")")")
|
||||||
|
|
||||||
# see https://hub.docker.com/r/gitea/gitea/tags
|
# see https://hub.docker.com/r/gitea/gitea/tags
|
||||||
# renovate: datasource=docker depName=gitea/gitea
|
# renovate: datasource=docker depName=gitea/gitea
|
||||||
gitea_version='1.24.5'
|
gitea_version='1.24.6'
|
||||||
|
|
||||||
# see https://hub.docker.com/r/renovate/renovate/tags
|
# see https://hub.docker.com/r/renovate/renovate/tags
|
||||||
# see https://github.com/renovatebot/renovate/releases
|
# see https://github.com/renovatebot/renovate/releases
|
||||||
# renovate: datasource=docker depName=renovate/renovate
|
# renovate: datasource=docker depName=renovate/renovate
|
||||||
renovate_version='41.98.2'
|
renovate_version='41.124.0'
|
||||||
|
|
||||||
# clean.
|
# clean.
|
||||||
echo 'Deleting existing Gitea...'
|
echo 'Deleting existing Gitea...'
|
||||||
|
|
@ -30,7 +30,7 @@ install -d tmp
|
||||||
# start gitea in background.
|
# start gitea in background.
|
||||||
# see https://docs.gitea.io/en-us/config-cheat-sheet/
|
# see https://docs.gitea.io/en-us/config-cheat-sheet/
|
||||||
# see https://github.com/go-gitea/gitea/releases
|
# see https://github.com/go-gitea/gitea/releases
|
||||||
# see https://github.com/go-gitea/gitea/blob/v1.24.5/docker/root/etc/s6/gitea/setup
|
# see https://github.com/go-gitea/gitea/blob/v1.24.6/docker/root/etc/s6/gitea/setup
|
||||||
echo 'Starting Gitea...'
|
echo 'Starting Gitea...'
|
||||||
docker run \
|
docker run \
|
||||||
--detach \
|
--detach \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue