diff --git a/zookeeper/3.9.3-2/22.03-lts-sp1/Dockerfile b/zookeeper/3.9.3-2/22.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..2e9ab3a3b6342880d7bd84b5e3202092dc9428e9 --- /dev/null +++ b/zookeeper/3.9.3-2/22.03-lts-sp1/Dockerfile @@ -0,0 +1,19 @@ +ARG BASE=openeuler/openeuler:22.03-lts-sp1 +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=3.9.3-2 + +RUN yum -y install java && \ + yum clean all + +RUN curl -o /tmp/zookeeper.tar.gz https://archive.apache.org/dist/zookeeper/zookeeper-${VERSION}/apache-zookeeper-${VERSION}-bin.tar.gz && \ + tar -zxvf /tmp/zookeeper.tar.gz -C /tmp && \ + cd /tmp/apache-zookeeper-${VERSION}-bin/conf && \ + touch zoo.cfg && echo -e 'tickTime=2000\ndataDir=/var/lib/zookeeper\nclientPort=2181\nadmin.serverPort=8081' > zoo.cfg + +WORKDIR /tmp/apache-zookeeper-${VERSION}-bin/ + +EXPOSE 2181 + +CMD ["bin/zkServer.sh", "start-foreground"] \ No newline at end of file diff --git a/zookeeper/3.9.3-2/22.03-lts-sp3/Dockerfile b/zookeeper/3.9.3-2/22.03-lts-sp3/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..aa04dc27ec495203266e7d02b2489984b8d3858e --- /dev/null +++ b/zookeeper/3.9.3-2/22.03-lts-sp3/Dockerfile @@ -0,0 +1,19 @@ +ARG BASE=openeuler/openeuler:22.03-lts-sp3 +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=3.9.3-2 + +RUN yum -y install java && \ + yum clean all + +RUN curl -o /tmp/zookeeper.tar.gz https://archive.apache.org/dist/zookeeper/zookeeper-${VERSION}/apache-zookeeper-${VERSION}-bin.tar.gz && \ + tar -zxvf /tmp/zookeeper.tar.gz -C /tmp && \ + cd /tmp/apache-zookeeper-${VERSION}-bin/conf && \ + touch zoo.cfg && echo -e 'tickTime=2000\ndataDir=/var/lib/zookeeper\nclientPort=2181\nadmin.serverPort=8081' > zoo.cfg + +WORKDIR /tmp/apache-zookeeper-${VERSION}-bin/ + +EXPOSE 2181 + +CMD ["bin/zkServer.sh", "start-foreground"] \ No newline at end of file diff --git a/zookeeper/3.9.3-2/22.03-lts-sp4/Dockerfile b/zookeeper/3.9.3-2/22.03-lts-sp4/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..cf78eaa9a0e3f960ed069c3de6ef6dc57c457062 --- /dev/null +++ b/zookeeper/3.9.3-2/22.03-lts-sp4/Dockerfile @@ -0,0 +1,19 @@ +ARG BASE=openeuler/openeuler:22.03-lts-sp4 +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=3.9.3-2 + +RUN yum -y install java && \ + yum clean all + +RUN curl -o /tmp/zookeeper.tar.gz https://archive.apache.org/dist/zookeeper/zookeeper-${VERSION}/apache-zookeeper-${VERSION}-bin.tar.gz && \ + tar -zxvf /tmp/zookeeper.tar.gz -C /tmp && \ + cd /tmp/apache-zookeeper-${VERSION}-bin/conf && \ + touch zoo.cfg && echo -e 'tickTime=2000\ndataDir=/var/lib/zookeeper\nclientPort=2181\nadmin.serverPort=8081' > zoo.cfg + +WORKDIR /tmp/apache-zookeeper-${VERSION}-bin/ + +EXPOSE 2181 + +CMD ["bin/zkServer.sh", "start-foreground"] \ No newline at end of file diff --git a/zookeeper/3.9.3-2/24.03-lts/Dockerfile b/zookeeper/3.9.3-2/24.03-lts/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..5df30e19f1c286fa0b18438effed2bc44214fae7 --- /dev/null +++ b/zookeeper/3.9.3-2/24.03-lts/Dockerfile @@ -0,0 +1,19 @@ +ARG BASE=openeuler/openeuler:24.03-lts +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=3.9.3-2 + +RUN yum -y install java && \ + yum clean all + +RUN curl -o /tmp/zookeeper.tar.gz https://archive.apache.org/dist/zookeeper/zookeeper-${VERSION}/apache-zookeeper-${VERSION}-bin.tar.gz && \ + tar -zxvf /tmp/zookeeper.tar.gz -C /tmp && \ + cd /tmp/apache-zookeeper-${VERSION}-bin/conf && \ + touch zoo.cfg && echo -e 'tickTime=2000\ndataDir=/var/lib/zookeeper\nclientPort=2181\nadmin.serverPort=8081' > zoo.cfg + +WORKDIR /tmp/apache-zookeeper-${VERSION}-bin/ + +EXPOSE 2181 + +CMD ["bin/zkServer.sh", "start-foreground"] \ No newline at end of file diff --git a/zookeeper/meta.yml b/zookeeper/meta.yml index 1dc738669772552e6402e248e40bef629b9ead9e..9855bcfa8bbb5e69c8740a01c4b117b3e609d0b7 100644 --- a/zookeeper/meta.yml +++ b/zookeeper/meta.yml @@ -1,2 +1,10 @@ 3.8.3-oe2203sp3: - path: zookeeper/3.8.3/22.03-lts-sp3/Dockerfile \ No newline at end of file + path: zookeeper/3.8.3/22.03-lts-sp3/Dockerfile +3.9.3-2-oe2403lts: + path: zookeeper/3.9.3-2/24.03-lts/Dockerfile +3.9.3-2-oe2203sp3: + path: zookeeper/3.9.3-2/22.03-lts-sp3/Dockerfile +3.9.3-2-oe2203sp4: + path: zookeeper/3.9.3-2/22.03-lts-sp4/Dockerfile +3.9.3-2-oe2203sp1: + path: zookeeper/3.9.3-2/22.03-lts-sp1/Dockerfile \ No newline at end of file