From 03b0379426518d50650bbcfaeaff6836ec8e3d8d Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 12 Feb 2025 11:24:30 +0100 Subject: [PATCH] support/docker/Dockerfile: use correct ENV syntax buildx correctly complains about our ENV lines: 3 warnings found (use docker --debug to expand): - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 21) - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 94) - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 95) The ENV syntax is defined as ENV FOO=BAR, not ENV FOO BAR, so adjust the Dockerfile to match to get rid of this warning. https://docs.docker.com/reference/dockerfile/#env Signed-off-by: Peter Korsgaard --- support/docker/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/support/docker/Dockerfile b/support/docker/Dockerfile index 93044eb7fd..d0bdc73bbf 100644 --- a/support/docker/Dockerfile +++ b/support/docker/Dockerfile @@ -18,7 +18,7 @@ description="Container with everything needed to run Buildroot" ARG TAR_VERSION="1.35" # Setup environment -ENV DEBIAN_FRONTEND noninteractive +ENV DEBIAN_FRONTEND=noninteractive # This repository can be a bit slow at times. Don't panic... COPY apt-sources.list /etc/apt/sources.list @@ -91,5 +91,5 @@ RUN useradd -ms /bin/bash br-user && \ USER br-user WORKDIR /home/br-user -ENV HOME /home/br-user -ENV LC_ALL en_US.UTF-8 +ENV HOME=/home/br-user +ENV LC_ALL=en_US.UTF-8