BAEL-5477 code for the Updating PATH variable in Dockerfile article
This commit is contained in:
parent
2842e5cee7
commit
add52ad932
|
@ -0,0 +1,5 @@
|
|||
FROM ubuntu:latest
|
||||
RUN echo $PATH
|
||||
RUN echo "export PATH=$PATH:/etc/profile" >> ~/.bashrc
|
||||
RUN cat ~/.bashrc
|
||||
RUN echo $PATH
|
|
@ -0,0 +1,4 @@
|
|||
FROM ubuntu:latest
|
||||
RUN echo $PATH
|
||||
ENV PATH="$PATH:/etc/profile"
|
||||
RUN echo $PATH
|
|
@ -0,0 +1,4 @@
|
|||
FROM ubuntu:latest
|
||||
RUN echo $PATH
|
||||
RUN export PATH="$PATH:/etc/profile"; echo $PATH
|
||||
RUN echo $PATH
|
Loading…
Reference in New Issue