diff --git a/Dockerfile b/Dockerfile index 2c528088..cf532b7b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,9 +38,11 @@ COPY --from=builder /usr/local /usr/local # Install shared libraries that we depend on via APT, but *not* # the -dev packages to save space! +# Also run a smoke test RUN bash configure.sh installruntimedepsonly \ && apt-get clean \ - && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \ + && bash run.sh --help # Entry point ENTRYPOINT ["python3", "/code/run.py"] diff --git a/gpu.Dockerfile b/gpu.Dockerfile index 06e64308..ae959c89 100644 --- a/gpu.Dockerfile +++ b/gpu.Dockerfile @@ -42,9 +42,11 @@ RUN apt update && apt install -y nvidia-opencl-icd-340 intel-opencl-icd # Install shared libraries that we depend on via APT, but *not* # the -dev packages to save space! +# Also run a smoke test RUN bash configure.sh installruntimedepsonly \ && apt-get clean \ - && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \ + && bash run.sh --help # Entry point ENTRYPOINT ["python3", "/code/run.py"]