Update suggested python version to 3.10 in dockerfiles

This commit is contained in:
Andrew Morgan 2022-01-27 16:35:44 +00:00
parent 25e35af3fa
commit 3d8fbf142b
2 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@
# There is an optional PYTHON_VERSION build argument which sets the # There is an optional PYTHON_VERSION build argument which sets the
# version of python to build against. For example: # version of python to build against. For example:
# #
# docker build -f docker/Dockerfile --build-arg PYTHON_VERSION=3.8 . # docker build -f docker/Dockerfile --build-arg PYTHON_VERSION=3.10 .
# #
# An optional LIBOLM_VERSION build argument which sets the # An optional LIBOLM_VERSION build argument which sets the
# version of libolm to build against. For example: # version of libolm to build against. For example:
@ -22,7 +22,7 @@
# We use an initial docker container to build all of the runtime dependencies, # We use an initial docker container to build all of the runtime dependencies,
# then transfer those dependencies to the container we're going to ship, # then transfer those dependencies to the container we're going to ship,
# before throwing this one away # before throwing this one away
ARG PYTHON_VERSION=3.8 ARG PYTHON_VERSION=3.10
FROM docker.io/python:${PYTHON_VERSION}-alpine as builder FROM docker.io/python:${PYTHON_VERSION}-alpine as builder
## ##

View file

@ -13,7 +13,7 @@
# There is an optional PYTHON_VERSION build argument which sets the # There is an optional PYTHON_VERSION build argument which sets the
# version of python to build against. For example: # version of python to build against. For example:
# #
# docker build -f docker/Dockerfile --build-arg PYTHON_VERSION=3.8 . # docker build -f docker/Dockerfile --build-arg PYTHON_VERSION=3.10 .
# #
# An optional LIBOLM_VERSION build argument which sets the # An optional LIBOLM_VERSION build argument which sets the
# version of libolm to build against. For example: # version of libolm to build against. For example:
@ -21,7 +21,7 @@
# docker build -f docker/Dockerfile --build-arg LIBOLM_VERSION=3.2.10 . # docker build -f docker/Dockerfile --build-arg LIBOLM_VERSION=3.2.10 .
# #
ARG PYTHON_VERSION=3.8 ARG PYTHON_VERSION=3.10
FROM docker.io/python:${PYTHON_VERSION}-alpine FROM docker.io/python:${PYTHON_VERSION}-alpine
## ##