diff options
Diffstat (limited to 'base_sdc-cassandra/Dockerfile')
-rw-r--r-- | base_sdc-cassandra/Dockerfile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/base_sdc-cassandra/Dockerfile b/base_sdc-cassandra/Dockerfile index 8db29b3..6dddaa7 100644 --- a/base_sdc-cassandra/Dockerfile +++ b/base_sdc-cassandra/Dockerfile @@ -46,18 +46,22 @@ FROM cassandra:2.1.17 # zlib1g # CVE-2016-9843 CVE-2016-9841 CVE-2016-9842 CVE-2016-9840 -RUN echo "deb http://deb.debian.org/debian stretch main" >> /etc/apt/sources.list && \ +RUN sed -i '/deb http:\/\/deb.debian.org\/debian jessie-updates main/d' /etc/apt/sources.list && \ + sed -i '/deb http:\/\/deb.debian.org\/debian jessie-backports main/d' /etc/apt/sources.list.d/backports.list && \ + echo "deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main" >> /etc/apt/sources.list && \ + echo "deb http://deb.debian.org/debian stretch main" >> /etc/apt/sources.list && \ echo "deb http://deb.debian.org/debian stretch-updates main" >> /etc/apt/sources.list && \ echo "deb http://security.debian.org stretch/updates main" >> /etc/apt/sources.list && \ echo "deb http://deb.debian.org/debian buster main" >> /etc/apt/sources.list && \ echo "deb http://deb.debian.org/debian buster-updates main" >> /etc/apt/sources.list && \ echo "deb http://security.debian.org buster/updates main" >> /etc/apt/sources.list && \ - apt-get -y update && \ + apt-get -o Acquire::Check-Valid-Until=false update && \ + apt-get -y install -t jessie-backports ca-certificates-java && \ + apt-get -y install -t jessie-backports openjdk-8-jre-headless && \ apt-get -y --no-install-recommends install \ vim \ vim-runtime \ apt-utils \ - openjdk-8-jdk \ libavahi-client3 \ libavahi-common3 \ curl \ @@ -94,5 +98,5 @@ RUN echo "deb http://deb.debian.org/debian stretch main" >> /etc/apt/sources.lis ntp && \ apt-get -y autoremove && \ update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java && \ - curl -L https://omnitruck.chef.io/install.sh | bash + curl -L https://omnitruck.chef.io/install.sh | bash -s -- -v 13.8.5 |