COMP: Remove docker build warning

- LegacyKeyValueFormat: "ENV key=value" should be used
  instead of legacy "ENV key value" format (line 42)

"""
The new format for declaring environment variables in Dockerfiles is ENV
key=value. This format, where the key and value are separated by an
equals sign (=), is the recommended approach. The older format, ENV key
value (with a space as a separator), is deprecated.
""" -- google search
This commit is contained in:
Hans Johnson
2025-02-07 19:41:51 -06:00
parent c76accc121
commit 49d9ab4342
52 changed files with 375 additions and 375 deletions

View File

@ -21,8 +21,8 @@ ENV AS=${CROSS_ROOT}/bin/llvm-as \
CXX=${CROSS_ROOT}/bin/clang++ \
LD=${CROSS_ROOT}/bin/ld
ENV ANDROID_NDK_REVISION 25b
ENV ANDROID_API 23
ENV ANDROID_NDK_REVISION=25b
ENV ANDROID_API=23
RUN mkdir -p /build && \
cd /build && \
@ -46,6 +46,6 @@ COPY config.toml /root/.cargo/
# Prepare CMake
COPY Toolchain.cmake ${CROSS_ROOT}/
ENV CMAKE_TOOLCHAIN_FILE ${CROSS_ROOT}/Toolchain.cmake
ENV CMAKE_TOOLCHAIN_FILE=${CROSS_ROOT}/Toolchain.cmake
#include "common.label-and-env"