-
-
Save foxx/0c4f02de6e3906fa1c98 to your computer and use it in GitHub Desktop.
Code snippet for docker post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This will not work | |
RUN sudo su - app -c "curl https://raw.githubusercontent.com/creationix/nvm/v0.17.3/install.sh | bash" | |
# This will work | |
RUN sudo su - app -c "curl https://raw.githubusercontent.com/creationix/nvm/v0.17.3/install.sh | HOME=/home/app bash" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment