multiarch-pipeline-test/Dockerfile
Ian Fijolek ec9a12a983
Some checks failed
continuous-integration/drone/push Build is failing
Add some documentation
2019-06-04 17:28:26 -07:00

16 lines
438 B
Docker

# First build arg is to ensure pulling the image from the correct repository
# The following will work with any library image that supports multi-arch
# Other repositories may use tag suffix instead
ARG REPO=library
FROM ${REPO}/python:3-alpine
# This should be the target qemu arch
ARG ARCH=x86_64
COPY ./build/qemu-${ARCH}-static /usr/bin/
# Everything below here is just a simple example
RUN echo "OK" > /foo
CMD [ "cat", "/foo" ]