From 94176d70ee48b1703981cd8786c306f7c055e15d Mon Sep 17 00:00:00 2001 From: eschcam Date: Thu, 30 Mar 2023 13:47:20 +0100 Subject: Upgrade docker images to use Python 3 Issue-ID: SDC-4456 Signed-off-by: eschcam Change-Id: Ifa83fa9bc889920b9d29058870981a0ae0364240 --- sdc-os-chef/sdc-cassandra/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sdc-os-chef') diff --git a/sdc-os-chef/sdc-cassandra/Dockerfile b/sdc-os-chef/sdc-cassandra/Dockerfile index 4671cb036c..2c62e387a0 100644 --- a/sdc-os-chef/sdc-cassandra/Dockerfile +++ b/sdc-os-chef/sdc-cassandra/Dockerfile @@ -6,9 +6,12 @@ RUN apt-get -o Acquire::Check-Valid-Until=false update && \ curl \ wget \ perl \ - python \ + python3 \ + python3-pip \ ntp && \ apt-get -y autoremove && \ + pip3 install cqlsh==6.1.0 && \ + rm -rf "/opt/cassandra/bin/cqlsh*" && \ curl -L https://omnitruck.chef.io/install.sh | bash -s -- -v 13.12.14 COPY chef-solo /root/chef-solo/ -- cgit 1.2.3-korg