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-frontend-qt5 \
fcitx-modules \ fcitx-modules \
fcitx-module-dbus \ fcitx-module-dbus \
libclang-dev \
libedit2 \ libedit2 \
libgl1-mesa-dri \ libgl1-mesa-dri \
libgl1-mesa-glx \ libgl1-mesa-glx \

View File

@ -1,6 +1,6 @@
FROM openjdk:8-alpine FROM openjdk:8-alpine
ENV ZOOKEEPER_VERSION 3.4.13 ENV ZOOKEEPER_VERSION 3.4.14
ENV PATH $PATH:/opt/zookeeper/bin/ ENV PATH $PATH:/opt/zookeeper/bin/
# the start files for zookeeper use bash # the start files for zookeeper use bash

View File

@ -1,6 +1,6 @@
FROM java:8-alpine FROM java:8-alpine
ENV ZOOKEEPER_VERSION 3.5.4-beta ENV ZOOKEEPER_VERSION 3.5.5
ENV PATH $PATH:/opt/zookeeper/bin/ ENV PATH $PATH:/opt/zookeeper/bin/
# the start files for zookeeper use bash # the start files for zookeeper use bash
@ -15,8 +15,8 @@ RUN buildDeps=' \
&& apk --no-cache add --virtual build-deps $buildDeps \ && apk --no-cache add --virtual build-deps $buildDeps \
&& echo "==> Downloading Zookeeper..." \ && echo "==> Downloading Zookeeper..." \
&& mkdir -p /opt \ && mkdir -p /opt \
&& curl -sSL "http://apache.osuosl.org/zookeeper/zookeeper-${ZOOKEEPER_VERSION}/zookeeper-${ZOOKEEPER_VERSION}.tar.gz" | tar -xzf - -C /opt \ && curl -sSL "http://apache.osuosl.org/zookeeper/zookeeper-${ZOOKEEPER_VERSION}/apache-zookeeper-${ZOOKEEPER_VERSION}.tar.gz" | tar -xzf - -C /opt \
&& mv /opt/zookeeper-${ZOOKEEPER_VERSION} /opt/zookeeper \ && mv /opt/apache-zookeeper-${ZOOKEEPER_VERSION} /opt/zookeeper \
&& cp /opt/zookeeper/conf/zoo_sample.cfg /opt/zookeeper/conf/zoo.cfg \ && cp /opt/zookeeper/conf/zoo_sample.cfg /opt/zookeeper/conf/zoo.cfg \
&& apk del build-deps && apk del build-deps