You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line 10 contains "souce" instead of "source" in echo statement.
#!/usr/bin/env bash
### every exit != 0 fails the script
set -e
echo "$bitsass Install nss-wrapper to be able to execute image as non-root user"
apt-get update
apt-get install -y libnss-wrapper gettext
apt-get clean -y
echo "add 'souce generate_container_user' to .bashrc"
# have to be added to hold all env vars correctly
echo 'source $STARTUPDIR/generate_container_user' >> $HOME/.bashrc
The text was updated successfully, but these errors were encountered:
Another interesting item is that generate_container_user is called and yet this seems to be a logic error. The Dockerfile stanza adding generate_container_user is executed AFTER this script is run.
@mikegwhit thx for the hint. I fixed the typo. yeah the script generate_contaienr_user will run at the container startup, so you able to specify the USER var/id at run time like docker run -u 1000 ... will do
Line 10 contains "souce" instead of "source" in echo statement.
The text was updated successfully, but these errors were encountered: