Skip to content

Commit 820ffee

Browse files
committed
fix
1 parent c1e48f7 commit 820ffee

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

static-builder-gnu.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ ARG NO_COMPRESS=''
2323

2424
# go version
2525
ENV GOTOOLCHAIN=local
26+
ENV GO_VERSION=1.24.1
2627

2728
# labels, same as static-builder.Dockerfile
2829
LABEL org.opencontainers.image.title=FrankenPHP
@@ -94,10 +95,9 @@ RUN yum install -y \
9495
else \
9596
GO_ARCH="amd64" ; \
9697
fi ; \
97-
curl -o jq -fsSL https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux-${GO_ARCH} && \
98+
curl -o /usr/local/bin/jq -fsSL https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux-${GO_ARCH} && \
9899
chmod +x jq && \
99-
mv jq /usr/local/bin/jq && \
100-
curl -LO https://get.golang.org/$(uname)/go_installer && chmod +x go_installer && ./go_installer && rm go_installer && \
100+
curl -o go.tgz -fsSL https://go.dev/dl/go${GO_VERSION}.linux-${GO_ARCH}.tar.gz &&
101101
rm -rf /usr/local/go && \
102102
tar -C /usr/local -xzf go.tgz && \
103103
rm go.tgz && \

0 commit comments

Comments
 (0)