Skip to content

Commit

Permalink
change username
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Arkenau committed Sep 19, 2023
1 parent ee1e258 commit 41207b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# initialize rosdep database
RUN rosdep init || echo "rosdep already initialized"

ARG USERNAME=ros
ARG USERNAME=ros2-dev
ARG USER_UID=1000
ARG USER_GID=$USER_UID

Expand Down Expand Up @@ -119,4 +119,4 @@ ENV QT_X11_NO_MITSHM 1

ARG WORKSPACE

RUN echo "if [ -f ${WORKSPACE}/install/setup.bash ]; then source ${WORKSPACE}/install/setup.bash; fi" >> /home/ros/.bashrc
RUN echo "if [ -f ${WORKSPACE}/install/setup.bash ]; then source ${WORKSPACE}/install/setup.bash; fi" >> /home/${USERNAME}/.bashrc
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"WORKSPACE": "${containerWorkspaceFolder}"
}
},
"remoteUser": "ros",
"remoteUser": "ros2-dev",
"runArgs": [
"--network=host",
"--cap-add=SYS_PTRACE",
Expand Down

0 comments on commit 41207b3

Please sign in to comment.