Skip to content

Commit d6efb7b

Browse files
committed
Update ENV format to remove Docker warnings
The old style results in Docker build issuing warnings that the old format should not be used any longer.
1 parent 9285fd8 commit d6efb7b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile-linux.template

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ FROM buildpack-deps:{{ env.variant }}
2020
{{ ) end -}}
2121

2222
# ensure local python is preferred over distribution python
23-
ENV PATH /usr/local/bin:$PATH
23+
ENV PATH=/usr/local/bin:$PATH
2424

2525
{{ if [ "3.9", "3.10", "3.11", "3.12" ] | index(rcVersion) then ( -}}
2626
{{ # only set LANG on versions less than 3.13 -}}
2727
# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed
2828
# last attempted removal of LANG broke many users:
2929
# https://github.com/docker-library/python/pull/570
30-
ENV LANG C.UTF-8
30+
ENV LANG=C.UTF-8
3131

3232
{{ ) else "" end -}}
3333
# runtime dependencies
@@ -54,7 +54,7 @@ RUN set -eux; \
5454
rm -rf /var/lib/apt/lists/*
5555
{{ ) end -}}
5656

57-
ENV GPG_KEY {{
57+
ENV GPG_KEY={{
5858
{
5959
# gpg: key B26995E310250568: public key "\xc5\x81ukasz Langa (GPG langa.pl) <lukasz@langa.pl>" imported
6060
"3.9": "E3FF2839C048B25C084DEBE9B26995E310250568",
@@ -77,7 +77,7 @@ ENV GPG_KEY {{
7777
# https://peps.python.org/pep-0719/#release-manager-and-crew
7878
}[rcVersion]
7979
}}
80-
ENV PYTHON_VERSION {{ .version }}
80+
ENV PYTHON_VERSION={{ .version }}
8181

8282
RUN set -eux; \
8383
\

0 commit comments

Comments
 (0)