Skip to content

Instantly share code, notes, and snippets.

@chiehpower
Last active November 15, 2021 07:01
Show Gist options
  • Save chiehpower/269ede1966e589e23c33a52f2cb0809c to your computer and use it in GitHub Desktop.
Save chiehpower/269ede1966e589e23c33a52f2cb0809c to your computer and use it in GitHub Desktop.
The question is "When we use the ENV instruction in the dockerfile, can we can keep it in the environment after the container is built?"
FROM nvcr.io/nvidia/tensorrt:20.03-py3
ENV TEST_PAR=TEST_dockerfile_env
@chiehpower
Copy link
Author

for arm device

sudo sed -i'' 's/ports\.ubuntu\.com\/ubuntu-ports/free\.nchc\.org\.tw\/ubuntu-ports/' /etc/apt/sources.list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment