From 965b7f63b0cffc52b8cef3e47edbef988282fe1f Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Thu, 1 Aug 2024 08:20:31 +0200 Subject: [PATCH] Dockerfiles: correct ENV format Avoid docker warning: - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format --- docker/Dockerfile.base.rhel9 | 2 +- docker/Dockerfile.base.rocky | 2 +- docker/Dockerfile.base.ubuntu22 | 2 +- docker/Dockerfile.base.ubuntu22.cross-arm64 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile.base.rhel9 b/docker/Dockerfile.base.rhel9 index 03b4ccac91..dee50127ac 100644 --- a/docker/Dockerfile.base.rhel9 +++ b/docker/Dockerfile.base.rhel9 @@ -67,7 +67,7 @@ RUN rm -f /etc/rhsm-host && \ # Add "Tini - A tiny but valid init for containers", https://github.com/krallin/tini # it will be copied into target containers, to print exit numbers and handle signals properly -ENV TINI_VERSION v0.19.0 +ENV TINI_VERSION=v0.19.0 ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini RUN chmod +x /tini diff --git a/docker/Dockerfile.base.rocky b/docker/Dockerfile.base.rocky index 5b5debd862..0e9d630bac 100644 --- a/docker/Dockerfile.base.rocky +++ b/docker/Dockerfile.base.rocky @@ -48,7 +48,7 @@ RUN dnf install 'dnf-command(config-manager)' -y && \ # Add "Tini - A tiny but valid init for containers", https://github.com/krallin/tini # it will be copied into target containers, to print exit numbers and handle signals properly -ENV TINI_VERSION v0.19.0 +ENV TINI_VERSION=v0.19.0 ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini RUN chmod +x /tini diff --git a/docker/Dockerfile.base.ubuntu22 b/docker/Dockerfile.base.ubuntu22 index d1b90e2dcf..f23cf01ac0 100644 --- a/docker/Dockerfile.base.ubuntu22 +++ b/docker/Dockerfile.base.ubuntu22 @@ -57,7 +57,7 @@ RUN apt-get update && \ # Add "Tini - A tiny but valid init for containers", https://github.com/krallin/tini # it will be copied into target containers, to print exit numbers and handle signals properly -ENV TINI_VERSION v0.19.0 +ENV TINI_VERSION=v0.19.0 ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini RUN chmod +x /tini diff --git a/docker/Dockerfile.base.ubuntu22.cross-arm64 b/docker/Dockerfile.base.ubuntu22.cross-arm64 index 2be24289f5..74af391660 100644 --- a/docker/Dockerfile.base.ubuntu22.cross-arm64 +++ b/docker/Dockerfile.base.ubuntu22.cross-arm64 @@ -74,7 +74,7 @@ RUN apt-get update && \ # Add "Tini - A tiny but valid init for containers", https://github.com/krallin/tini # it will be copied into target containers, to print exit numbers and handle signals properly -ENV TINI_VERSION v0.19.0 +ENV TINI_VERSION=v0.19.0 ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini RUN chmod +x /tini