[DEPRECATED, use docker as replacement] Scripts to generate Ubuntu and Debian docker images or chroot environments, i.e. used for building packages for these environments.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
781 B
16 lines
781 B
9 years ago
|
#! /bin/bash -ex
|
||
|
|
||
|
# build and test everything in a fresh docker installation
|
||
|
|
||
|
DOCKER_ID=$(docker run -d -v $(pwd):/workdir -w /workdir ubuntu sleep infinity)
|
||
|
trap "docker rm -f ${DOCKER_ID}" INT TERM EXIT
|
||
|
docker exec ${DOCKER_ID} apt-get install -y software-properties-common apt-transport-https dpkg-dev
|
||
|
docker exec ${DOCKER_ID} apt-add-repository universe
|
||
|
docker exec ${DOCKER_ID} apt-add-repository https://dev.marc.waeckerlin.org/repository
|
||
|
wget -O- https://dev.marc.waeckerlin.org/repository/PublicKey \
|
||
|
| docker exec -i ${DOCKER_ID} apt-key add -
|
||
|
docker exec ${DOCKER_ID} apt-get update
|
||
|
docker exec ${DOCKER_ID} ./resolve-debbuilddeps.sh
|
||
|
docker exec -u $(id -u) ${DOCKER_ID} svn upgrade || true
|
||
|
docker exec -u $(id -u) ${DOCKER_ID} ./bootstrap.sh -t "all check distcheck"
|