[Tarantool-patches] [PATCH] static build: set dockerfile entrypoint to exec form

HustonMmmavr huston.mavr at gmail.com
Fri May 8 13:17:03 MSK 2020


According to dockerfile reference, there are two forms of specifying
entrypoint: exec and shell. Exec form is preferred and allows to use
this image in scripts.

Close #4960
---
Issue: https://github.com/tarantool/tarantool/issues/4960
Branch: https://github.com/tarantool/tarantool/tree/HustonMmmavr/gh-4960-inappropriate-dockerfile.staticbuild-syntax
 Dockerfile.staticbuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Dockerfile.staticbuild b/Dockerfile.staticbuild
index a1c47a85e..253f2d5e9 100644
--- a/Dockerfile.staticbuild
+++ b/Dockerfile.staticbuild
@@ -95,4 +95,4 @@ RUN if [ -n "${RUN_TESTS}" ]; then \
         /usr/bin/python test-run.py --force; \
     fi
 
-ENTRYPOINT /bin/bash
+ENTRYPOINT ["/bin/bash"]
-- 
2.26.2



More information about the Tarantool-patches mailing list