Commit 4c3d6a3c87ae8c25429c9a049ebed033017ea2a0
1 parent
a32e8b73
Fixed Cassandra installation script
Showing
1 changed file
with
1 additions
and
2 deletions
@@ -17,10 +17,9 @@ | @@ -17,10 +17,9 @@ | ||
17 | FROM thingsboard/openjdk8 | 17 | FROM thingsboard/openjdk8 |
18 | 18 | ||
19 | RUN apt-get update | 19 | RUN apt-get update |
20 | -RUN apt-get install -y apt-transport-https ca-certificates | ||
21 | RUN apt-get install -y curl nmap procps | 20 | RUN apt-get install -y curl nmap procps |
22 | RUN echo 'deb http://www.apache.org/dist/cassandra/debian 311x main' | tee --append /etc/apt/sources.list.d/cassandra.list > /dev/null | 21 | RUN echo 'deb http://www.apache.org/dist/cassandra/debian 311x main' | tee --append /etc/apt/sources.list.d/cassandra.list > /dev/null |
23 | -RUN wget -qO - https://www.apache.org/dist/cassandra/KEYS | apt-key add - | 22 | +RUN curl -L https://www.apache.org/dist/cassandra/KEYS | apt-key add - |
24 | RUN apt-get update | 23 | RUN apt-get update |
25 | RUN apt-get install -y cassandra cassandra-tools | 24 | RUN apt-get install -y cassandra cassandra-tools |
26 | RUN update-rc.d cassandra disable | 25 | RUN update-rc.d cassandra disable |