diff options
author | Alexander Mazuruk <a.mazuruk@samsung.com> | 2022-06-01 12:22:46 +0200 |
---|---|---|
committer | Alexander Mazuruk <a.mazuruk@samsung.com> | 2022-06-01 12:49:36 +0200 |
commit | 7c3b603260c2e3b242e028105a5c5fa0cc342245 (patch) | |
tree | b8f695e3a8cc5f859733c6e7cf1d4b58ed9a2c5b | |
parent | e4bf89387ae61d92e95f633ef9ef4d9a095113c6 (diff) |
[KOHN] Create python baseline image
Bump versions:
Python 3.10.2 -> 3.10.4
Alpine 3.15 -> 3.16
Pip 21.2.4 -> 22.0.4
Issue-ID: INT-2120
Signed-off-by: Alexander Mazuruk <a.mazuruk@samsung.com>
Change-Id: I9176f06439e5384bb866e4b37be38309b0a7a525
-rw-r--r-- | Dockerfile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,5 +1,5 @@ #Copyright (c) 2014 Docker, Inc. -#Copyright (c) 2021 Samsung Electronics, Co Ltd. +#Copyright (c) 2022 Samsung Electronics, Co Ltd. # #Permission is hereby granted, free of charge, to any person obtaining #a copy of this software and associated documentation files (the @@ -26,7 +26,7 @@ # Those Dockerfiles are generated for each new release. # Below is copy-paste from a generated Dockerfile, # with GPLv3 dependencies removed. -FROM alpine:3.15 +FROM alpine:3.16 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH @@ -46,7 +46,7 @@ RUN set -eux; \ # other runtime dependencies for Python are installed later ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.2 +ENV PYTHON_VERSION 3.10.4 RUN set -ex \ && apk add --no-cache --virtual .fetch-deps \ @@ -133,12 +133,12 @@ RUN cd /usr/local/bin \ && ln -s python3-config python-config # if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'" -ENV PYTHON_PIP_VERSION 21.2.4 +ENV PYTHON_PIP_VERSION 22.0.4 # https://github.com/docker-library/python/issues/365 ENV PYTHON_SETUPTOOLS_VERSION 58.1.0 # https://github.com/pypa/get-pip -ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/534008396564b4283e0f418b27020744cc352a4d/public/get-pip.py -ENV PYTHON_GET_PIP_SHA256 f2aaa496cb4dc3c7f3ceb9fe72d6dbe770f4e9c4013b66d7c81903b4420134fa +ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/6ce3639da143c5d79b44f94b04080abf2531fd6e/public/get-pip.py +ENV PYTHON_GET_PIP_SHA256 ba3ab8267d91fd41c58dbce08f76db99f747f716d85ce1865813842bb035524d RUN set -ex; \ \ |