aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2022-03-28 16:37:59 +0100
committerMichael Morris <michael.morris@est.tech>2022-04-11 12:38:24 +0000
commit10999e8145661c2a27a9e9c1876ee4dc915e2b80 (patch)
tree5655a333e6d785efb964e7acfaff1e0fe6a58762 /sdc-os-chef
parent2441f88c65f7407ca74e53fd502752277830735b (diff)
Upgrade cassandra image
Retire 'sdc-docker-base' repo, replace with direct usage Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3932 Change-Id: I14028cbacf2771b74bd9b78010d61dc1f4d4a75b
Diffstat (limited to 'sdc-os-chef')
-rw-r--r--sdc-os-chef/sdc-cassandra/Dockerfile17
1 files changed, 13 insertions, 4 deletions
diff --git a/sdc-os-chef/sdc-cassandra/Dockerfile b/sdc-os-chef/sdc-cassandra/Dockerfile
index ef85070ac7..4671cb036c 100644
--- a/sdc-os-chef/sdc-cassandra/Dockerfile
+++ b/sdc-os-chef/sdc-cassandra/Dockerfile
@@ -1,11 +1,20 @@
-FROM onap/base_sdc-cassandra:1.7.0
+FROM cassandra:3.11.12
-COPY chef-solo /root/chef-solo/
+RUN apt-get -o Acquire::Check-Valid-Until=false update && \
+ apt-get -y --no-install-recommends install \
+ apt-transport-https \
+ curl \
+ wget \
+ perl \
+ python \
+ ntp && \
+ apt-get -y autoremove && \
+ 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" ]
+ENTRYPOINT [ "/root/startup.sh" ] \ No newline at end of file