File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -349,9 +349,10 @@ function patchOTAs() {
349349 # We need to add .tmp to PATH, but we can't use $PATH: because this would be the PATH of the host not the container
350350 # Python image is designed to run as root, so chown the files it creates back at the end
351351 # ... room for improvement 😐️
352- docker run --rm -v " $PWD :/app" -w /app \
352+ # shellcheck disable=SC2046
353+ docker run --rm -i $( tty & > /dev/null && echo ' -t' ) -v " $PWD :/app" -w /app \
353354 -e PATH=' /bin:/usr/local/bin:/sbin:/usr/bin/:/app/.tmp' \
354- -e PASSPHRASE_AVB= " $PASSPHRASE_AVB " -e PASSPHRASE_OTA= " $PASSPHRASE_OTA " \
355+ --env-file <( env ) \
355356 python:${PYTHON_VERSION} sh -c \
356357 " apk add openssh && \
357358 pip install -r .tmp/my-avbroot-setup/requirements.txt && \
You can’t perform that action at this time.
0 commit comments