Adding CNFM testing basic setup
[integration/csit.git] / plans / so / integration-etsi-testing / so-simulators / package / docker / src / main / docker / docker-files / kind-cluster / Dockerfile.kind-cluster
index be2bcbb..8d9f8c8 100644 (file)
@@ -1,4 +1,4 @@
-FROM library/alpine:3.8
+FROM library/alpine:latest
 
 RUN apk -U upgrade && apk add       ca-certificates       util-linux  gnupg       curl       make       kmod       procps  bash  && gpg --keyserver https://download.docker.com/linux/debian/gpg --recv-keys && apk update && apk add docker openrc && rm -rf /var/lib/apt/lists/*
 RUN update-alternatives --set iptables  /usr/sbin/iptables-legacy || true &&     update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy || true &&     update-alternatives --set arptables /usr/sbin/arptables-legacy || true
@@ -24,5 +24,5 @@ EXPOSE 30001
 COPY entrypoint-original.sh /entrypoint-original.sh
 RUN chmod 777 /entrypoint-original.sh
 
-ENTRYPOINT ["/entrypoint.sh"]
+ENTRYPOINT ["/bin/bash", "-c", "/entrypoint.sh; if [ $? -eq 0 ]; then echo 'Successfully created kind cluster'; else echo 'Failed creating kind cluster'; fi"]
 CMD ["tail", "-f", "/dev/null"]
\ No newline at end of file