Skip to content

Commit d33f747

Browse files
committed
Chore: Fix GHA/OCI check warning about legacy ENV key/value format
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/
1 parent 9c77120 commit d33f747

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

release/oci/full.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
FROM python:3.13-slim-bullseye
88

9-
ENV DEBIAN_FRONTEND noninteractive
10-
ENV TERM linux
9+
ENV DEBIAN_FRONTEND=noninteractive
10+
ENV TERM=linux
1111

1212
# Install Git, it is needed for `versioningit`.
1313
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

release/oci/standard.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
FROM python:3.13-slim-bullseye
88

9-
ENV DEBIAN_FRONTEND noninteractive
10-
ENV TERM linux
9+
ENV DEBIAN_FRONTEND=noninteractive
10+
ENV TERM=linux
1111

1212
# Install Git, it is needed for `versioningit`.
1313
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

0 commit comments

Comments
 (0)