-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.all.dockers.sh
More file actions
executable file
·19 lines (12 loc) · 1.29 KB
/
Copy pathbuild.all.dockers.sh
File metadata and controls
executable file
·19 lines (12 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
TRAVIS_BUILD_DIR=`pwd`
DOCKER_BUILD_DIR=/home/travis
docker run --user $(id -u):$(id -g) -v ${TRAVIS_BUILD_DIR}:${DOCKER_BUILD_DIR} -w ${DOCKER_BUILD_DIR} thijswithaar/debian:sid ${DOCKER_BUILD_DIR}/build.sh build.debian
docker run --user $(id -u):$(id -g) -v ${TRAVIS_BUILD_DIR}:${DOCKER_BUILD_DIR} -w ${DOCKER_BUILD_DIR} thijswithaar/ubuntu:devel ${DOCKER_BUILD_DIR}/build.sh build.ubuntu
docker run --user $(id -u):$(id -g) -v ${TRAVIS_BUILD_DIR}:${DOCKER_BUILD_DIR} -w ${DOCKER_BUILD_DIR} thijswithaar/fedora:rawhide ${DOCKER_BUILD_DIR}/build.sh build.fedora
docker run --user $(id -u):$(id -g) -v ${TRAVIS_BUILD_DIR}:${DOCKER_BUILD_DIR} -w ${DOCKER_BUILD_DIR} thijswithaar/arch:latest ${DOCKER_BUILD_DIR}/build.sh build.arch
docker run --user $(id -u):$(id -g) -v ${TRAVIS_BUILD_DIR}:${DOCKER_BUILD_DIR} -w ${DOCKER_BUILD_DIR} thijswithaar/suse:tumbleweed ${DOCKER_BUILD_DIR}/build.sh build.suse
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker run --user $(id -u):$(id -g) -v ${TRAVIS_BUILD_DIR}:${DOCKER_BUILD_DIR} -w ${DOCKER_BUILD_DIR} thijswithaar/raspbian:sid ${DOCKER_BUILD_DIR}/build.sh build.raspbian
# Interactive
#docker run -it --user $(id -u):$(id -g) -v ${TRAVIS_BUILD_DIR}:${DOCKER_BUILD_DIR} -w ${DOCKER_BUILD_DIR} thijswithaar/suse:tumbleweed /bin/bash