You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
551 B
25 lines
551 B
10 months ago
|
FROM registry.access.redhat.com/ubi7/ubi:7.9
|
||
|
|
||
|
VOLUME /repo
|
||
|
|
||
|
RUN yum update -y && \
|
||
|
yum install -y python-virtualenv python-setuptools make git rsync
|
||
|
|
||
|
# see ./Containerfile.ubi7 for explanation
|
||
|
RUN yum -y install python27-python-pip && \
|
||
|
scl enable python27 -- pip install -U --target /usr/lib/python2.7/site-packages/ pip==20.3.0 && \
|
||
|
python -m pip install --ignore-installed pip==20.3.4 ipaddress virtualenv
|
||
|
|
||
|
ENV PYTHON_VENV python2.7
|
||
|
|
||
|
COPY . /repocopy
|
||
|
|
||
|
WORKDIR /repocopy
|
||
|
|
||
|
RUN rm -rf tut*
|
||
|
|
||
|
RUN make clean && make install-deps
|
||
|
|
||
|
WORKDIR /
|
||
|
|