@@ -2,7 +2,7 @@ FROM phusion/baseimage:0.9.19
22MAINTAINER Daniel Covello
33ENV DEBIAN_FRONTEND noninteractive
44
5- ENV CASSANDRA_VERSION 3.5
5+ ENV CASSANDRA_VERSION 3.9
66
77# Use baseimage-docker's init system
88CMD ["/sbin/my_init" ]
@@ -21,8 +21,8 @@ RUN /usr/bin/debconf-set-selections /tmp/oracle-license-debconf
2121RUN rm /tmp/oracle-license-debconf
2222
2323# Add cassandre repo
24- RUN apt-key adv --keyserver ha. pool.sks-keyservers.net --recv-keys 514A2AD631A57A16DD0047EC749D6EEC0353B12C && \
25- echo 'deb http://www.apache.org/dist/cassandra/debian 35x main' >> /etc/apt/sources.list.d/cassandra.list
24+ RUN apt-key adv --keyserver pool.sks-keyservers.net --recv-key A278B781FE4B2BDA \
25+ && echo 'deb http://www.apache.org/dist/cassandra/debian 39x main' >> /etc/apt/sources.list.d/cassandra.list
2626
2727
2828# Install the JDK
@@ -41,16 +41,6 @@ RUN apt-get update -y && apt-get install -y software-properties-common \
4141 && apt-get install -y cassandra="$CASSANDRA_VERSION" \
4242 && rm -rf /var/lib/apt/lists/*
4343
44- # #Instal missing python-support
45- # RUN apt-get update && apt-get install ajenti \
46- # && wget http://launchpadlibrarian.net/109052632/python-support_1.0.15_all.deb \
47- # && dpkg -i python-support_1.0.15_all.deb
48-
49- # RUN echo "deb http://debian.datastax.com/datastax-ddc $CASSANDRA_VERSION main" | tee -a /etc/apt/sources.list.d/cassandra.sources.list
50- # RUN cat /etc/apt/sources.list.d/cassandra.sources.list
51- # RUN curl -L https://debian.datastax.com/debian/repo_key | apt-key add -
52- # RUN apt-get update && apt-get -y install ajenti datastax-ddc
53-
5444# Copy Cassandra Startup Scripts
5545RUN mkdir /etc/service/cassandra
5646ADD src/start-cass.sh /etc/service/cassandra/run
0 commit comments