Skip to content
Open
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@

# Ignore GoLand
.idea

.DS_Store
9 changes: 6 additions & 3 deletions images/stackrox-test.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ RUN dnf update -y \
lsof \
lz4 \
openssl \
python3-devel \
python39 \
python39-devel \
unzip \
xmlstarlet \
xz \
Expand Down Expand Up @@ -74,8 +75,10 @@ RUN set -ex \
&& command -v docker \
&& (docker version --format '{{.Client.Version}}' || true)

# Symlink python to python3
RUN ln -s /usr/bin/python3 /usr/bin/python
# Symlink python to python3.
# Explicitly set python3 to python3.9 instead of python3.6, the latter is required to keep for nodejs.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty for explaining why 👍

RUN update-alternatives --set python3 /usr/bin/python3.9 \
&& ln -s /usr/bin/python3 /usr/bin/python

# oc
RUN set -ex \
Expand Down