File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,15 +32,14 @@ RUN echo 'Asia/Kolkata' > /etc/timezone && \
3232# install packages
3333COPY aptPkgs.list /tmp/aptPkgs.list
3434RUN apt-get update && apt-get install -q -y --no-install-recommends \
35- $(cat /tmp/aptPkgs.list) \
35+ curl \
3636 && rm -rf /var/lib/apt/lists/*
3737
3838# Create non root user with sudo privilege
3939RUN groupadd --gid $USER_GID $USERNAME \
4040 && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME \
4141 && echo $USERNAME ALL=\( root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
4242 && chmod 0440 /etc/sudoers.d/$USERNAME
43- USER $USERNAME
4443
4544# Setup ROS Apt sources
4645RUN curl -L -s -o /tmp/ros2-apt-source.deb https://github.com/ros-infrastructure/ros-apt-source/releases/download/1.1.0/ros2-apt-source_1.1.0.jammy_all.deb \
@@ -50,6 +49,14 @@ RUN curl -L -s -o /tmp/ros2-apt-source.deb https://github.com/ros-infrastructure
5049 && rm -f /tmp/ros2-apt-source.deb \
5150 && rm -rf /var/lib/apt/lists/*
5251
52+ # install packages
53+ COPY aptPkgs.list /tmp/aptPkgs.list
54+ RUN apt-get update && apt-get install -q -y --no-install-recommends \
55+ $(cat /tmp/aptPkgs.list) \
56+ && rm -rf /var/lib/apt/lists/*
57+
58+ USER $USERNAME
59+
5360# setup entrypoint
5461COPY ./ros_entrypoint.sh /
5562
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ bash-completion
33build-essential
44ca-certificates
55cmake
6- curl
76dirmngr
87git
98gnupg
Original file line number Diff line number Diff line change @@ -32,15 +32,14 @@ RUN echo 'Asia/Kolkata' > /etc/timezone && \
3232# install packages
3333COPY aptPkgs.list /tmp/aptPkgs.list
3434RUN apt-get update && apt-get install -q -y --no-install-recommends \
35- $(cat /tmp/aptPkgs.list) \
35+ curl \
3636 && rm -rf /var/lib/apt/lists/*
3737
3838# Create non root user with sudo privilege
3939RUN groupadd --gid $USER_GID $USERNAME \
4040 && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME \
4141 && echo $USERNAME ALL=\( root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
4242 && chmod 0440 /etc/sudoers.d/$USERNAME
43- USER $USERNAME
4443
4544# Setup ROS Apt sources
4645RUN curl -L -s -o /tmp/ros2-apt-source.deb https://github.com/ros-infrastructure/ros-apt-source/releases/download/1.1.0/ros2-apt-source_1.1.0.jammy_all.deb \
@@ -50,6 +49,14 @@ RUN curl -L -s -o /tmp/ros2-apt-source.deb https://github.com/ros-infrastructure
5049 && rm -f /tmp/ros2-apt-source.deb \
5150 && rm -rf /var/lib/apt/lists/*
5251
52+ # install packages
53+ COPY aptPkgs.list /tmp/aptPkgs.list
54+ RUN apt-get update && apt-get install -q -y --no-install-recommends \
55+ $(cat /tmp/aptPkgs.list) \
56+ && rm -rf /var/lib/apt/lists/*
57+
58+ USER $USERNAME
59+
5360# setup entrypoint
5461COPY ./ros_entrypoint.sh /
5562
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ bash-completion
33build-essential
44ca-certificates
55cmake
6- curl
76dirmngr
87git
98gnupg
Original file line number Diff line number Diff line change @@ -35,15 +35,14 @@ RUN echo 'Asia/Kolkata' > /etc/timezone && \
3535# install packages
3636COPY aptPkgs.list /tmp/aptPkgs.list
3737RUN apt-get update && apt-get install -q -y --no-install-recommends \
38- $(cat /tmp/aptPkgs.list) \
38+ curl \
3939 && rm -rf /var/lib/apt/lists/*
4040
4141# Create non root user with sudo privilege
4242RUN groupadd --gid $USER_GID $USERNAME \
4343 && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME \
4444 && echo $USERNAME ALL=\( root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
4545 && chmod 0440 /etc/sudoers.d/$USERNAME
46- USER $USERNAME
4746
4847# Setup ROS Apt sources
4948RUN curl -L -s -o /tmp/ros2-apt-source.deb https://github.com/ros-infrastructure/ros-apt-source/releases/download/1.1.0/ros2-apt-source_1.1.0.jammy_all.deb \
@@ -53,6 +52,14 @@ RUN curl -L -s -o /tmp/ros2-apt-source.deb https://github.com/ros-infrastructure
5352 && rm -f /tmp/ros2-apt-source.deb \
5453 && rm -rf /var/lib/apt/lists/*
5554
55+ # install packages
56+ COPY aptPkgs.list /tmp/aptPkgs.list
57+ RUN apt-get update && apt-get install -q -y --no-install-recommends \
58+ $(cat /tmp/aptPkgs.list) \
59+ && rm -rf /var/lib/apt/lists/*
60+
61+ USER $USERNAME
62+
5663# setup entrypoint
5764COPY ./ros_entrypoint.sh /
5865
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ bash-completion
33build-essential
44ca-certificates
55cmake
6- curl
76dirmngr
87git
98gnupg
Original file line number Diff line number Diff line change 1- FROM ghcr.io/smart-wheelchair-rrc/humble:dev5.0.3
1+ FROM ghcr.io/smart-wheelchair-rrc/humble:dev5.0.4
22
33ARG USERNAME=container_user
44
Original file line number Diff line number Diff line change 1- FROM ghcr.io/smart-wheelchair-rrc/humble_gazebo:dev5.0.3
1+ FROM ghcr.io/smart-wheelchair-rrc/humble_gazebo:dev5.0.4
22
33ARG USERNAME=container_user
44
Original file line number Diff line number Diff line change 1- FROM ghcr.io/smart-wheelchair-rrc/humble_cuda:dev5.0.3
1+ FROM ghcr.io/smart-wheelchair-rrc/humble_cuda:dev5.0.4
22
33ARG USERNAME=container_user
44
You can’t perform that action at this time.
0 commit comments