Public | Automated Build

Last pushed: a year ago
FROM java:openjdk-7-jdk-alpine ARG CASSANDRA_VERSION=2.0.17 # Make Alpine Linux resolve localhost RUN echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf RUN apk add --update --no-cache wget supervisor bash openssl curl tar g++ # install g++ & glibc # to make snappy native library work as it as dependecy on c++ & libc # see and RUN apk --update --no-cache update glibc-2.21-r2 glibc-bin-2.21-r2 RUN mkdir -p /data /logs /init /opt/cassandra RUN wget --no-check-certificate --progress=dot:mega -O -$CASSANDRA_VERSION/apache-cassandra-$CASSANDRA_VERSION-bin.tar.gz | tar -zx -C /opt/cassandra --strip-components=1 # FIXME : following does not work as mirror does not have older cassandra versions #RUN wget -q -O - $(wget -q -O - "" | jq -r .preferred)/dist/cassandra/$CASSANDRA_VERSION/apache-cassandra-$CASSANDRA_VERSION-bin.tar.gz | \ # tar -xzf - -C /opt/cassandra --strip-components=1 EXPOSE 7000 7001 7199 9160 9042 CMD "/opt/cassandra/bin/" ADD cassandra.yaml /opt/cassandra/conf/cassandra.yaml ADD /opt/cassandra/conf/ ADD /opt/cassandra/conf/ ADD /opt/cassandra/bin/ ADD /opt/cassandra/conf/
Source Repository