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:
@ -27,8 +27,8 @@ RUN echo "deb http://apt.llvm.org/bookworm/ llvm-toolchain-bookworm main" >> /et
|
||||
&& c++ --version \
|
||||
&& cpp --version
|
||||
|
||||
ENV CROSS_TRIPLE x86_64-linux-gnu
|
||||
ENV CROSS_ROOT /usr/bin
|
||||
ENV CROSS_TRIPLE=x86_64-linux-gnu
|
||||
ENV CROSS_ROOT=/usr/bin
|
||||
ENV CC=/usr/bin/clang-${CLANG_VERSION} \
|
||||
CPP=/usr/bin/clang-cpp-${CLANG_VERSION} \
|
||||
CXX=/usr/bin/clang++-${CLANG_VERSION} \
|
||||
@ -40,6 +40,6 @@ ENV CC=/usr/bin/clang-${CLANG_VERSION} \
|
||||
COPY ${CROSS_TRIPLE}-noop.sh /usr/bin/${CROSS_TRIPLE}-noop
|
||||
|
||||
COPY Toolchain.cmake /usr/lib/${CROSS_TRIPLE}/
|
||||
ENV CMAKE_TOOLCHAIN_FILE /usr/lib/${CROSS_TRIPLE}/Toolchain.cmake
|
||||
ENV CMAKE_TOOLCHAIN_FILE=/usr/lib/${CROSS_TRIPLE}/Toolchain.cmake
|
||||
|
||||
#include "common.label-and-env"
|
||||
|
Reference in New Issue
Block a user