From ebe8455536a06a353f05e0abb443eb56879057f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Sat, 19 Jun 2021 07:41:09 +0300 Subject: [PATCH] Make `docker build` fail if submodule has not been checked out --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index e82e6c5..ae2d7dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,4 +12,7 @@ COPY entrypoint.sh /entrypoint.sh COPY bridge.sh /scripts/ RUN chmod +x /scripts/bridge.sh RUN chmod +x /entrypoint.sh +RUN test -f /scripts/smartmon.sh +RUN test -f /scripts/nvme_metrics.sh +RUN test -f /scripts/ipmitool ENTRYPOINT /entrypoint.sh