From c3bccf3bd683ba96a17942762ded2dd24e43809f Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Nov 04 2021 11:35:24 +0000 Subject: Add dockerfile for cico-workspace-rdo image This is the custom image used by CloudSIG for jenkins workers pods. --- diff --git a/cico-workspace-rdo/Dockerfile b/cico-workspace-rdo/Dockerfile new file mode 100644 index 0000000..519f16f --- /dev/null +++ b/cico-workspace-rdo/Dockerfile @@ -0,0 +1,16 @@ +FROM quay.io/centosci/cico-workspace:latest + +MAINTAINER Alfredo Moralejo + +USER 0 + +ENV LANG en_US.UTF-8 +ENV LC_ALL en_US.UTF-8 +RUN rm -f /etc/yum.repos.d/infrastructure.repo +RUN yum install -y python3 python3-pip sudo && yum clean all +RUN yum update -y && yum clean all +RUN curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py && python2 ./get-pip.py +RUN pip install tox +RUN pip-3 install virtualenv + +USER 1001