Skip to content

Commit

Permalink
Drop alternatives and use python3 bin
Browse files Browse the repository at this point in the history
  • Loading branch information
vkmc committed Aug 15, 2024
1 parent b13de7b commit 13d515f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ RUN INSTALL_PKGS="\
COPY . /source/app
WORKDIR /source/app

RUN alternatives --set python /usr/bin/python3 && \
python -m pip install --no-cache-dir -r requirements-build.txt && \
python -m pip install --no-cache-dir . && \
python -m pip freeze
RUN python3 -m pip install --no-cache-dir -r requirements-build.txt && \
python3 -m pip install --no-cache-dir . && \
python3 -m pip freeze

# Cleanup
# >> ignore SC2086 because passing quoted env vars to dnf causes issues (fail to install)
Expand Down

0 comments on commit 13d515f

Please sign in to comment.