Skip to content

Commit 7b29fb9

Browse files
committed
updated cassandra version to 3.9
1 parent d41071e commit 7b29fb9

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

cassandra/Dockerfile

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM phusion/baseimage:0.9.19
22
MAINTAINER Daniel Covello
33
ENV DEBIAN_FRONTEND noninteractive
44

5-
ENV CASSANDRA_VERSION 3.5
5+
ENV CASSANDRA_VERSION 3.9
66

77
# Use baseimage-docker's init system
88
CMD ["/sbin/my_init"]
@@ -21,8 +21,8 @@ RUN /usr/bin/debconf-set-selections /tmp/oracle-license-debconf
2121
RUN 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
5545
RUN mkdir /etc/service/cassandra
5646
ADD src/start-cass.sh /etc/service/cassandra/run

0 commit comments

Comments
 (0)