Skip to content

Commit

Permalink
rbac Dockerfile for pr-check simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
petracihalova committed May 23, 2024
1 parent 281ad3a commit 38b5a2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions Dockerfile-pr-check
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
FROM registry.access.redhat.com/ubi8/python-39:latest
WORKDIR $APP_ROOT
USER root
COPY Pipfile .
COPY Pipfile.lock .
COPY tox.ini .
COPY mypy.ini .
COPY requirements.txt .
COPY Makefile .

# install related pip dependencies
ENV PIP_DEFAULT_TIMEOUT=100
RUN pip install --upgrade pip
RUN pip install pipenv
RUN pip install tox
RUN pipenv install --deploy && \
pipenv --clear

#copy the src files
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion pr_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ source $CICD_ROOT/deploy_ephemeral_env.sh
# Run smoke tests with ClowdJobInvocation
source $CICD_ROOT/cji_smoke_test.sh

#Run the new image for the unit_tests and run the unit tests
# Run the new image for the unit_tests and run the unit tests
source $APP_ROOT/unit_test.sh

0 comments on commit 38b5a2c

Please sign in to comment.