Skip to content

Commit d9934ad

Browse files
added amd64 image in dockerfile
1 parent 0838cdc commit d9934ad

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ RUN apt-get update && apt-get install -y \
5656
virtualenv && \
5757
apt-get clean && rm -rf /var/lib/apt/lists/*
5858

59+
# amd64 dependencies.
60+
COPY --from=ld-prefix / /usr/x86_64-linux-gnu/
61+
RUN ln -fs ../lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 /usr/x86_64-linux-gnu/lib64/
62+
RUN ln -fs /etc/resolv.conf /usr/x86_64-linux-gnu/etc/
63+
ENV QEMU_LD_PREFIX=/usr/x86_64-linux-gnu
64+
5965
# Set up Python virtual environment
6066
RUN virtualenv --system-site-packages venv
6167

0 commit comments

Comments
 (0)