fix: Dockerfiles
All checks were successful
dotenv-linter check / dotenv-linter check (pull_request) Successful in 16s
hadolint check / hadolint check (pull_request) Successful in 23s
htmlhint check / htmlhint check (pull_request) Successful in 49s
markdownlint check / markdownlint check (pull_request) Successful in 54s
Prettier check / Prettier check (pull_request) Successful in 55s
checkov check / checkov check (pull_request) Successful in 1m48s
ShellCheck check / ShellCheck check (pull_request) Successful in 33s
yamllint check / yamllint check (pull_request) Successful in 35s
Stylelint check / Stylelint check (pull_request) Successful in 48s
Rust check / Rust check (pull_request) Successful in 22m16s
actionlint check / actionlint check (pull_request) Successful in 12s
conventional pull request title check / conventional pull request title check (pull_request) Successful in 8s
conventional commit messages check / conventional commit messages check (pull_request) Successful in 19s
GitLeaks check / GitLeaks check (pull_request) Successful in 21s
All checks were successful
dotenv-linter check / dotenv-linter check (pull_request) Successful in 16s
hadolint check / hadolint check (pull_request) Successful in 23s
htmlhint check / htmlhint check (pull_request) Successful in 49s
markdownlint check / markdownlint check (pull_request) Successful in 54s
Prettier check / Prettier check (pull_request) Successful in 55s
checkov check / checkov check (pull_request) Successful in 1m48s
ShellCheck check / ShellCheck check (pull_request) Successful in 33s
yamllint check / yamllint check (pull_request) Successful in 35s
Stylelint check / Stylelint check (pull_request) Successful in 48s
Rust check / Rust check (pull_request) Successful in 22m16s
actionlint check / actionlint check (pull_request) Successful in 12s
conventional pull request title check / conventional pull request title check (pull_request) Successful in 8s
conventional commit messages check / conventional commit messages check (pull_request) Successful in 19s
GitLeaks check / GitLeaks check (pull_request) Successful in 21s
This commit is contained in:
@@ -13,11 +13,10 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
openjdk-17-jdk-headless=17.0.17+10-1~deb12u1 \
|
||||
&& curl -fsSL -o /tmp/cmdline-tools.zip "https://dl.google.com/android/repository/commandlinetools-linux-${ANDROID_COMMAND_LINE_TOOLS_VERSION}_latest.zip" \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& cargo install --git https://github.com/diesel-rs/diesel --rev 2e85ba060d3d70ea605ea58a79b8a435749a7adc diesel_cli \
|
||||
&& cargo install --git https://github.com/DioxusLabs/dioxus --rev 8f8b58ea80ba0ec8057807bcd58fb609f7a5f2b1 dioxus-cli --features disable-telemetry \
|
||||
&& cargo install --git https://github.com/diesel-rs/diesel --rev 2e85ba060d3d70ea605ea58a79b8a435749a7adc --locked diesel_cli \
|
||||
&& cargo install --git https://github.com/DioxusLabs/dioxus --rev 8f8b58ea80ba0ec8057807bcd58fb609f7a5f2b1 --locked dioxus-cli --features disable-telemetry \
|
||||
&& rustup target add aarch64-linux-android \
|
||||
&& mkdir -p "$ANDROID_SDK_ROOT/cmdline-tools" \
|
||||
&& curl -fsSL -o /tmp/cmdline-tools.zip "https://dl.google.com/android/repository/commandlinetools-linux-${ANDROID_COMMAND_LINE_TOOLS_VERSION}_latest.zip" \
|
||||
@@ -25,7 +24,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
&& export PATH="$ANDROID_SDK_ROOT/cmdline-tools/latest/bin:$ANDROID_SDK_ROOT/platform-tools:$PATH" \
|
||||
&& mv "$ANDROID_SDK_ROOT/cmdline-tools/cmdline-tools" "$ANDROID_SDK_ROOT/cmdline-tools/latest" \
|
||||
&& rm /tmp/cmdline-tools.zip \
|
||||
&& yes | sdkmanager --sdk_root="$ANDROID_SDK_ROOT" --licenses > /dev/null \
|
||||
# `yes` can exit with 141, which is okay, so the `test` is added to ignore it.
|
||||
&& yes | sdkmanager --sdk_root="$ANDROID_SDK_ROOT" --licenses > /dev/null; test "${PIPESTATUS[1]}" -eq 0 \
|
||||
&& sdkmanager --sdk_root="$ANDROID_SDK_ROOT" "platform-tools" "platforms;android-$ANDROID_VERSION" "build-tools;$ANDROID_BUILD_TOOLS_VERSION" "ndk;$ANDROID_NDK_VERSION" \
|
||||
&& curl -fsSL -o /tmp/bundletool-all.jar "https://github.com/google/bundletool/releases/download/$ANDROID_BUNDLETOOL_VERSION/bundletool-all-${ANDROID_BUNDLETOOL_VERSION}.jar" \
|
||||
&& echo "$ANDROID_BUNDLETOOL_SHA256 /tmp/bundletool-all.jar" | sha256sum -c - \
|
||||
|
||||
Reference in New Issue
Block a user