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

Add python3-build image.

parent 6567b542
No related branches found
No related tags found
No related merge requests found
Pipeline #2361 passed
......@@ -140,3 +140,20 @@ push-python3:
needs:
- job: build-python3
artifacts: true
# python3-build image:
build-python3-build:
extends: .container-build
variables:
CONTEXT: images/python3-build
push-python3-build:
extends: .container-push
variables:
CONTEXT: images/python3-build
IMAGE: ci-images
TAG: python3-build
needs:
- job: build-python3-build
artifacts: true
*
# hadolint ignore=DL3006
FROM registry.hub.docker.com/library/centos:7
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
# hadolint ignore=DL3013,DL3033
RUN yum group install -y "Development tools" && \
yum install -y \
python3-devel \
python3-pip \
python3-wheel \
&& \
yum clean all && \
pip3 install --no-cache-dir --upgrade pip && \
pip3 install --no-cache-dir \
auditwheel \
build \
docutils \
pipenv \
poetry \
pygments \
pyinstaller \
tox \
twine \
wheel \
&& \
rm -rf /tmp/* /var/tmp/* ~/.cache/* /var/cache/yum/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment