Download:
child 138:0e226445b215
parent 136:9576736033f6
137:51ea3bbb687a
Anton Shestakov <av6@dwimlabs.net>, Wed, 13 Jul 2016 16:34:30 +0800
checker: pass arguments reliably straight to python -u

1 файлов изменено, 2 вставок(+), 1 удалений(-) [+]
check-in-docker.sh file | annotate | diff | comparison | revisions
--- a/check-in-docker.sh Wed Jul 13 16:34:08 2016 +0800
+++ b/check-in-docker.sh Wed Jul 13 16:34:30 2016 +0800
@@ -3,7 +3,8 @@
(
cat dockerfiles/ubuntu-xenial
+ echo 'WORKDIR /mnt'
) | docker build --tag candolint-checker - > /dev/null
docker run --rm -u worker -v "$PWD":/mnt:ro candolint-checker \
- sh -c "cd /mnt && python -u checker.py $@ 2>&1"
+ python -u checker.py "$@" 2>&1