mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-21 18:33:34 +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:
@ -26,8 +26,8 @@ ENV PATH="/usr/local/bin:${PATH}"
|
||||
# Test if compiler work
|
||||
RUN tcc -v
|
||||
|
||||
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 AS=/usr/bin/${CROSS_TRIPLE}-as \
|
||||
AR=/usr/bin/${CROSS_TRIPLE}-ar \
|
||||
CC=/usr/local/bin/tcc \
|
||||
@ -39,6 +39,6 @@ ENV AS=/usr/bin/${CROSS_TRIPLE}-as \
|
||||
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