diff --git a/Dockerfile b/Dockerfile index ef2f910..d5bb900 100755 --- a/Dockerfile +++ b/Dockerfile @@ -7,8 +7,8 @@ COPY Pipfile* /opt/app-root/src/ ## NOTE - rhel enforces user container permissions stronger ## USER root -RUN python3 -m pip install --upgrade pip \ - && python3 -m pip install --upgrade pipenv \ +RUN pip3 install --upgrade pip==21.3.1 \ + && pip3 install --upgrade pipenv==2020.11.15 \ && pipenv install --deploy RUN pipenv lock -r > requirements.txt && pip3 install -r requirements.txt diff --git a/Dockerfile-tools b/Dockerfile-tools index 8e4ca2b..b495574 100755 --- a/Dockerfile-tools +++ b/Dockerfile-tools @@ -9,8 +9,9 @@ USER root RUN yum -y install --disableplugin=subscription-manager wget \ && yum --disableplugin=subscription-manager clean all -RUN pip3 install pipenv -RUN pipenv install --dev +RUN pip3 install --upgrade pip==21.3.1 \ + && pip3 install --upgrade pipenv==2020.11.15 \ + && pipenv install --dev # Update python command to point to python3 install RUN alternatives --set python /usr/bin/python3