mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-08-25 09:27:36 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user