Skip to content

Commit 6a8cb8d

Browse files
committed
feat: upgrade toolchain to v0.1.9
upgrades base image to ubuntu:noble Signed-off-by: Artur Troian <[email protected]>
1 parent 86697bc commit 6a8cb8d

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GO_VERSION=1.25.0
2-
TOOLCHAINS_VERSION=v0.1.8
2+
TOOLCHAINS_VERSION=v0.1.9
33
GIT_CHGLOG_VERSION=v0.15.0
44
GORELEASER_VERSION=2.11.2
55
OSX_SDK=MacOSX12.0.sdk

Dockerfile.base

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG TOOLCHAINS_TAG=v0.1.8
1+
ARG TOOLCHAINS_TAG=v0.1.9
22

33
FROM ghcr.io/goreleaser/goreleaser-cross-toolchains:${TOOLCHAINS_TAG}
44

@@ -12,21 +12,23 @@ ARG TARGETARCH
1212
ARG COSIGN_VERSION
1313

1414
COPY entrypoint.sh /
15+
COPY docker.sources /
16+
17+
# && sed -ri "s/(httpredir|deb).debian.org/${APT_MIRROR:-deb.debian.org}/g" /etc/apt/sources.list \
18+
# && sed -ri "s/(security).debian.org/${APT_MIRROR:-security.debian.org}/g" /etc/apt/sources.list \
19+
# && sed -ri "s/^deb /deb [arch=$TARGETARCH] /" /etc/apt/sources.list \
1520

1621
# Install deps
1722
RUN \
1823
echo "Starting image build for Debian" \
19-
&& sed -ri "s/(httpredir|deb).debian.org/${APT_MIRROR:-deb.debian.org}/g" /etc/apt/sources.list \
20-
&& sed -ri "s/(security).debian.org/${APT_MIRROR:-security.debian.org}/g" /etc/apt/sources.list \
21-
&& sed -ri "s/^deb /deb [arch=$TARGETARCH] /" /etc/apt/sources.list \
2224
&& apt-get update \
2325
&& apt-get install --no-install-recommends -y -q \
2426
software-properties-common \
2527
curl \
2628
gnupg2 \
2729
openssh-client \
28-
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add - \
29-
&& echo "deb [arch=$TARGETARCH] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list \
30+
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg \
31+
&& cp /docker.sources /etc/apt/sources.list.d/docker.sources \
3032
&& apt-get update \
3133
&& apt-get install --no-install-recommends -y -q \
3234
docker-ce \

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ base-%:
5252
--build-arg TINI_VERSION=$(TINI_VERSION) \
5353
--build-arg COSIGN_VERSION=$(COSIGN_VERSION) \
5454
--build-arg DEBIAN_FRONTEND=$(DEBIAN_FRONTEND) \
55-
--build-arg TOOLCHAINS_TAG="$(TOOLCHAINS_VERSION)-$*" \
55+
--build-arg TOOLCHAINS_TAG="$(TOOLCHAINS_VERSION)" \
5656
. -f Dockerfile.base
5757

5858
.PHONY: goreleaser-%

docker.sources

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Types: deb
2+
Architectures: arm64,amd64
3+
URIs: https://download.docker.com/linux/ubuntu
4+
Suites: noble
5+
Components: stable
6+
Signed-By: /etc/apt/keyrings/docker.gpg

0 commit comments

Comments
 (0)