[Tarantool-patches] [PATCH] static build: set dockerfile entrypoint to exec form
Alexander V. Tikhonov
avtikhon at tarantool.org
Fri May 8 15:39:27 MSK 2020
Hi Aleksandr, thanks for the patch, LGTM.
On Fri, May 08, 2020 at 01:17:03PM +0300, HustonMmmavr wrote:
> 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