We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b05e058 commit 9a04c39Copy full SHA for 9a04c39
ci/run-docker.sh
@@ -9,11 +9,10 @@ run() {
9
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
+ # Not using arrays/loops because it's not POSIX sh compatible
+ docker pull ubuntu:16.04
+ docker pull ubuntu:17.10
+ docker pull ubuntu:18.04
17
18
# use -f so we can use ci/ as build context
19
docker build -t libc -f "ci/docker/${1}/Dockerfile" ci/
0 commit comments