Skip to content

Commit e79014f

Browse files
curl
1 parent 1af2061 commit e79014f

9 files changed

Lines changed: 30 additions & 12 deletions

File tree

ROS2/AMD64x86/humble/Dockerfile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,14 @@ RUN echo 'Asia/Kolkata' > /etc/timezone && \
3232
# install packages
3333
COPY aptPkgs.list /tmp/aptPkgs.list
3434
RUN 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
3939
RUN 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
4645
RUN 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
5461
COPY ./ros_entrypoint.sh /
5562

ROS2/AMD64x86/humble/aptPkgs.list

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ bash-completion
33
build-essential
44
ca-certificates
55
cmake
6-
curl
76
dirmngr
87
git
98
gnupg

ROS2/AMD64x86/humble_cuda/Dockerfile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,14 @@ RUN echo 'Asia/Kolkata' > /etc/timezone && \
3232
# install packages
3333
COPY aptPkgs.list /tmp/aptPkgs.list
3434
RUN 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
3939
RUN 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
4645
RUN 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
5461
COPY ./ros_entrypoint.sh /
5562

ROS2/AMD64x86/humble_cuda/aptPkgs.list

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ bash-completion
33
build-essential
44
ca-certificates
55
cmake
6-
curl
76
dirmngr
87
git
98
gnupg

ROS2/AMD64x86/humble_gazebo/Dockerfile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,14 @@ RUN echo 'Asia/Kolkata' > /etc/timezone && \
3535
# install packages
3636
COPY aptPkgs.list /tmp/aptPkgs.list
3737
RUN 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
4242
RUN 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
4948
RUN 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
5764
COPY ./ros_entrypoint.sh /
5865

ROS2/AMD64x86/humble_gazebo/aptPkgs.list

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ bash-completion
33
build-essential
44
ca-certificates
55
cmake
6-
curl
76
dirmngr
87
git
98
gnupg

ROS2/AMD64x86/wheelchair2_base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/smart-wheelchair-rrc/humble:dev5.0.3
1+
FROM ghcr.io/smart-wheelchair-rrc/humble:dev5.0.4
22

33
ARG USERNAME=container_user
44

ROS2/AMD64x86/wheelchair2_base_gazebo/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

33
ARG USERNAME=container_user
44

ROS2/AMD64x86/wheelchair2_cuda/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

33
ARG USERNAME=container_user
44

0 commit comments

Comments
 (0)