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

docker: Fix instruction casing in Dockerfile #358

Merged
merged 1 commit into from
Sep 12, 2024
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
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