Skip to content
Snippets Groups Projects
Commit 6567b542 authored by nimrod's avatar nimrod
Browse files

Add python3 image.

parent 5096e37d
No related branches found
No related tags found
No related merge requests found
......@@ -123,3 +123,20 @@ push-pre-commit:
needs:
- job: build-pre-commit
artifacts: true
# python3 image:
build-python3:
extends: .container-build
variables:
CONTEXT: images/python3
push-python3:
extends: .container-push
variables:
CONTEXT: images/python3
IMAGE: ci-images
TAG: python3
needs:
- job: build-python3
artifacts: true
*
FROM buildpack-deps:bullseye
# hadolint ignore=DL3008,DL3013
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
python3-dev \
python3-pip \
python3-venv \
&& \
python3 -m pip install --progress-bar=off --no-cache-dir --upgrade pip && \
python3 -m pip install --progress-bar=off --no-cache-dir --upgrade \
pipenv \
poetry \
tox \
&& \
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/* /root/.cache/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment