Commit 6567b542 authored by nimrod's avatar nimrod
Browse files

Add python3 image.

parent 5096e37d
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
*
+15 −0
Original line number Diff line number Diff line
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/*