We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc220e6 commit 7be85c0Copy full SHA for 7be85c0
1 file changed
Dockerfile.build
@@ -1,7 +1,14 @@
1
-FROM --platform=linux/amd64 docker.io/golang:1.22.2
+FROM --platform=linux/amd64 debian:buster-slim
2
3
# Build tools
4
-RUN apt-get update && apt-get install -y zip autoconf autopoint libtool
+RUN sed -i 's/deb.debian.org/archive.debian.org/' /etc/apt/sources.list && \
5
+ apt-get update && apt-get install -y wget curl git zip gcc g++ make autoconf autopoint pkg-config libtool
6
+
7
+# Install golang
8
+RUN wget https://go.dev/dl/go1.25.5.linux-amd64.tar.gz && \
9
+ tar -C /usr/local -xzf go1.25.5.linux-amd64.tar.gz && \
10
+ rm go1.25.5.linux-amd64.tar.gz
11
+ENV PATH="/usr/local/go/bin:$PATH"
12
13
# Install toolchain
14
ARG TARGET
0 commit comments