mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-03-27 02:37:06 +01:00
try to run curator build in a docker pty
may be write output for quicker logging perhaps
This commit is contained in:
parent
ba119f8265
commit
67b756b1f4
@ -153,7 +153,7 @@ esac
|
|||||||
# Now do the actual build. We need to first set the owner of the home directory
|
# Now do the actual build. We need to first set the owner of the home directory
|
||||||
# correctly, so we run the command as root, change owner, and then use sudo to
|
# correctly, so we run the command as root, change owner, and then use sudo to
|
||||||
# switch back to the current user
|
# switch back to the current user
|
||||||
docker run $ARGS_BUILD $IMAGE nice -n 15 /bin/bash -c "
|
docker run -t $ARGS_BUILD $IMAGE nice -n 15 /bin/bash -c "
|
||||||
chown $USER $HOME
|
chown $USER $HOME
|
||||||
exec sudo -E -u $USER env \"HOME=$HOME\" \"PATH=\$PATH\" curator build --jobs $JOBS
|
exec sudo -E -u $USER env \"HOME=$HOME\" \"PATH=\$PATH\" curator build --jobs $JOBS
|
||||||
"
|
"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user