Fix 'Missing Substitution Map Node after update Service'-bug
[sdc.git] / sdc-os-chef / sdc-cassandra / Dockerfile
1 FROM cassandra:3.11.15
2
3 RUN apt-get -o Acquire::Check-Valid-Until=false update && \
4     apt-get -y --no-install-recommends install \
5       apt-transport-https \
6       curl \
7       wget \
8       perl \
9       python3 \
10       python3-pip \
11       ntp && \
12     apt-get -y autoremove && \
13     pip3 install cqlsh==6.1.0 && \
14     rm -rf "/opt/cassandra/bin/cqlsh*" && \
15     curl -L https://omnitruck.chef.io/install.sh | bash -s -- -v 13.12.14
16
17 COPY chef-solo /root/chef-solo/
18 COPY chef-repo/cookbooks /root/chef-solo/cookbooks/
19 COPY startup.sh /root/
20
21 RUN chmod 770 /root/startup.sh
22
23 ENTRYPOINT [ "/root/startup.sh" ]