mirror of
https://github.com/ViViDboarder/docker-duplicity-cron.git
synced 2024-12-22 19:57:43 +00:00
Add qemu binaries inside image
This commit is contained in:
parent
d606625746
commit
1c169dbd9d
@ -3,5 +3,4 @@ sudo: required
|
||||
services: docker
|
||||
|
||||
script:
|
||||
- make test-amd64
|
||||
- make test-s3-amd64
|
||||
- make all
|
||||
|
@ -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 \
|
||||
|
@ -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