Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

dockerfile permanent env

RUN echo "export PATH=/new/path:${PATH}" >> /root/.bashrc

or

ENV PATH "$PATH:/new/path"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dockerfile #permanent #env
ADD COMMENT
Topic
Name
8+3 =