Bake in virtualenv in krkn images

This is needed to tie the python version being used in case multiple
versions are installed.
This commit is contained in:
Naga Ravi Chaitanya Elluri
2023-07-24 12:52:20 -04:00
parent 19cc2c047f
commit 4084ffd9c6
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -17,6 +17,7 @@ RUN yum install -y git python39 python3-pip jq gettext wget && \
git clone https://github.com/redhat-chaos/krkn.git --branch v1.3.5 /root/kraken && \
mkdir -p /root/.kube && cd /root/kraken && \
pip3.9 install -r requirements.txt && \
pip3.9 install virtualenv && \
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq && chmod +x /usr/bin/yq
# Get Kubernetes and OpenShift clients from stable releases
+1
View File
@@ -17,6 +17,7 @@ RUN yum install -y git python39 python3-pip jq gettext wget && \
git clone https://github.com/redhat-chaos/krkn.git --branch v1.3.5 /root/kraken && \
mkdir -p /root/.kube && cd /root/kraken && \
pip3.9 install -r requirements.txt && \
pip3.9 install virtualenv && \
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq && chmod +x /usr/bin/yq
# Get Kubernetes and OpenShift clients from stable releases