aboutsummaryrefslogtreecommitdiffstats
path: root/plans/so/integration-etsi-testing/so-simulators/package/docker/src/main/docker/docker-files/kind-cluster/Dockerfile.kind-cluster
diff options
context:
space:
mode:
authorwaqas.ikram <waqas.ikram@est.tech>2023-03-02 16:33:00 +0000
committerwaqas.ikram <waqas.ikram@est.tech>2023-03-03 12:06:57 +0000
commit47aaf95ecee286c26ee30b1acecdbcb930f9b6bf (patch)
tree4c683b8606646c53a44bc96acda160fb8ae7269d /plans/so/integration-etsi-testing/so-simulators/package/docker/src/main/docker/docker-files/kind-cluster/Dockerfile.kind-cluster
parentbd9ac8df9d6ed194750b8df668e2dbedde26574c (diff)
Adding CNFM testing basic setup
Change-Id: I59999a001f4a861a6cc955b839180374675f5405 Issue-ID: SO-4067 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
Diffstat (limited to 'plans/so/integration-etsi-testing/so-simulators/package/docker/src/main/docker/docker-files/kind-cluster/Dockerfile.kind-cluster')
-rw-r--r--plans/so/integration-etsi-testing/so-simulators/package/docker/src/main/docker/docker-files/kind-cluster/Dockerfile.kind-cluster4
1 files changed, 2 insertions, 2 deletions
diff --git a/plans/so/integration-etsi-testing/so-simulators/package/docker/src/main/docker/docker-files/kind-cluster/Dockerfile.kind-cluster b/plans/so/integration-etsi-testing/so-simulators/package/docker/src/main/docker/docker-files/kind-cluster/Dockerfile.kind-cluster
index be2bcbb5..8d9f8c87 100644
--- a/plans/so/integration-etsi-testing/so-simulators/package/docker/src/main/docker/docker-files/kind-cluster/Dockerfile.kind-cluster
+++ b/plans/so/integration-etsi-testing/so-simulators/package/docker/src/main/docker/docker-files/kind-cluster/Dockerfile.kind-cluster
@@ -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