Skip to content

Commit 3f95cf2

Browse files
committed
INTERNAL - Upgrade to zookeeper 3.6.2 and use openjdk 14.0.2
1 parent aae8e01 commit 3f95cf2

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The project is currently alpha. While no breaking API changes are currently plan
2727

2828
### Overview
2929

30-
This operator runs a Zookeeper 3.6.1 cluster, and uses Zookeeper dynamic reconfiguration to handle node membership.
30+
This operator runs a Zookeeper 3.6.2 cluster, and uses Zookeeper dynamic reconfiguration to handle node membership.
3131

3232
The operator itself is built with the [Operator framework](https://github.com/operator-framework/operator-sdk).
3333

charts/zookeeper/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
replicas: 3
22

33
image:
4-
repository: pravega/zookeeper
5-
tag: 0.2.8
4+
repository: adobe/zookeeper
5+
tag: 3.6.2
66
pullPolicy: IfNotPresent
77

88
domainName:

docker/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,18 @@
88
# http://www.apache.org/licenses/LICENSE-2.0
99
#
1010

11-
FROM openjdk:11-jdk
11+
FROM openjdk:14.0.2-slim
1212
RUN mkdir /zu
1313
COPY zu /zu
1414
WORKDIR /zu
1515
RUN ./gradlew --console=verbose --info shadowJar
1616

17-
FROM zookeeper:3.6.1
17+
# use forked base zookeeper 3.6.2 docker image
18+
# that runs on openjdk-14.0.2 instead of openjdk-11
19+
FROM amuraru/zookeeper:3.6.2
1820
COPY bin /usr/local/bin
1921
RUN chmod +x /usr/local/bin/*
2022
COPY --from=0 /zu/build/libs/zu.jar /root/
2123

2224
RUN apt-get -q update && \
23-
apt-get install -y dnsutils curl procps
25+
apt-get install --no-install-recommends -y curl dnsutils procps

docker/zu/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repositories {
1212

1313
dependencies {
1414
implementation(kotlin("stdlib"))
15-
implementation("org.apache.zookeeper:zookeeper:3.6.1")
15+
implementation("org.apache.zookeeper:zookeeper:3.6.2")
1616
}
1717

1818
tasks.withType<ShadowJar>() {

0 commit comments

Comments
 (0)