Skip to content

Commit

Permalink
Twiddle
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorific committed Sep 12, 2024
1 parent cf43ac2 commit cd9f65b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions ros/humble/ubuntu/jammy/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ RUN apt-get update && apt-get install -q -y --no-install-recommends \
RUN echo "deb [ signed-by=/usr/share/keyrings/ros2-latest-archive-keyring.gpg ] ${ROS_PACKAGES_URI} jammy main" > /etc/apt/sources.list.d/ros2-latest.list

# setup environment
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8

ENV ROS_DISTRO humble
ENV ROS_DISTRO=humble

# install ros2 packages
RUN apt-get update && apt-get install -y --no-install-recommends \
Expand All @@ -54,7 +54,7 @@ COPY ./ros_entrypoint.sh /
ENTRYPOINT ["/ros_entrypoint.sh"]
CMD ["bash"]

FROM ros-core as ros-base
FROM ros-core AS ros-base

# install bootstrap tools
RUN apt-get update && apt-get install --no-install-recommends -y \
Expand Down Expand Up @@ -83,28 +83,28 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ros-humble-ros-base=0.10.0-1* \
&& rm -rf /var/lib/apt/lists/*

FROM ros-base as perception
FROM ros-base AS perception

# install ros2 packages
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-humble-perception=0.10.0-1* \
&& rm -rf /var/lib/apt/lists/*

FROM ros-base as simulation
FROM ros-base AS simulation

# install ros2 packages
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-humble-simulation=0.10.0-1* \
&& rm -rf /var/lib/apt/lists/*

FROM ros-base as desktop
FROM ros-base AS desktop

# install ros2 packages
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-humble-desktop=0.10.0-1* \
&& rm -rf /var/lib/apt/lists/*

FROM desktop as desktop-full
FROM desktop AS desktop-full

# install ros2 packages
RUN apt-get update && apt-get install -y --no-install-recommends \
Expand Down
2 changes: 1 addition & 1 deletion ros/humble/ubuntu/jammy/docker-bake.hcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
variable "TAG_PREFIX" {
default = "docker.io/boxcutter/ros"
default = "docker.io/boxcutter/ros"
}

# There's no darwin-based Docker, so if we're running on macOS, change the platform to linux
Expand Down

0 comments on commit cd9f65b

Please sign in to comment.