mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
update dockerfiles
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
9bbde9b4cf
commit
35412e397f
|
@ -14,7 +14,7 @@ RUN buildDeps=' \
|
|||
&& apk --no-cache add --virtual build-deps $buildDeps \
|
||||
&& echo "==> Downloading Zookeeper..." \
|
||||
&& mkdir -p /opt \
|
||||
&& curl -sSL http://apache.mirrors.pair.com/zookeeper/zookeeper-${ZOOKEEPER_VERSION}/zookeeper-${ZOOKEEPER_VERSION}.tar.gz | tar -xzf - -C /opt \
|
||||
&& curl -sSL "http://apache.mirrors.pair.com/zookeeper/zookeeper-${ZOOKEEPER_VERSION}/zookeeper-${ZOOKEEPER_VERSION}.tar.gz" | tar -xzf - -C /opt \
|
||||
&& mv /opt/zookeeper-${ZOOKEEPER_VERSION} /opt/zookeeper \
|
||||
&& cp /opt/zookeeper/conf/zoo_sample.cfg /opt/zookeeper/conf/zoo.cfg \
|
||||
&& apk del build-deps
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
FROM java:8-alpine
|
||||
|
||||
ENV ZOOKEEPER_VERSION 3.5.3
|
||||
ENV ZOOKEEPER_VERSION 3.5.3-beta
|
||||
ENV PATH $PATH:/opt/zookeeper/bin/
|
||||
|
||||
# the start files for zookeeper use bash
|
||||
|
@ -14,7 +14,7 @@ RUN buildDeps=' \
|
|||
&& apk --no-cache add --virtual build-deps $buildDeps \
|
||||
&& echo "==> Downloading Zookeeper..." \
|
||||
&& mkdir -p /opt \
|
||||
&& curl -sSL http://apache.mirrors.pair.com/zookeeper/zookeeper-${ZOOKEEPER_VERSION}/zookeeper-${ZOOKEEPER_VERSION}.tar.gz | tar -xzf - -C /opt \
|
||||
&& curl -sSL "http://apache.mirrors.pair.com/zookeeper/zookeeper-${ZOOKEEPER_VERSION}/zookeeper-${ZOOKEEPER_VERSION}.tar.gz" | tar -xf - -C /opt \
|
||||
&& mv /opt/zookeeper-${ZOOKEEPER_VERSION} /opt/zookeeper \
|
||||
&& cp /opt/zookeeper/conf/zoo_sample.cfg /opt/zookeeper/conf/zoo.cfg \
|
||||
&& apk del build-deps
|
||||
|
|
Loading…
Reference in New Issue
Block a user