Skip to content
This repository was archived by the owner on Feb 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile-tools
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down