Skip to content

Commit b05e058

Browse files
committed
Download Docker images first as that seems to work better at least locally
1 parent 75071fe commit b05e058

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ci/run-docker.sh

+8
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ set -ex
77

88
run() {
99
echo "Building docker container for target ${1}"
10+
11+
# FIXME: Hacky workaround. Docker build seems to work better if we pull the base images first
12+
ubuntu_images=( 16.04 17.10 18.04 )
13+
for i in "${ubuntu_images[@]}"
14+
do
15+
docker pull ubuntu:$i
16+
done
17+
1018
# use -f so we can use ci/ as build context
1119
docker build -t libc -f "ci/docker/${1}/Dockerfile" ci/
1220
mkdir -p target

0 commit comments

Comments
 (0)