diff --git a/Dockerfile.in b/Dockerfile.in index eeaad17..8cb8511 100644 --- a/Dockerfile.in +++ b/Dockerfile.in @@ -22,8 +22,10 @@ RUN apk update \ && update-ca-certificates ADD bin/ARG_OS-ARG_ARCH/ARG_SRC_BIN /ARG_BIN +COPY scripts/docker-entrypoint.sh /usr/local/bin/ EXPOSE 5000 USER nobody:nobody -ENTRYPOINT ["/ARG_BIN"] +ENTRYPOINT ["docker-entrypoint.sh"] +CMD ["/ARG_BIN"] diff --git a/scripts/docker-entrypoint.sh b/scripts/docker-entrypoint.sh new file mode 100644 index 0000000..5c8a76a --- /dev/null +++ b/scripts/docker-entrypoint.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +echo Your container args are: "$@" + +exec "$@" +