fix
This commit is contained in:
parent
7d96689ae6
commit
e15a2b609c
@ -95,7 +95,7 @@ RUN set -eux; \
|
|||||||
echo '#!/bin/sh' > /usr/local/bin/docker-entrypoint.sh; \
|
echo '#!/bin/sh' > /usr/local/bin/docker-entrypoint.sh; \
|
||||||
echo 'set -e' >> /usr/local/bin/docker-entrypoint.sh; \
|
echo 'set -e' >> /usr/local/bin/docker-entrypoint.sh; \
|
||||||
echo "# perpend `keydb-server` if not provided as first argument" >> /usr/local/bin/docker-entrypoint.sh; \
|
echo "# perpend `keydb-server` if not provided as first argument" >> /usr/local/bin/docker-entrypoint.sh; \
|
||||||
echo 'if [ != "keydb-server" ]' >> /usr/local/bin/docker-entrypoint.sh; \
|
echo 'if [ "${1}" != "keydb-server" ]; then' >> /usr/local/bin/docker-entrypoint.sh; \
|
||||||
echo ' set -- keydb-server "$@"' >> /usr/local/bin/docker-entrypoint.sh; \
|
echo ' set -- keydb-server "$@"' >> /usr/local/bin/docker-entrypoint.sh; \
|
||||||
echo 'fi' >> /usr/local/bin/docker-entrypoint.sh; \
|
echo 'fi' >> /usr/local/bin/docker-entrypoint.sh; \
|
||||||
echo "# allow the container to be started with `--user`" >> /usr/local/bin/docker-entrypoint.sh; \
|
echo "# allow the container to be started with `--user`" >> /usr/local/bin/docker-entrypoint.sh; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user