Skip to content

Commit

Permalink
chore: use AS instead of as in Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
HansRobo authored Feb 14, 2025
1 parent 48a29fc commit 1e5296d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG ROS_DISTRO="humble"
FROM ros:${ROS_DISTRO} as build-stage
FROM ros:${ROS_DISTRO} AS build-stage
SHELL ["/bin/bash", "-c"]
ENV DEBIAN_FRONTEND=noninteractive
ENV DEBCONF_NOWARNINGS=yes
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG ROS_DISTRO="humble"
# cspell: ignore impactaky deno BUILDPLATFORM TARGETARCH

FROM --platform=${BUILDPLATFORM} impactaky/mc-ubuntu22.04-${TARGETARCH}-host:2.1.0 AS mimic-host
FROM ros:${ROS_DISTRO} as build-stage
FROM ros:${ROS_DISTRO} AS build-stage

SHELL ["/bin/bash", "-c"]
ENV DEBIAN_FRONTEND=noninteractive
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.traffic_simulator
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG ROS_DISTRO="humble"
FROM ros:${ROS_DISTRO} as build-stage
FROM ros:${ROS_DISTRO} AS build-stage
SHELL ["/bin/bash", "-c"]
ENV DEBIAN_FRONTEND=noninteractive
ENV DEBCONF_NOWARNINGS=yes
Expand Down

0 comments on commit 1e5296d

Please sign in to comment.