Skip to content

Commit 50ccc96

Browse files
authored
fix Dockerfile warn LegacyKeyValueFormat ENV key value => ENV key=value (#1666)
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 20) https://docs.docker.com/reference/build-checks/legacy-key-value-format/
2 parents c2cdb50 + ab486d8 commit 50ccc96

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docker/Dockerfile.arm-unknown-linux-gnueabihf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ COPY crosstool-ng.sh /
1717
COPY crosstool-config/arm-unknown-linux-gnueabihf.config /
1818
RUN /crosstool-ng.sh arm-unknown-linux-gnueabihf.config 5
1919

20-
ENV PATH /x-tools/arm-unknown-linux-gnueabihf/bin/:$PATH
20+
ENV PATH=/x-tools/arm-unknown-linux-gnueabihf/bin/:$PATH
2121

2222
COPY deny-debian-packages.sh /
2323
RUN TARGET_ARCH=armhf /deny-debian-packages.sh

docker/Dockerfile.loongarch64-unknown-linux-gnu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ COPY crosstool-ng.sh /
1717
COPY crosstool-config/loongarch64-unknown-linux-gnu.config /
1818
RUN /crosstool-ng.sh loongarch64-unknown-linux-gnu.config 5
1919

20-
ENV PATH /x-tools/loongarch64-unknown-linux-gnu/bin/:$PATH
20+
ENV PATH=/x-tools/loongarch64-unknown-linux-gnu/bin/:$PATH
2121

2222
COPY deny-debian-packages.sh /
2323
RUN TARGET_ARCH=loong64 /deny-debian-packages.sh

docker/Dockerfile.loongarch64-unknown-linux-musl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ COPY crosstool-ng.sh /
1717
COPY crosstool-config/loongarch64-unknown-linux-musl.config /
1818
RUN /crosstool-ng.sh loongarch64-unknown-linux-musl.config 5
1919

20-
ENV PATH /x-tools/loongarch64-unknown-linux-musl/bin/:$PATH
20+
ENV PATH=/x-tools/loongarch64-unknown-linux-musl/bin/:$PATH
2121

2222
COPY deny-debian-packages.sh /
2323
RUN TARGET_ARCH=loong64 /deny-debian-packages.sh

0 commit comments

Comments
 (0)