From 2c5ec51588430de07c5f8018789ac03daf95e48e Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Wed, 12 Jan 2022 14:18:49 -0500 Subject: [PATCH] Smoke test in portable build --- portable.Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/portable.Dockerfile b/portable.Dockerfile index 9536d74e..e5be363a 100644 --- a/portable.Dockerfile +++ b/portable.Dockerfile @@ -40,7 +40,9 @@ COPY --from=builder /usr/local /usr/local # the -dev packages to save space! 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 \ + && bash -c "eval $(python3 /code/opendm/context.py) && python3 -c 'from opensfm import io, pymap'" # Entry point ENTRYPOINT ["python3", "/code/run.py"]