mirror of
https://github.com/bitnami/containers.git
synced 2026-03-16 06:49:12 +08:00
3.5.5-debian-9-r0 release
This commit is contained in:
@@ -7,12 +7,12 @@ ENV BITNAMI_PKG_CHMOD="-R g+rwX" \
|
|||||||
# Install required system packages and dependencies
|
# Install required system packages and dependencies
|
||||||
RUN install_packages libc6 libgcc1
|
RUN install_packages libc6 libgcc1
|
||||||
RUN bitnami-pkg install java-1.8.212-0 --checksum 54a18672c8b4c1a44324c607a6bc616f614a062005d5e3384f91f10ff6f6edea
|
RUN bitnami-pkg install java-1.8.212-0 --checksum 54a18672c8b4c1a44324c607a6bc616f614a062005d5e3384f91f10ff6f6edea
|
||||||
RUN bitnami-pkg unpack zookeeper-3.4.14-1 --checksum 5e432af96fb7e15f989429ec5b2c25ae4d989e5dadb320c37a3fda1d715a1a29
|
RUN bitnami-pkg unpack zookeeper-3.5.5-0 --checksum 7def1ad29c8fa999b26ebfdd2d3a1e2968511ab35b38809ed42200fd226f6706
|
||||||
|
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
ENV ALLOW_ANONYMOUS_LOGIN="no" \
|
ENV ALLOW_ANONYMOUS_LOGIN="no" \
|
||||||
BITNAMI_APP_NAME="zookeeper" \
|
BITNAMI_APP_NAME="zookeeper" \
|
||||||
BITNAMI_IMAGE_VERSION="3.4.14-debian-9-r33" \
|
BITNAMI_IMAGE_VERSION="3.5.5-debian-9-r0" \
|
||||||
JVMFLAGS="" \
|
JVMFLAGS="" \
|
||||||
NAMI_PREFIX="/.nami" \
|
NAMI_PREFIX="/.nami" \
|
||||||
PATH="/opt/bitnami/java/bin:/opt/bitnami/zookeeper/bin:$PATH" \
|
PATH="/opt/bitnami/java/bin:/opt/bitnami/zookeeper/bin:$PATH" \
|
||||||
@@ -24,6 +24,7 @@ ENV ALLOW_ANONYMOUS_LOGIN="no" \
|
|||||||
ZOO_LOG_LEVEL="INFO" \
|
ZOO_LOG_LEVEL="INFO" \
|
||||||
ZOO_MAX_CLIENT_CNXNS="60" \
|
ZOO_MAX_CLIENT_CNXNS="60" \
|
||||||
ZOO_PORT_NUMBER="2181" \
|
ZOO_PORT_NUMBER="2181" \
|
||||||
|
ZOO_RECONFIG_ENABLED="no" \
|
||||||
ZOO_SERVERS="" \
|
ZOO_SERVERS="" \
|
||||||
ZOO_SERVER_ID="1" \
|
ZOO_SERVER_ID="1" \
|
||||||
ZOO_SERVER_PASSWORDS="" \
|
ZOO_SERVER_PASSWORDS="" \
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export ZOO_LOG_DIR=/opt/bitnami/zookeeper/logs
|
|||||||
export ZOOPIDFILE=/opt/bitnami/zookeeper/tmp/zookeeper.pid
|
export ZOOPIDFILE=/opt/bitnami/zookeeper/tmp/zookeeper.pid
|
||||||
|
|
||||||
USER=zookeeper
|
USER=zookeeper
|
||||||
START_COMMAND="/opt/bitnami/zookeeper/bin/zkServer.sh start && tail -f ${ZOO_LOG_DIR}/zookeeper.out"
|
START_COMMAND="/opt/bitnami/zookeeper/bin/zkServer.sh start && tail -f ${ZOO_LOG_DIR}/zookeeper-*.out"
|
||||||
|
|
||||||
# If container is started as `root` user
|
# If container is started as `root` user
|
||||||
if [ $EUID -eq 0 ]; then
|
if [ $EUID -eq 0 ]; then
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
"zookeeperLogLevel": "{{$global.env.ZOO_LOG_LEVEL}}",
|
"zookeeperLogLevel": "{{$global.env.ZOO_LOG_LEVEL}}",
|
||||||
"zookeeperMaxClientCnxns": "{{$global.env.ZOO_MAX_CLIENT_CNXNS}}",
|
"zookeeperMaxClientCnxns": "{{$global.env.ZOO_MAX_CLIENT_CNXNS}}",
|
||||||
"zookeeperPort": "{{$global.env.ZOO_PORT_NUMBER}}",
|
"zookeeperPort": "{{$global.env.ZOO_PORT_NUMBER}}",
|
||||||
|
"zookeeperReconfigEnabled": "{{$global.env.ZOO_RECONFIG_ENABLED}}",
|
||||||
"zookeeperServerPasswords": "{{$global.env.ZOO_SERVER_PASSWORDS}}",
|
"zookeeperServerPasswords": "{{$global.env.ZOO_SERVER_PASSWORDS}}",
|
||||||
"zookeeperServerUsers": "{{$global.env.ZOO_SERVER_USERS}}",
|
"zookeeperServerUsers": "{{$global.env.ZOO_SERVER_USERS}}",
|
||||||
"zookeeperServers": "{{$global.env.ZOO_SERVERS}}",
|
"zookeeperServers": "{{$global.env.ZOO_SERVERS}}",
|
||||||
|
|||||||
@@ -5,38 +5,32 @@ services:
|
|||||||
image: 'bitnami/zookeeper:3'
|
image: 'bitnami/zookeeper:3'
|
||||||
ports:
|
ports:
|
||||||
- '2181'
|
- '2181'
|
||||||
- '2888'
|
|
||||||
- '3888'
|
|
||||||
volumes:
|
volumes:
|
||||||
- zookeeper_data:/bitnami
|
- zookeeper_data:/bitnami
|
||||||
environment:
|
environment:
|
||||||
- ZOO_SERVER_ID=1
|
- ZOO_SERVER_ID=1
|
||||||
- ALLOW_ANONYMOUS_LOGIN=yes
|
- ALLOW_ANONYMOUS_LOGIN=yes
|
||||||
- ZOO_SERVERS=0.0.0.0:2888:3888,zookeeper2:2888:3888,zookeeper3:2888:3888
|
- ZOO_SERVERS=zookeeper:2888:3888,zookeeper2:2888:3888,zookeeper3:2888:3888
|
||||||
zookeeper2:
|
zookeeper2:
|
||||||
image: 'bitnami/zookeeper:3'
|
image: 'bitnami/zookeeper:3'
|
||||||
ports:
|
ports:
|
||||||
- '2181'
|
- '2181'
|
||||||
- '2888'
|
|
||||||
- '3888'
|
|
||||||
volumes:
|
volumes:
|
||||||
- zookeeper2_data:/bitnami
|
- zookeeper2_data:/bitnami
|
||||||
environment:
|
environment:
|
||||||
- ZOO_SERVER_ID=2
|
- ZOO_SERVER_ID=2
|
||||||
- ALLOW_ANONYMOUS_LOGIN=yes
|
- ALLOW_ANONYMOUS_LOGIN=yes
|
||||||
- ZOO_SERVERS=zookeeper:2888:3888,0.0.0.0:2888:3888,zookeeper3:2888:3888
|
- ZOO_SERVERS=zookeeper:2888:3888,zookeeper2:2888:3888,zookeeper3:2888:3888
|
||||||
zookeeper3:
|
zookeeper3:
|
||||||
image: 'bitnami/zookeeper:3'
|
image: 'bitnami/zookeeper:3'
|
||||||
ports:
|
ports:
|
||||||
- '2181'
|
- '2181'
|
||||||
- '2888'
|
|
||||||
- '3888'
|
|
||||||
volumes:
|
volumes:
|
||||||
- zookeeper3_data:/bitnami
|
- zookeeper3_data:/bitnami
|
||||||
environment:
|
environment:
|
||||||
- ZOO_SERVER_ID=3
|
- ZOO_SERVER_ID=3
|
||||||
- ALLOW_ANONYMOUS_LOGIN=yes
|
- ALLOW_ANONYMOUS_LOGIN=yes
|
||||||
- ZOO_SERVERS=zookeeper:2888:3888,zookeeper2:2888:3888,0.0.0.0:2888:3888
|
- ZOO_SERVERS=zookeeper:2888:3888,zookeeper2:2888:3888,zookeeper3:2888:3888
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
zookeeper_data:
|
zookeeper_data:
|
||||||
|
|||||||
Reference in New Issue
Block a user