mirror of
https://github.com/bitnami/containers.git
synced 2026-03-04 06:47:25 +08:00
3.6.1-debian-10-r19 release
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
FROM docker.io/bitnami/minideb:buster
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
ENV BITNAMI_PKG_CHMOD="-R g+rwX" \
|
||||
HOME="/" \
|
||||
ENV HOME="/" \
|
||||
OS_ARCH="amd64" \
|
||||
OS_FLAVOUR="debian-10" \
|
||||
OS_NAME="linux"
|
||||
OS_NAME="linux" \
|
||||
PATH="/opt/bitnami/java/bin:/opt/bitnami/zookeeper/bin:/opt/bitnami/common/bin:$PATH"
|
||||
|
||||
COPY prebuildfs /
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages ca-certificates curl libc6 procps sudo unzip zlib1g
|
||||
RUN install_packages ca-certificates curl gzip libc6 procps tar zlib1g
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "java" "11.0.7-1" --checksum e01669f15e2e655613c19eab1b8b533a720d6334766da34190a2a4939f5a0bc8
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "zookeeper" "3.6.1-0" --checksum d3730578e996ecea6fd3168142978aa9d93cb40326ffff0bc757e8cfe447e5b0
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wait-for-port" "1.0.0-1" --checksum 07c4678654b01811f22b5bb65a8d6f8e253abd4524ebb3b78c7d3df042cf23bd
|
||||
@@ -22,9 +22,7 @@ RUN ln -s /opt/bitnami/scripts/zookeeper/run.sh /run.sh
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/zookeeper/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="zookeeper" \
|
||||
BITNAMI_IMAGE_VERSION="3.6.1-debian-10-r18" \
|
||||
NAMI_PREFIX="/.nami" \
|
||||
PATH="/opt/bitnami/java/bin:/opt/bitnami/zookeeper/bin:/opt/bitnami/common/bin:$PATH"
|
||||
BITNAMI_IMAGE_VERSION="3.6.1-debian-10-r19"
|
||||
|
||||
EXPOSE 2181 2888 3888 8080
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ version: '2'
|
||||
|
||||
services:
|
||||
zookeeper:
|
||||
image: 'bitnami/zookeeper:3'
|
||||
image: 'docker.io/bitnami/zookeeper:3-debian-10'
|
||||
ports:
|
||||
- '2181:2181'
|
||||
volumes:
|
||||
|
||||
24
bitnami/zookeeper/3/debian-10/prebuildfs/usr/sbin/install_packages
Executable file
24
bitnami/zookeeper/3/debian-10/prebuildfs/usr/sbin/install_packages
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
set -u
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
n=0
|
||||
max=2
|
||||
until [ $n -gt $max ]; do
|
||||
set +e
|
||||
(
|
||||
apt-get update -qq &&
|
||||
apt-get install -y --no-install-recommends "$@"
|
||||
)
|
||||
CODE=$?
|
||||
set -e
|
||||
if [ $CODE -eq 0 ]; then
|
||||
break
|
||||
fi
|
||||
if [ $n -eq $max ]; then
|
||||
exit $CODE
|
||||
fi
|
||||
echo "apt failed, retrying"
|
||||
n=$(($n + 1))
|
||||
done
|
||||
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
||||
@@ -49,7 +49,7 @@ Non-root container images add an extra layer of security and are generally recom
|
||||
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/).
|
||||
|
||||
|
||||
* [`3-debian-10`, `3.6.1-debian-10-r18`, `3`, `3.6.1`, `latest` (3/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-zookeeper/blob/3.6.1-debian-10-r18/3/debian-10/Dockerfile)
|
||||
* [`3-debian-10`, `3.6.1-debian-10-r19`, `3`, `3.6.1`, `latest` (3/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-zookeeper/blob/3.6.1-debian-10-r19/3/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/zookeeper GitHub repo](https://github.com/bitnami/bitnami-docker-zookeeper).
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ version: '2'
|
||||
|
||||
services:
|
||||
zookeeper:
|
||||
image: 'bitnami/zookeeper:3'
|
||||
image: 'docker.io/bitnami/zookeeper:3-debian-10'
|
||||
ports:
|
||||
- '2181'
|
||||
volumes:
|
||||
@@ -12,7 +12,7 @@ services:
|
||||
- ALLOW_ANONYMOUS_LOGIN=yes
|
||||
- ZOO_SERVERS=zookeeper:2888:3888,zookeeper2:2888:3888,zookeeper3:2888:3888
|
||||
zookeeper2:
|
||||
image: 'bitnami/zookeeper:3'
|
||||
image: 'docker.io/bitnami/zookeeper:3-debian-10'
|
||||
ports:
|
||||
- '2181'
|
||||
volumes:
|
||||
@@ -22,7 +22,7 @@ services:
|
||||
- ALLOW_ANONYMOUS_LOGIN=yes
|
||||
- ZOO_SERVERS=zookeeper:2888:3888,zookeeper2:2888:3888,zookeeper3:2888:3888
|
||||
zookeeper3:
|
||||
image: 'bitnami/zookeeper:3'
|
||||
image: 'docker.io/bitnami/zookeeper:3-debian-10'
|
||||
ports:
|
||||
- '2181'
|
||||
volumes:
|
||||
|
||||
@@ -2,7 +2,7 @@ version: '2'
|
||||
|
||||
services:
|
||||
zookeeper:
|
||||
image: 'bitnami/zookeeper:3'
|
||||
image: 'docker.io/bitnami/zookeeper:3-debian-10'
|
||||
ports:
|
||||
- '2181:2181'
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user