mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-20 18:04:26 +02:00
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:
@ -17,8 +17,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 && \
|
||||
@ -42,6 +42,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"
|
||||
|
Reference in New Issue
Block a user