Commit f2b8ef99 by wutong

CD/CI

parent 98c61602
FROM openjdk:8-jre-alpine FROM openjdk:8-jre-alpine
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& echo 'Asia/Shanghai' >/etc/timezone
# Install required packages # Install required packages
RUN apk add --no-cache \ RUN apk add --no-cache \
bash \ bash \
...@@ -54,5 +57,6 @@ ENV PATH=$PATH:/$DISTRO_NAME/bin \ ...@@ -54,5 +57,6 @@ ENV PATH=$PATH:/$DISTRO_NAME/bin \
ZOOCFGDIR=$ZOO_CONF_DIR ZOOCFGDIR=$ZOO_CONF_DIR
COPY data-zookeeper/docker-entrypoint.sh / COPY data-zookeeper/docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"] # ENTRYPOINT ["/docker-entrypoint.sh"]
ENTRYPOINT ["sh", "/docker-entrypoint.sh"]
CMD ["zkServer.sh", "start-foreground"] CMD ["zkServer.sh", "start-foreground"]
\ No newline at end of file
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