From a5ab31f4843d6b8d351ea2f6a35343acf0120a1d Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Fri, 16 Aug 2024 17:03:58 +0200 Subject: [PATCH] Chore: Update Dockerfile with new syntax about ENV directives The admonition raised by GHA check warnings is: > Legacy key/value format with whitespace separator should not be used > > LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy > "ENV key value" format > More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/ --- release/oci/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release/oci/Dockerfile b/release/oci/Dockerfile index e56e8b1f..38aedada 100644 --- a/release/oci/Dockerfile +++ b/release/oci/Dockerfile @@ -6,8 +6,8 @@ FROM python:3.11-slim-bookworm -ENV DEBIAN_FRONTEND noninteractive -ENV TERM linux +ENV DEBIAN_FRONTEND=noninteractive +ENV TERM=linux # Install Git, it is needed for `versioningit`. RUN rm -f /etc/apt/apt.conf.d/docker-clean; echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache