File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ RUN apt-get update && apt-get install -y \
38
38
RUN wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
39
39
RUN echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null
40
40
41
- RUN apt update -y
41
+ RUN apt update -y
42
42
43
43
RUN apt install -y ros-humble-ros-gzharmonic
44
44
@@ -50,7 +50,7 @@ RUN apt-get update && \
50
50
apt-get update
51
51
52
52
# Change user
53
- RUN chown $USERNAME:$USERNAME /workspace/$USERNAME
53
+ RUN chown $USER_UID:$USER_GID /workspace/$USERNAME
54
54
55
55
USER $USERNAME
56
56
@@ -63,4 +63,4 @@ COPY --chown=$USERNAME ./ /workspace/$USERNAME
63
63
RUN rosdep update
64
64
# Copy to preload the ros packages
65
65
66
- RUN rosdep install --from-paths src --ignore-src --rosdistro humble -y
66
+ RUN rosdep install --from-paths src --ignore-src --rosdistro humble -y
You can’t perform that action at this time.
0 commit comments