fix zookeeper

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>
This commit is contained in:
Jess Frazelle 2019-05-25 17:47:15 -04:00
parent 4ba9639827
commit a6a529eda0
3 changed files with 5 additions and 4 deletions

View File

@ -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 \

View File

@ -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

View File

@ -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