Skip to content

Commit 9847bd6

Browse files
build script comment manylinux check
1 parent 36548ba commit 9847bd6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/scripts/s390x-ci/self-hosted-builder/actions-runner.Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ COPY fs/ /
5151
RUN chmod +x /usr/bin/actions-runner /usr/bin/entrypoint
5252

5353
# Install Go (v1.21.1) for ppc64le
54-
RUN cd /usr/local/
54+
5555
RUN 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

6262
ENV PATH="/usr/local/go/bin:${PATH}"
6363
RUN go version

0 commit comments

Comments
 (0)