Skip to content

Commit 8bbb19e

Browse files
authored
Fix case on "as" in Dockerfile (#214)
Co-authored-by: Aaron Marburg <amarburg@uw.edu>
1 parent 1434edd commit 8bbb19e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.docker/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG ROS_DISTRO=rolling
2-
FROM ros:$ROS_DISTRO-ros-base as ci
2+
FROM ros:$ROS_DISTRO-ros-base AS ci
33

44
ENV DEBIAN_FRONTEND=noninteractive
55

@@ -36,7 +36,7 @@ RUN apt-get -q update \
3636
&& apt-get clean -y \
3737
&& rm -rf /var/lib/apt/lists/*
3838

39-
FROM ci as robot
39+
FROM ci AS robot
4040

4141
# Configure a new non-root user
4242
ARG USERNAME=blue
@@ -99,7 +99,7 @@ RUN sudo apt-get -q update \
9999
RUN echo "source ${USER_WORKSPACE}/install/setup.bash" >> /home/$USERNAME/.bashrc \
100100
&& echo "source /opt/ros/${ROS_DISTRO}/setup.bash" >> /home/$USERNAME/.bashrc
101101

102-
FROM robot as desktop
102+
FROM robot AS desktop
103103

104104
ENV DEBIAN_FRONTEND=noninteractive
105105
ENV GZ_VERSION=garden
@@ -177,7 +177,7 @@ RUN . "/opt/ros/${ROS_DISTRO}/setup.sh" \
177177
# Setup the simulation environment variables
178178
RUN echo "source ${USER_WORKSPACE}/src/blue/.docker/entrypoints/sim.sh" >> /home/$USERNAME/.bashrc
179179

180-
FROM desktop as desktop-nvidia
180+
FROM desktop AS desktop-nvidia
181181

182182
# Install NVIDIA software
183183
RUN sudo apt-get update \

0 commit comments

Comments
 (0)