Fixed Cassandra installation script
This commit is contained in:
parent
a32e8b7342
commit
4c3d6a3c87
@ -17,10 +17,9 @@
|
|||||||
FROM thingsboard/openjdk8
|
FROM thingsboard/openjdk8
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -y apt-transport-https ca-certificates
|
|
||||||
RUN apt-get install -y curl nmap procps
|
RUN apt-get install -y curl nmap procps
|
||||||
RUN echo 'deb http://www.apache.org/dist/cassandra/debian 311x main' | tee --append /etc/apt/sources.list.d/cassandra.list > /dev/null
|
RUN echo 'deb http://www.apache.org/dist/cassandra/debian 311x main' | tee --append /etc/apt/sources.list.d/cassandra.list > /dev/null
|
||||||
RUN wget -qO - https://www.apache.org/dist/cassandra/KEYS | apt-key add -
|
RUN curl -L https://www.apache.org/dist/cassandra/KEYS | apt-key add -
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -y cassandra cassandra-tools
|
RUN apt-get install -y cassandra cassandra-tools
|
||||||
RUN update-rc.d cassandra disable
|
RUN update-rc.d cassandra disable
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user