Skip to content

Commit f1b270c

Browse files
committed
Update Python version used in Dockerfile
* Address warnings raised by docker over env vars Signed-off-by: Jono Yang <[email protected]>
1 parent 166b616 commit f1b270c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
# See https://aboutcode.org for more information about nexB OSS projects.
88
#
99

10-
FROM --platform=linux/amd64 python:3.12-slim-bookworm
10+
FROM --platform=linux/amd64 python:3.13-slim-bookworm AS build_amd64
1111

1212
# Python settings: Force unbuffered stdout and stderr (i.e. they are flushed to terminal immediately)
13-
ENV PYTHONUNBUFFERED 1
13+
ENV PYTHONUNBUFFERED=1
1414
# Python settings: do not write pyc files
15-
ENV PYTHONDONTWRITEBYTECODE 1
15+
ENV PYTHONDONTWRITEBYTECODE=1
1616

1717
# OS requirements as per
1818
# https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html

0 commit comments

Comments
 (0)