File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
.github/scripts/s390x-ci/self-hosted-builder Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,13 +51,13 @@ COPY fs/ /
5151RUN chmod +x /usr/bin/actions-runner /usr/bin/entrypoint
5252
5353# Install Go (v1.21.1) for ppc64le
54- RUN cd /usr/local/
54+
5555RUN curl -LO https://golang.org/dl/go1.21.1.linux-ppc64le.tar.gz && \
5656 echo "eddf018206f8a5589bda75252b72716d26611efebabdca5d0083ec15e9e41ab7 go1.21.1.linux-ppc64le.tar.gz" | sha256sum -c - && \
57- tar -xzvf go1.21.1.linux-ppc64le.tar.gz && \
57+ tar --strip-components=1 -C /usr/local -xzf go1.21.1.linux-ppc64le.tar.gz && \
5858 rm go1.21.1.linux-ppc64le.tar.gz && \
59- go version && \
60- ln -s go/bin/go /usr/bin/go
59+ /usr/local/go/bin/ go version && \
60+ ln -s /usr/local/ go/bin/go /usr/bin/go
6161
6262ENV PATH="/usr/local/go/bin:${PATH}"
6363RUN go version
You can’t perform that action at this time.
0 commit comments