Upgrade docker images to use Python 3
[sdc.git] / sdc-os-chef / sdc-cassandra / Dockerfile
index 4671cb0..2c62e38 100644 (file)
@@ -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/