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

Commit df382b2

Browse files
committed
sas-creator requires mounting stuff and setting xattrs
1 parent 886cab9 commit df382b2

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

cloud/docker.sh

+11-2
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,12 @@ name="phh-treble-$suffix"
3434

3535
echo "Running build on $name"
3636

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

3939
docker exec "$name" echo "Good morning, now building"
40+
41+
run_script 'for i in $(seq 0 24);do mknod /dev/loop$i b 7 $i;done'
42+
4043
run_script 'export DEBIAN_FRONTEND=noninteractive && dpkg --add-architecture i386 && \
4144
apt-get update && \
4245
(yes "" | apt-get install -y -o DPkg::options::="--force-confdef" -o DPkg::options::="--force-confold" \
@@ -67,7 +70,13 @@ run_script 'export DEBIAN_FRONTEND=noninteractive && dpkg --add-architecture i38
6770
python-pip \
6871
python3-pip \
6972
git \
70-
wget )'
73+
wget \
74+
)'
75+
76+
run_script '
77+
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 && \
78+
dpkg -i xattr_0.9.6-1.1_amd64.deb python3-xattr_0.9.6-1.1_amd64.deb
79+
'
7180

7281
run_script '
7382
git config --global user.name "Pierre-Hugues Husson" && \

0 commit comments

Comments
 (0)