mirror of
https://github.com/ViViDboarder/docker-duplicity-cron.git
synced 2024-11-22 12:46:30 +00:00
Add qemu binaries inside image
This commit is contained in:
parent
d606625746
commit
1c169dbd9d
@ -3,5 +3,4 @@ sudo: required
|
|||||||
services: docker
|
services: docker
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make test-amd64
|
- make all
|
||||||
- make test-s3-amd64
|
|
||||||
|
@ -2,6 +2,9 @@ ARG REPO=library
|
|||||||
FROM ${REPO}/ubuntu:xenial
|
FROM ${REPO}/ubuntu:xenial
|
||||||
LABEL maintainer="ViViDboarder <vividboarder@gmail.com>"
|
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 \
|
RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
software-properties-common python-software-properties \
|
software-properties-common python-software-properties \
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
|
Loading…
Reference in New Issue
Block a user