FROM cassandra:2.2.4 MAINTAINER Carlos Badenes ENV CASSANDRA_START_RPC true ENV CATALINA_HOME /usr/local/apache-tomcat-7.0.30 ENV PATH $CATALINA_HOME/bin:$PATH RUN mkdir -p -m 777 "$CATALINA_HOME" WORKDIR /usr/local RUN apt-get update \ && apt-get install -y curl zip unzip ENV HELENOS_URL http://freefr.dl.sourceforge.net/project/helenos-gui/Bundles/helenos-1.5-tomcat7_bundle.zip RUN set -x \ && curl -fSL "$HELENOS_URL" -o helenos.zip \ && unzip helenos.zip \ && rm helenos.zip \ && chmod -R 777 $CATALINA_HOME COPY custom-entrypoint.sh /custom-entrypoint.sh ENTRYPOINT ["/custom-entrypoint.sh"] EXPOSE 7000 7001 7199 8080 9042 9160 CMD ["cassandra", "-f"] #CMD ["/usr/local/apache-tomcat-7.0.30/bin/catalina.sh", "start"]