Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

Commit

Permalink
sas-creator requires mounting stuff and setting xattrs
Browse files Browse the repository at this point in the history
  • Loading branch information
phhusson committed Sep 27, 2020
1 parent 886cab9 commit df382b2
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions cloud/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,12 @@ name="phh-treble-$suffix"

echo "Running build on $name"

docker run --name "$name" --rm -d ubuntu:18.04 sleep infinity
docker run --privileged --name "$name" --rm -d ubuntu:18.04 sleep infinity

docker exec "$name" echo "Good morning, now building"

run_script 'for i in $(seq 0 24);do mknod /dev/loop$i b 7 $i;done'

run_script 'export DEBIAN_FRONTEND=noninteractive && dpkg --add-architecture i386 && \
apt-get update && \
(yes "" | apt-get install -y -o DPkg::options::="--force-confdef" -o DPkg::options::="--force-confold" \
Expand Down Expand Up @@ -67,7 +70,13 @@ run_script 'export DEBIAN_FRONTEND=noninteractive && dpkg --add-architecture i38
python-pip \
python3-pip \
git \
wget )'
wget \
)'

run_script '
wget http://fr.archive.ubuntu.com/ubuntu/pool/main/p/python-xattr/python3-xattr_0.9.6-1.1_amd64.deb http://fr.archive.ubuntu.com/ubuntu/pool/universe/p/python-xattr/xattr_0.9.6-1.1_amd64.deb && \
dpkg -i xattr_0.9.6-1.1_amd64.deb python3-xattr_0.9.6-1.1_amd64.deb
'

run_script '
git config --global user.name "Pierre-Hugues Husson" && \
Expand Down

0 comments on commit df382b2

Please sign in to comment.