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

Fix from/as casing dockerfile warning #78

Merged
merged 1 commit into from
Feb 1, 2025
Merged
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
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# https://github.com/osrf/docker_images/blob/27cc0b68263bbbb10bb58dd814efc0a6b0a01ec7/ros/humble/ubuntu/jammy/ros-core/Dockerfile
FROM ros:humble-ros-core-jammy as repo-deps
FROM ros:humble-ros-core-jammy AS repo-deps
# This layer installs basic tools and the direct dependencies of terrain-navigation.

SHELL ["/bin/bash", "-c"]
Expand Down Expand Up @@ -29,7 +29,7 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*


FROM repo-deps as all-deps
FROM repo-deps AS all-deps
# This layer installs dependencies of the other source packages.

COPY terrain-navigation.repos src/ethz-asl/terrain-navigation/terrain-navigation.repos
Expand All @@ -44,7 +44,7 @@ RUN apt-get update \
&& rosdep install --from-paths src --ignore-src -r -y \
&& rm -rf /var/lib/apt/lists/*

FROM all-deps as build
FROM all-deps AS build

WORKDIR /root/ros2_ws/src/ethz-asl/terrain-navigation
COPY . .
Expand Down
Loading