Skip to content

Commit 56cf86b

Browse files
authored
Merge pull request #153 from google/gogasca-golang
Update Dockerfile
2 parents 4c6aeb4 + d7607be commit 56cf86b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

agent/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ ADD ./ /opt/src/github.com/google/inverting-proxy
2626
WORKDIR /opt/src/github.com/google/inverting-proxy
2727

2828

29-
RUN curl -o /opt/go1.21.11.linux-amd64.tar.gz \
30-
https://storage.googleapis.com/golang/go1.21.11.linux-amd64.tar.gz && \
31-
tar -C /usr/local -xzf /opt/go1.21.11.linux-amd64.tar.gz && \
29+
RUN curl -o /opt/go1.24.5.linux-amd64.tar.gz \
30+
https://storage.googleapis.com/golang/go1.24.5.linux-amd64.tar.gz && \
31+
tar -C /usr/local -xzf /opt/go1.24.5.linux-amd64.tar.gz && \
3232
export PATH=${PATH}:/usr/local/go/bin/:/opt/bin/ && \
3333
export GOPATH=/opt/ && \
3434
echo "Building Proxy Agent" && \
3535
go build -o ${GOPATH}/bin/proxy-forwarding-agent /opt/src/github.com/google/inverting-proxy/agent/agent.go && \
3636
echo "Clean up go files and preserve License" && \
37-
rm -rf /opt/go1.21.11.linux-amd64.tar.gz && \
37+
rm -rf /opt/go1.24.5.linux-amd64.tar.gz && \
3838
find /usr/local/go/ -mindepth 1 ! -name 'LICENSE' -exec rm -rf {} + || true
3939

4040
ENV DEBUG "false"

0 commit comments

Comments
 (0)