Add qemu binaries inside image

This commit is contained in:
ViViDboarder 2020-02-12 09:24:22 -08:00
parent d606625746
commit 1c169dbd9d
3 changed files with 4 additions and 6 deletions

View File

@ -3,5 +3,4 @@ sudo: required
services: docker
script:
- make test-amd64
- make test-s3-amd64
- make all

View File

@ -2,6 +2,9 @@ ARG REPO=library
FROM ${REPO}/ubuntu:xenial
LABEL maintainer="ViViDboarder <vividboarder@gmail.com>"
# Allow building/running non-amd64 images from amd64
COPY --from=multiarch/qemu-user-static:4.1.0-1 /usr/bin/qemu-* /usr/bin/
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
software-properties-common python-software-properties \

View File

@ -1,4 +0,0 @@
#!/bin/bash
set -ex
docker run --rm --privileged multiarch/qemu-user-static:register --reset