345:adf85e364e01
Anton Shestakov <av6@dwimlabs.net>, Sun, 12 Apr 2020 23:51:56 +0800
checker: use env -S to pass an argument to interpreter

previous change 342:ef5986aad0ff

check-in-docker.sh

Permissions: -rwxr-xr-x

Other formats: Feeds:
#!/bin/sh
set -eu
(
cat dockerfiles/ubuntu-bionic
echo 'WORKDIR /mnt'
) | docker build --tag candolint-checker - 1>&2
docker run --rm -u worker -v "$PWD":/mnt:ro candolint-checker \
python -u checker.py "$@" 2>&1