Commit 2faa397e authored by tower's avatar tower

ffff

parent 975fab65
......@@ -31,7 +31,7 @@ RUN set -ex; \
COPY ./scripts/docker-entrypoint.sh /
RUN chmod +x /docker-entrypoint.sh
#USER $ZOO_USER
USER $ZOO_USER
WORKDIR "/home/$ZOO_USER"
RUN wget -q -P "/home/$ZOO_USER/zkui" http://192.168.28.141:8000/config.cfg http://192.168.28.141:8000/zkui-2.0.jar
......
#!/bin/bash
set -e
echo "--------"
echo $PATH
echo "--------"
# Allow the container to be started with `--user`
if [ "$1" = 'zkServer.sh' -a "$(id -u)" = '0' ]; then
chown -R "$ZOO_USER" "$ZOO_DATA_DIR" "$ZOO_DATA_LOG_DIR"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment