Skip to content

Commit

Permalink
Chore: Update Dockerfile with new syntax about ENV directives
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
amotl committed Aug 16, 2024
1 parent 2a98904 commit a5ab31f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release/oci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5ab31f

Please sign in to comment.