Skip to content

Commit 4ff1e86

Browse files
authored
Update Dockerfile
1 parent 8837f7f commit 4ff1e86

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

ubuntu-20-dev/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ USER dev
6666

6767
WORKDIR /home/dev
6868

69-
RUN echo export DOCKER_HOST=unix:///run/user/$user_id/podman/podman.sock >>/home/$user_name/.bashrc
70-
7169
RUN echo '/home/dev/.ssh/id_rsa' | ssh-keygen -t rsa -b 2048 -C "${USER_EMAIL}"
7270
RUN git config --global user.email ${USER_EMAIL}
7371
RUN git config --global user.name "${USER_NAME}"
@@ -94,4 +92,5 @@ RUN set -ex \
9492
&& tar xzf cmake-${CMAKE_VERSION}-Linux-x86_64.tar.gz -C /home/dev/cmake --strip-components=1 \
9593
&& rm -rf cmake-${CMAKE_VERSION}*
9694

97-
RUN echo 'export PATH=/home/dev/bin:/home/dev/cmake/bin:$PATH' >> /home/dev/.bashrc
95+
RUN echo 'export DOCKER_HOST=unix:///run/user/$user_id/podman/podman.sock' >> /home/$USER_NAME/.bashrc
96+
RUN echo 'export PATH=/home/dev/bin:/home/dev/cmake/bin:$PATH' >> /home/$USER_NAME/.bashrc

0 commit comments

Comments
 (0)