File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ ARG NO_COMPRESS=''
2323
2424# go version
2525ENV GOTOOLCHAIN=local
26+ ENV GO_VERSION=1.24.1
2627
2728# labels, same as static-builder.Dockerfile
2829LABEL 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 && \
You can’t perform that action at this time.
0 commit comments