Adding kind cluster registration test
[integration/csit.git] / plans / so / integration-etsi-testing / so-simulators / package / docker / src / main / docker / docker-files / kind-cluster / Dockerfile.kind-cluster
index 8d9f8c8..b2db333 100644 (file)
@@ -24,5 +24,4 @@ EXPOSE 30001
 COPY entrypoint-original.sh /entrypoint-original.sh
 RUN chmod 777 /entrypoint-original.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
+ENTRYPOINT ["/bin/bash", "-c", "/entrypoint.sh; if [ $? -eq 0 ]; then echo 'Successfully created kind cluster'; tail -f /dev/null; else echo 'Failed creating kind cluster'; exit 1; fi"]
\ No newline at end of file