summaryrefslogtreecommitdiff
path: root/ci/run-docker.sh
diff options
context:
space:
mode:
authorMarco A L Barbosa <malbarbo@gmail.com>2017-02-23 16:08:29 -0300
committerMarco A L Barbosa <malbarbo@gmail.com>2017-02-23 16:08:29 -0300
commit599eec37814e85253923fc3d66703ebd9e7ce650 (patch)
tree8f93394c244e49cff9891225a831234e13c13104 /ci/run-docker.sh
parent16832447b402c0e6801877ff2ec044993c1862eb (diff)
downloadrust-libc-599eec37814e85253923fc3d66703ebd9e7ce650.tar.gz
Add test support for {aarch64, i686}-linux-android
Diffstat (limited to 'ci/run-docker.sh')
-rw-r--r--ci/run-docker.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/ci/run-docker.sh b/ci/run-docker.sh
index a7702ae1dc..1ac419a349 100644
--- a/ci/run-docker.sh
+++ b/ci/run-docker.sh
@@ -5,7 +5,8 @@ set -ex
run() {
echo $1
- docker build -t libc ci/docker/$1
+ # use -f so we can use ci/ as build context
+ docker build -t libc -f ci/docker/$1/Dockerfile ci/
mkdir -p target
docker run \
--user `id -u`:`id -g` \