Created
February 15, 2020 07:15
-
-
Save v-thomp4/a14134fc7ee098551477758a27e8c7a2 to your computer and use it in GitHub Desktop.
set PATH & LD_LIBRARY_PATH env variable for ssh login session
This file contains hidden or 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
# # set PATH & LD_LIBRARY_PATH env variable for ssh login session | |
# # Env variable cannot be passed to container - General Discussions - Docker Forums | |
# # https://forums.docker.com/t/env-variable-cannot-be-passed-to-container/5298/6 | |
# RUN echo 'export PATH=/usr/local/nvidia/bin:$PATH' >> /etc/profile.d/nvidia.sh && \ | |
# echo 'export LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64:$LD_LIBRARY_PATH' >> /etc/profile.d/nvidia.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment