Stop copying extra qemu files
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b11d6f6d88
commit
6ac78cbe89
@ -1,10 +1,14 @@
|
|||||||
ARG REPO=library
|
ARG REPO=library
|
||||||
|
|
||||||
FROM multiarch/qemu-user-static:4.1.0-1 as qemu-user-static
|
FROM multiarch/qemu-user-static:4.1.0-1 as qemu-user-static
|
||||||
|
# Make sure a dummy x86_64 file exists so that the copy command doesn't error
|
||||||
|
RUN touch /usr/bin/qemu-x86_64-fake
|
||||||
|
|
||||||
FROM ${REPO}/python:3-alpine
|
FROM ${REPO}/python:3-alpine
|
||||||
|
|
||||||
# TODO: Copy from docker hub image
|
# Copy mutliarch file to run builds on x86_64
|
||||||
ARG ARCH=x86_64
|
ARG ARCH=x86_64
|
||||||
COPY --from=qemu-user-static /usr/bin/qemu-* /usr/bin/
|
COPY --from=qemu-user-static /usr/bin/qemu-${ARCH}-* /usr/bin/
|
||||||
|
|
||||||
RUN mkdir -p /src
|
RUN mkdir -p /src
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
Loading…
Reference in New Issue
Block a user