Skip to content

Commit 06a6403

Browse files
committed
OCI: Mitigate warnings emitted by Docker about new ENV syntax
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format
1 parent 5b1a30b commit 06a6403

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

release/oci-runtime/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
FROM python:3.11-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 both `versioningit`, and MLflow.
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-server/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
FROM python:3.11-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 both `versioningit`, and MLflow.
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)