Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply template to install packages from lockfiles #668

Draft
wants to merge 3 commits into
base: target-arch
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions ros/foxy/ubuntu/focal/desktop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
# generated from docker_images_ros2/create_ros_image.Dockerfile.em
FROM ros:foxy-ros-base-focal

# install ros2 packages
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-foxy-desktop=0.9.2-1* \
# copy ros packages
ARG TARGETARCH
COPY ros2_packages/$TARGETARCH.txt /etc/apt/ros/ros2_packages.txt

# install ros packages
RUN apt-get update \
&& xargs -a /etc/apt/ros/ros2_packages.txt \
apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

1 change: 1 addition & 0 deletions ros/foxy/ubuntu/focal/desktop/ros2_packages/amd64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-foxy-desktop=0.9.2-1focal.20221021.151608
1 change: 1 addition & 0 deletions ros/foxy/ubuntu/focal/desktop/ros2_packages/arm64v8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-foxy-desktop=0.9.2-1focal.20221021.154826
4 changes: 3 additions & 1 deletion ros/foxy/ubuntu/focal/platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ platform:
ros2distro_name: foxy
user_name: ros
maintainer_name:
arch: amd64
archs:
- amd64
- arm64v8
type: distribution
version:
11 changes: 8 additions & 3 deletions ros/foxy/ubuntu/focal/ros-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,13 @@ RUN colcon mixin add default \
https://raw.githubusercontent.com/colcon/colcon-metadata-repository/master/index.yaml && \
colcon metadata update

# install ros2 packages
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-foxy-ros-base=0.9.2-1* \
# copy ros packages
ARG TARGETARCH
COPY ros2_packages/$TARGETARCH.txt /etc/apt/ros/ros2_packages.txt

# install ros packages
RUN apt-get update \
&& xargs -a /etc/apt/ros/ros2_packages.txt \
apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

1 change: 1 addition & 0 deletions ros/foxy/ubuntu/focal/ros-base/ros2_packages/amd64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-foxy-ros-base=0.9.2-1focal.20221013.012938
1 change: 1 addition & 0 deletions ros/foxy/ubuntu/focal/ros-base/ros2_packages/arm64v8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-foxy-ros-base=0.9.2-1focal.20221013.033814
11 changes: 8 additions & 3 deletions ros/foxy/ubuntu/focal/ros-core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,14 @@ ENV LC_ALL C.UTF-8

ENV ROS_DISTRO foxy

# install ros2 packages
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-foxy-ros-core=0.9.2-1* \
# copy ros packages
ARG TARGETARCH
COPY ros2_packages/$TARGETARCH.txt /etc/apt/ros/ros2_packages.txt

# install ros packages
RUN apt-get update \
&& xargs -a /etc/apt/ros/ros2_packages.txt \
apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

# setup entrypoint
Expand Down
1 change: 1 addition & 0 deletions ros/foxy/ubuntu/focal/ros-core/ros2_packages/amd64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-foxy-ros-core=0.9.2-1focal.20221013.012855
1 change: 1 addition & 0 deletions ros/foxy/ubuntu/focal/ros-core/ros2_packages/arm64v8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-foxy-ros-core=0.9.2-1focal.20221013.030926
24 changes: 15 additions & 9 deletions ros/foxy/ubuntu/focal/ros1-bridge/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,24 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C1CF6E31E6
ENV ROS1_DISTRO noetic
ENV ROS2_DISTRO foxy

# copy ros packages
ARG TARGETARCH
COPY ros_packages/$TARGETARCH.txt /etc/apt/ros/ros_packages.txt

# install ros packages
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-noetic-ros-comm=1.16.0-1* \
ros-noetic-roscpp-tutorials=0.10.2-1* \
ros-noetic-rospy-tutorials=0.10.2-1* \
RUN apt-get update \
&& xargs -a /etc/apt/ros/ros_packages.txt \
apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

# install ros2 packages
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-foxy-ros1-bridge=0.9.6-1* \
ros-foxy-demo-nodes-cpp=0.9.4-1* \
ros-foxy-demo-nodes-py=0.9.4-1* \
# copy ros packages
ARG TARGETARCH
COPY ros2_packages/$TARGETARCH.txt /etc/apt/ros/ros2_packages.txt

# install ros packages
RUN apt-get update \
&& xargs -a /etc/apt/ros/ros2_packages.txt \
apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

# setup entrypoint
Expand Down
3 changes: 3 additions & 0 deletions ros/foxy/ubuntu/focal/ros1-bridge/ros2_packages/amd64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ros-foxy-ros1-bridge=0.9.6-1focal.20221013.010545
ros-foxy-demo-nodes-cpp=0.9.4-1focal.20221012.234801
ros-foxy-demo-nodes-py=0.9.4-1focal.20221013.000322
3 changes: 3 additions & 0 deletions ros/foxy/ubuntu/focal/ros1-bridge/ros2_packages/arm64v8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ros-foxy-ros1-bridge=0.9.6-1focal.20221013.030646
ros-foxy-demo-nodes-cpp=0.9.4-1focal.20221013.003659
ros-foxy-demo-nodes-py=0.9.4-1focal.20221013.004653
3 changes: 3 additions & 0 deletions ros/foxy/ubuntu/focal/ros1-bridge/ros_packages/amd64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ros-noetic-ros-comm=1.16.0-1focal.20230215.221226
ros-noetic-roscpp-tutorials=0.10.2-1focal.20230215.211238
ros-noetic-rospy-tutorials=0.10.2-1focal.20230215.214550
3 changes: 3 additions & 0 deletions ros/foxy/ubuntu/focal/ros1-bridge/ros_packages/arm64v8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ros-noetic-ros-comm=1.16.0-1focal.20230216.030212
ros-noetic-roscpp-tutorials=0.10.2-1focal.20230215.211750
ros-noetic-rospy-tutorials=0.10.2-1focal.20230215.222154
11 changes: 8 additions & 3 deletions ros/humble/ubuntu/jammy/desktop-full/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
# generated from docker_images_ros2/create_ros_image.Dockerfile.em
FROM osrf/ros:humble-desktop-jammy

# install ros2 packages
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-humble-desktop-full=0.10.0-1* \
# copy ros packages
ARG TARGETARCH
COPY ros2_packages/$TARGETARCH.txt /etc/apt/ros/ros2_packages.txt

# install ros packages
RUN apt-get update \
&& xargs -a /etc/apt/ros/ros2_packages.txt \
apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-humble-desktop-full=0.10.0-1jammy.20230302.225341
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-humble-desktop-full=0.10.0-1jammy.20230303.030640
11 changes: 8 additions & 3 deletions ros/humble/ubuntu/jammy/desktop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
# generated from docker_images_ros2/create_ros_image.Dockerfile.em
FROM ros:humble-ros-base-jammy

# install ros2 packages
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-humble-desktop=0.10.0-1* \
# copy ros packages
ARG TARGETARCH
COPY ros2_packages/$TARGETARCH.txt /etc/apt/ros/ros2_packages.txt

# install ros packages
RUN apt-get update \
&& xargs -a /etc/apt/ros/ros2_packages.txt \
apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

1 change: 1 addition & 0 deletions ros/humble/ubuntu/jammy/desktop/ros2_packages/amd64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-humble-desktop=0.10.0-1jammy.20230302.224421
1 change: 1 addition & 0 deletions ros/humble/ubuntu/jammy/desktop/ros2_packages/arm64v8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-humble-desktop=0.10.0-1jammy.20230303.030456
11 changes: 8 additions & 3 deletions ros/humble/ubuntu/jammy/perception/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
# generated from docker_images_ros2/create_ros_image.Dockerfile.em
FROM ros:humble-ros-base-jammy

# install ros2 packages
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-humble-perception=0.10.0-1* \
# copy ros packages
ARG TARGETARCH
COPY ros2_packages/$TARGETARCH.txt /etc/apt/ros/ros2_packages.txt

# install ros packages
RUN apt-get update \
&& xargs -a /etc/apt/ros/ros2_packages.txt \
apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

1 change: 1 addition & 0 deletions ros/humble/ubuntu/jammy/perception/ros2_packages/amd64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-humble-perception=0.10.0-1jammy.20230302.220944
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-humble-perception=0.10.0-1jammy.20230303.030036
4 changes: 3 additions & 1 deletion ros/humble/ubuntu/jammy/platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ platform:
ros2distro_name: humble
user_name: ros
maintainer_name:
arch: amd64
archs:
- amd64
- arm64v8
type: distribution
version:
11 changes: 8 additions & 3 deletions ros/humble/ubuntu/jammy/ros-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,13 @@ RUN colcon mixin add default \
https://raw.githubusercontent.com/colcon/colcon-metadata-repository/master/index.yaml && \
colcon metadata update

# install ros2 packages
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-humble-ros-base=0.10.0-1* \
# copy ros packages
ARG TARGETARCH
COPY ros2_packages/$TARGETARCH.txt /etc/apt/ros/ros2_packages.txt

# install ros packages
RUN apt-get update \
&& xargs -a /etc/apt/ros/ros2_packages.txt \
apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

1 change: 1 addition & 0 deletions ros/humble/ubuntu/jammy/ros-base/ros2_packages/amd64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-humble-ros-base=0.10.0-1jammy.20230302.220320
1 change: 1 addition & 0 deletions ros/humble/ubuntu/jammy/ros-base/ros2_packages/arm64v8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-humble-ros-base=0.10.0-1jammy.20230303.030003
11 changes: 8 additions & 3 deletions ros/humble/ubuntu/jammy/ros-core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,14 @@ ENV LC_ALL C.UTF-8

ENV ROS_DISTRO humble

# install ros2 packages
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-humble-ros-core=0.10.0-1* \
# copy ros packages
ARG TARGETARCH
COPY ros2_packages/$TARGETARCH.txt /etc/apt/ros/ros2_packages.txt

# install ros packages
RUN apt-get update \
&& xargs -a /etc/apt/ros/ros2_packages.txt \
apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

# setup entrypoint
Expand Down
1 change: 1 addition & 0 deletions ros/humble/ubuntu/jammy/ros-core/ros2_packages/amd64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-humble-ros-core=0.10.0-1jammy.20230302.213727
1 change: 1 addition & 0 deletions ros/humble/ubuntu/jammy/ros-core/ros2_packages/arm64v8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-humble-ros-core=0.10.0-1jammy.20230303.011502
11 changes: 8 additions & 3 deletions ros/humble/ubuntu/jammy/simulation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
# generated from docker_images_ros2/create_ros_image.Dockerfile.em
FROM ros:humble-ros-base-jammy

# install ros2 packages
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-humble-simulation=0.10.0-1* \
# copy ros packages
ARG TARGETARCH
COPY ros2_packages/$TARGETARCH.txt /etc/apt/ros/ros2_packages.txt

# install ros packages
RUN apt-get update \
&& xargs -a /etc/apt/ros/ros2_packages.txt \
apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

1 change: 1 addition & 0 deletions ros/humble/ubuntu/jammy/simulation/ros2_packages/amd64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-humble-simulation=0.10.0-1jammy.20230302.220944
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-humble-simulation=0.10.0-1jammy.20230303.030124
9 changes: 7 additions & 2 deletions ros/melodic/ubuntu/bionic/desktop-full/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
# generated from docker_images/create_ros_image.Dockerfile.em
FROM osrf/ros:melodic-desktop-bionic

# copy ros packages
ARG TARGETARCH
COPY ros_packages/$TARGETARCH.txt /etc/apt/ros/ros_packages.txt

# install ros packages
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-melodic-desktop-full=1.4.1-0* \
RUN apt-get update \
&& xargs -a /etc/apt/ros/ros_packages.txt \
apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-melodic-desktop-full=1.4.1-0bionic.20230215.210215
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-melodic-desktop-full=1.4.1-0bionic.20230216.110142
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-melodic-desktop-full=1.4.1-0bionic.20230216.110107
9 changes: 7 additions & 2 deletions ros/melodic/ubuntu/bionic/desktop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
# generated from docker_images/create_ros_image.Dockerfile.em
FROM ros:melodic-robot-bionic

# copy ros packages
ARG TARGETARCH
COPY ros_packages/$TARGETARCH.txt /etc/apt/ros/ros_packages.txt

# install ros packages
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-melodic-desktop=1.4.1-0* \
RUN apt-get update \
&& xargs -a /etc/apt/ros/ros_packages.txt \
apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

1 change: 1 addition & 0 deletions ros/melodic/ubuntu/bionic/desktop/ros_packages/amd64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-melodic-desktop=1.4.1-0bionic.20230215.210139
1 change: 1 addition & 0 deletions ros/melodic/ubuntu/bionic/desktop/ros_packages/arm32v7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-melodic-desktop=1.4.1-0bionic.20230216.110058
1 change: 1 addition & 0 deletions ros/melodic/ubuntu/bionic/desktop/ros_packages/arm64v8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-melodic-desktop=1.4.1-0bionic.20230216.110033
9 changes: 7 additions & 2 deletions ros/melodic/ubuntu/bionic/perception/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
# generated from docker_images/create_ros_image.Dockerfile.em
FROM ros:melodic-ros-base-bionic

# copy ros packages
ARG TARGETARCH
COPY ros_packages/$TARGETARCH.txt /etc/apt/ros/ros_packages.txt

# install ros packages
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-melodic-perception=1.4.1-0* \
RUN apt-get update \
&& xargs -a /etc/apt/ros/ros_packages.txt \
apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-melodic-perception=1.4.1-0bionic.20230215.210053
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-melodic-perception=1.4.1-0bionic.20230216.110009
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-melodic-perception=1.4.1-0bionic.20230216.105949
5 changes: 4 additions & 1 deletion ros/melodic/ubuntu/bionic/platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ platform:
rosdistro_name: melodic
user_name: ros
maintainer_name:
arch: amd64
archs:
- amd64
- arm32v7
- arm64v8
type: distribution
version:
9 changes: 7 additions & 2 deletions ros/melodic/ubuntu/bionic/robot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
# generated from docker_images/create_ros_image.Dockerfile.em
FROM ros:melodic-ros-base-bionic

# copy ros packages
ARG TARGETARCH
COPY ros_packages/$TARGETARCH.txt /etc/apt/ros/ros_packages.txt

# install ros packages
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-melodic-robot=1.4.1-0* \
RUN apt-get update \
&& xargs -a /etc/apt/ros/ros_packages.txt \
apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

1 change: 1 addition & 0 deletions ros/melodic/ubuntu/bionic/robot/ros_packages/amd64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-melodic-robot=1.4.1-0bionic.20230215.210037
1 change: 1 addition & 0 deletions ros/melodic/ubuntu/bionic/robot/ros_packages/arm32v7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-melodic-robot=1.4.1-0bionic.20230216.110005
1 change: 1 addition & 0 deletions ros/melodic/ubuntu/bionic/robot/ros_packages/arm64v8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-melodic-robot=1.4.1-0bionic.20230216.105944
9 changes: 7 additions & 2 deletions ros/melodic/ubuntu/bionic/ros-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
RUN rosdep init && \
rosdep update --rosdistro $ROS_DISTRO

# copy ros packages
ARG TARGETARCH
COPY ros_packages/$TARGETARCH.txt /etc/apt/ros/ros_packages.txt

# install ros packages
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-melodic-ros-base=1.4.1-0* \
RUN apt-get update \
&& xargs -a /etc/apt/ros/ros_packages.txt \
apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

1 change: 1 addition & 0 deletions ros/melodic/ubuntu/bionic/ros-base/ros_packages/amd64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-melodic-ros-base=1.4.1-0bionic.20230215.205719
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-melodic-ros-base=1.4.1-0bionic.20230216.105921
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ros-melodic-ros-base=1.4.1-0bionic.20230216.105845
9 changes: 7 additions & 2 deletions ros/melodic/ubuntu/bionic/ros-core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,14 @@ ENV LC_ALL C.UTF-8

ENV ROS_DISTRO melodic

# copy ros packages
ARG TARGETARCH
COPY ros_packages/$TARGETARCH.txt /etc/apt/ros/ros_packages.txt

# install ros packages
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-melodic-ros-core=1.4.1-0* \
RUN apt-get update \
&& xargs -a /etc/apt/ros/ros_packages.txt \
apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

# setup entrypoint
Expand Down
Loading