Last active
December 31, 2017 15:09
-
-
Save tcoupin/576012b01836e1a6d237ef1886b80294 to your computer and use it in GitHub Desktop.
Build arm image based on official images
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --rm --privileged multiarch/qemu-user-static:register | |
docker build -t tcoupin/newimagearm . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:stretch AS qemuprovider | |
RUN apt-get update && apt-get install -y qemu-user-static | |
# Et maintenant le contenu utile | |
FROM arm32v7/debian:stretch | |
COPY --from=qemuprovider /usr/bin/qemu* /usr/bin | |
RUN ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment