Skip to content

Commit

Permalink
Use Python 3.10 as default version in Dockerfile
Browse files Browse the repository at this point in the history
The Python version can be customized by using a Docker build argument,
such as `--build-arg PYTHON_VERSION=3.9`.
  • Loading branch information
br3ndonland committed Nov 2, 2021
1 parent 6f9f5e0 commit 0957b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG PYTHON_VERSION=3.9 LINUX_VERSION=
ARG PYTHON_VERSION=3.10 LINUX_VERSION=
FROM python:${PYTHON_VERSION}${LINUX_VERSION:+-$LINUX_VERSION} AS base
LABEL org.opencontainers.image.authors="Brendon Smith <[email protected]>"
LABEL org.opencontainers.image.description="Docker images and utilities to power your Python APIs and help you ship faster."
Expand Down

0 comments on commit 0957b2f

Please sign in to comment.