You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Debian images that the golang images are built from are now based on Debian 12 instead of Debian 11 as before. This means that all pinned dependencies for those images no longer resolve to available packages.
I'll need to update those pinned dependency versions in order to refresh Debian-based images.
Example output from failed build attempts:
Building go-ci-stable release
sudo docker image build \
--pull \
--no-cache \
stable/combined/ \
-t registry-1.docker.io/atc0005/go-ci:latest \
-t registry-1.docker.io/atc0005/go-ci:go-ci-stable \
-t registry-1.docker.io/atc0005/go-ci:go-ci-stable-v0.10.7-dev.2.g44b6694 \
-t ghcr.io/atc0005/go-ci:latest \
-t ghcr.io/atc0005/go-ci:go-ci-stable \
-t ghcr.io/atc0005/go-ci:go-ci-stable-v0.10.7-dev.2.g44b6694 \
--label=atc0005.go-ci \
--label=org.opencontainers.image.revision="44b669426cd2a6f1e1836a6c3e4e9244f1ef76d5" \
--label=org.opencontainers.image.created="2023-06-15 10:11:11+00:00"
Sending build context to Docker daemon 9.728kB
Step 1/23 : FROM golang:1.20.5
1.20.5: Pulling from library/golang
bba7bb10d5ba: Pulling fs layer
ec2b820b8e87: Pulling fs layer
284f2345db05: Pulling fs layer
67f4091d98ee: Pulling fs layer
f29ea5e6b316: Pulling fs layer
c1c5b70020e4: Pulling fs layer
67f4091d98ee: Waiting
f29ea5e6b316: Waiting
c1c5b70020e4: Waiting
ec2b820b8e87: Verifying Checksum
ec2b820b8e87: Download complete
bba7bb10d5ba: Verifying Checksum
bba7bb10d5ba: Download complete
284f2345db05: Verifying Checksum
284f2345db05: Download complete
c1c5b70020e4: Verifying Checksum
c1c5b70020e4: Download complete
67f4091d98ee: Verifying Checksum
67f4091d98ee: Download complete
f29ea5e6b316: Verifying Checksum
f29ea5e6b316: Download complete
bba7bb10d5ba: Pull complete
ec2b820b8e87: Pull complete
284f2345db05: Pull complete
67f4091d98ee: Pull complete
f29ea5e6b316: Pull complete
c1c5b70020e4: Pull complete
Digest: sha256:6b3fa4b908676231b50acbbc00e84d8cee9c6ce072b1175c0ff352c57d8a612f
Status: Downloaded newer image for golang:1.20.5
---> e5ba91fc310d
Step 2/23 : LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
---> Running in bb488c45dea3
Removing intermediate container bb488c45dea3
---> c0c45e605ceb
Step 3/23 : LABEL org.opencontainers.image.documentation="https://github.com/atc0005/go-ci"
---> Running in a1a8b11039d1
Removing intermediate container a1a8b11039d1
---> 93182840fd3a
Step 4/23 : LABEL org.opencontainers.image.url="https://github.com/atc0005/go-ci"
---> Running in fe259cdd293a
Removing intermediate container fe259cdd293a
---> e53845e50eb2
Step 5/23 : LABEL org.opencontainers.image.title="go-ci-stable"
---> Running in 0538a0e9e63f
Removing intermediate container 0538a0e9e63f
---> b49fb174da2b
Step 6/23 : LABEL org.opencontainers.image.description="Docker container image used to lint, build and test Go code. Based on the latest version of the current stable golang image."
---> Running in c7a4220c6932
Removing intermediate container c7a4220c6932
---> 642eb238f4f8
Step 7/23 : LABEL org.opencontainers.image.authors="Adam Chalkley (github.com/atc0005)"
---> Running in 50d8fa3b3848
Removing intermediate container 50d8fa3b3848
---> 3277b80375ad
Step 8/23 : ENV GOLANGCI_LINT_VERSION="v1.53.2"
---> Running in 29a733894047
Removing intermediate container 29a733894047
---> 885f3570dbee
Step 9/23 : ENV STATICCHECK_VERSION="v0.4.3"
---> Running in 59a69dd0228b
Removing intermediate container 59a69dd0228b
---> 9268f8b6253b
Step 10/23 : ENV GOVULNCHECK_VERSION="v0.1.0"
---> Running in 2735c38885e6
Removing intermediate container 2735c38885e6
---> 2d90a993cd51
Step 11/23 : ENV HTTPERRORYZER_VERSION="v0.0.1"
---> Running in 1d3b757b8ed1
Removing intermediate container 1d3b757b8ed1
---> 81a23e31342a
Step 12/23 : ENV STRUCTSLOP_VERSION="v0.0.8"
---> Running in 6a3a86645b77
Removing intermediate container 6a3a86645b77
---> 0dbbcdb4659a
Step 13/23 : ENV TICKERYZER_VERSION="v0.0.3"
---> Running in 1f7792f11140
Removing intermediate container 1f7792f11140
---> 4908951cf98f
Step 14/23 : ENV TOMLL_VERSION="v2.0.8"
---> Running in 549a8f1281f3
Removing intermediate container 549a8f1281f3
---> cf7e8a93f187
Step 15/23 : ENV ERRWRAP_VERSION="v1.5.0"
---> Running in 974dbaafdcea
Removing intermediate container 974dbaafdcea
---> 4de876e304c8
Step 16/23 : ENV APT_BSDMAINUTILS_VERSION="12.1.7+nmu3"
---> Running in 620f94c193d7
Removing intermediate container 620f94c193d7
---> 0b60a91d743b
Step 17/23 : ENV APT_TREE_VERSION="1.8.0-1+b1"
---> Running in 015ac6707010
Removing intermediate container 015ac6707010
---> 581ddd9237a1
Step 18/23 : RUN apt-get update && apt-get install -y --no-install-recommends bsdmainutils=${APT_BSDMAINUTILS_VERSION} tree=${APT_TREE_VERSION} && apt-get clean && rm -rf /var/lib/apt/lists/* && echo "Installing staticcheck@${STATICCHECK_VERSION}" && go install honnef.co/go/tools/cmd/staticcheck@${STATICCHECK_VERSION} && staticcheck --version && echo "Installing govulncheck@${GOVULNCHECK_VERSION}" && go install golang.org/x/vuln/cmd/govulncheck@${GOVULNCHECK_VERSION} && echo "Installing golangci-lint ${GOLANGCI_LINT_VERSION}" && curl -sSfLO https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh && sh install.sh -b "$(go env GOPATH)/bin" ${GOLANGCI_LINT_VERSION} && golangci-lint --version && echo "Installing httperroryzer@${HTTPERRORYZER_VERSION}" && go install github.com/orijtech/httperroryzer/cmd/httperroryzer@${HTTPERRORYZER_VERSION} && echo "Installing structslop@${STRUCTSLOP_VERSION}" && go install github.com/orijtech/structslop/cmd/structslop@${STRUCTSLOP_VERSION} && echo "Installing tickeryzer@${TICKERYZER_VERSION}" && go install github.com/orijtech/tickeryzer/cmd/tickeryzer@${TICKERYZER_VERSION} && echo "Installing tomll@${TOMLL_VERSION}" && go install github.com/pelletier/go-toml/v2/cmd/tomll@${TOMLL_VERSION} && echo "Installing errwrap@${ERRWRAP_VERSION}" && go install github.com/fatih/errwrap@${ERRWRAP_VERSION} && go clean -cache -modcache
---> Running in 7c13f3f4945c
Get:1 http://deb.debian.org/debian bookworm InRelease [147 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8904 kB]
Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [24.2 kB]
Fetched 9176 kB in 1s (6134 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Package bsdmainutils is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
vacation bsdextrautils ncal calendar
Package tree is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
manpages-fr
E: Version '12.1.7+nmu3' for 'bsdmainutils' was not found
E: Version '1.8.0-1+b1' for 'tree' was not found
The command '/bin/sh -c apt-get update && apt-get install -y --no-install-recommends bsdmainutils=${APT_BSDMAINUTILS_VERSION} tree=${APT_TREE_VERSION} && apt-get clean && rm -rf /var/lib/apt/lists/* && echo "Installing staticcheck@${STATICCHECK_VERSION}" && go install honnef.co/go/tools/cmd/staticcheck@${STATICCHECK_VERSION} && staticcheck --version && echo "Installing govulncheck@${GOVULNCHECK_VERSION}" && go install golang.org/x/vuln/cmd/govulncheck@${GOVULNCHECK_VERSION} && echo "Installing golangci-lint ${GOLANGCI_LINT_VERSION}" && curl -sSfLO https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh && sh install.sh -b "$(go env GOPATH)/bin" ${GOLANGCI_LINT_VERSION} && golangci-lint --version && echo "Installing httperroryzer@${HTTPERRORYZER_VERSION}" && go install github.com/orijtech/httperroryzer/cmd/httperroryzer@${HTTPERRORYZER_VERSION} && echo "Installing structslop@${STRUCTSLOP_VERSION}" && go install github.com/orijtech/structslop/cmd/structslop@${STRUCTSLOP_VERSION} && echo "Installing tickeryzer@${TICKERYZER_VERSION}" && go install github.com/orijtech/tickeryzer/cmd/tickeryzer@${TICKERYZER_VERSION} && echo "Installing tomll@${TOMLL_VERSION}" && go install github.com/pelletier/go-toml/v2/cmd/tomll@${TOMLL_VERSION} && echo "Installing errwrap@${ERRWRAP_VERSION}" && go install github.com/fatih/errwrap@${ERRWRAP_VERSION} && go clean -cache -modcache' returned a non-zero code: 100
make: *** [Makefile:143: build-stable] Error 100
The text was updated successfully, but these errors were encountered:
The Debian images that the golang images are built from are now based on Debian 12 instead of Debian 11 as before. This means that all pinned dependencies for those images no longer resolve to available packages.
I'll need to update those pinned dependency versions in order to refresh Debian-based images.
Example output from failed build attempts:
The text was updated successfully, but these errors were encountered: