aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-cassandra/Dockerfile
blob: 30c593393bec282fad7c8aa1bff3eed70a6a1ce9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM cassandra:3.11.15

RUN apt-get -o Acquire::Check-Valid-Until=false update && \
    apt-get -y --no-install-recommends install \
      apt-transport-https \
      curl \
      wget \
      perl \
      python3 \
      python3-pip \
      ntp && \
    apt-get -y autoremove && \
    pip3 install cqlsh==6.1.0 && \
    rm -rf "/opt/cassandra/bin/cqlsh*" && \
    curl -L https://omnitruck.chef.io/install.sh | bash -s -- -v 13.12.14

COPY chef-solo /root/chef-solo/
COPY chef-repo/cookbooks /root/chef-solo/cookbooks/
COPY startup.sh /root/

RUN chmod 770 /root/startup.sh

ENTRYPOINT [ "/root/startup.sh" ]