Skip to content

Commit

Permalink
docker: Fix instruction casing in Dockerfile (#358)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <ryan@synca.io>
  • Loading branch information
phlax authored Sep 12, 2024
1 parent 1d97483 commit b08a261
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docker/linux/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:focal@sha256:fa17826afb526a9fc7250e0fbcbfd18d03fe7a54849472f86879d8bf562c629e as env
FROM ubuntu:focal@sha256:fa17826afb526a9fc7250e0fbcbfd18d03fe7a54849472f86879d8bf562c629e AS env
ARG ANDROID_CLI_TOOLS=https://dl.google.com/android/repository/commandlinetools-linux-7583922_latest.zip \
APT_KEY_TOOLCHAIN=60C317803A41BA51845E371A1E9377A2BA9EF27F \
APT_KEY_AZUL=0xB1998361219BD9C9 \
Expand Down Expand Up @@ -33,7 +33,7 @@ RUN --mount=type=tmpfs,target=/var/cache/apt \
&& install_base


FROM env as llvm
FROM env AS llvm
RUN --mount=type=tmpfs,target=/var/cache/apt \
--mount=type=tmpfs,target=/var/lib/apt/lists \
--mount=type=bind,source=/common_fun.sh,target=/common_fun.sh \
Expand All @@ -42,7 +42,7 @@ RUN --mount=type=tmpfs,target=/var/cache/apt \
&& install_llvm


FROM env as ci
FROM env AS ci
RUN --mount=type=tmpfs,target=/var/cache/apt \
--mount=type=tmpfs,target=/var/lib/apt/lists \
--mount=type=bind,source=/common_fun.sh,target=/common_fun.sh \
Expand All @@ -51,7 +51,7 @@ RUN --mount=type=tmpfs,target=/var/cache/apt \
&& install_ci


FROM ci as full
FROM ci AS full
COPY --from=llvm /opt /opt
COPY --from=llvm \
/usr/local/bin/gn \
Expand All @@ -64,7 +64,7 @@ RUN --mount=type=tmpfs,target=/var/cache/apt \
&& install


FROM full as test
FROM full AS test
RUN --mount=type=tmpfs,target=/var/cache/apt \
--mount=type=tmpfs,target=/var/lib/apt/lists \
--mount=type=bind,source=/ubuntu/test.sh,target=/ubuntu/test.sh \
Expand All @@ -76,7 +76,7 @@ COPY \


# mobile
FROM full as mobile
FROM full AS mobile
ENV ANDROID_HOME=/.android/sdk \
ANDROID_NDK_HOME=/.android/sdk/ndk/21.4.7075529 \
ANDROID_NDK_VERSION=21.4.7075529 \
Expand Down

0 comments on commit b08a261

Please sign in to comment.