mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
fix zookeeper
Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>
This commit is contained in:
parent
4ba9639827
commit
a6a529eda0
|
@ -18,6 +18,7 @@ RUN apt-get update && apt-get install -y \
|
|||
fcitx-frontend-qt5 \
|
||||
fcitx-modules \
|
||||
fcitx-module-dbus \
|
||||
libclang-dev \
|
||||
libedit2 \
|
||||
libgl1-mesa-dri \
|
||||
libgl1-mesa-glx \
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
FROM openjdk:8-alpine
|
||||
|
||||
ENV ZOOKEEPER_VERSION 3.4.13
|
||||
ENV ZOOKEEPER_VERSION 3.4.14
|
||||
ENV PATH $PATH:/opt/zookeeper/bin/
|
||||
|
||||
# the start files for zookeeper use bash
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
FROM java:8-alpine
|
||||
|
||||
ENV ZOOKEEPER_VERSION 3.5.4-beta
|
||||
ENV ZOOKEEPER_VERSION 3.5.5
|
||||
ENV PATH $PATH:/opt/zookeeper/bin/
|
||||
|
||||
# the start files for zookeeper use bash
|
||||
|
@ -15,8 +15,8 @@ RUN buildDeps=' \
|
|||
&& apk --no-cache add --virtual build-deps $buildDeps \
|
||||
&& echo "==> Downloading Zookeeper..." \
|
||||
&& mkdir -p /opt \
|
||||
&& curl -sSL "http://apache.osuosl.org/zookeeper/zookeeper-${ZOOKEEPER_VERSION}/zookeeper-${ZOOKEEPER_VERSION}.tar.gz" | tar -xzf - -C /opt \
|
||||
&& mv /opt/zookeeper-${ZOOKEEPER_VERSION} /opt/zookeeper \
|
||||
&& curl -sSL "http://apache.osuosl.org/zookeeper/zookeeper-${ZOOKEEPER_VERSION}/apache-zookeeper-${ZOOKEEPER_VERSION}.tar.gz" | tar -xzf - -C /opt \
|
||||
&& mv /opt/apache-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