Skip to content

Commit 6a9ba89

Browse files
[DPE-5101] Release 3.9.2 (#35)
1 parent 57721c7 commit 6a9ba89

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

rockcraft.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
---
44
name: charmed-zookeeper # the name of your ROCK
55
base: [email protected] # the base environment for this ROCK
6-
version: '3.8.4' # just for humans. Semantic versioning is recommended
6+
version: '3.9.2' # just for humans. Semantic versioning is recommended
77
summary: Charmed ZooKeeper ROCK OCI # 79 char long summary
88
description: |
99
This is an OCI image that bundles Apache ZooKeeper together with other tools
@@ -18,7 +18,7 @@ platforms: # The platforms this ROCK should be built on and run on
1818
amd64:
1919

2020
environment:
21-
JAVA_HOME: /usr/lib/jvm/java-18-openjdk-amd64
21+
JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
2222
ZOO_LOG_DIR: /var/log/zookeeper
2323
ZOOCFGDIR: /etc/zookeeper
2424

@@ -36,17 +36,17 @@ parts:
3636
zookeeper:
3737
plugin: nil
3838
stage-packages:
39-
- openjdk-18-jre-headless
39+
- openjdk-11-jre-headless
4040
- libpsl5
4141
- curl
4242
build-environment:
43-
- JAVA_HOME: /usr/lib/jvm/java-18-openjdk-amd64
43+
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
4444
stage-snaps:
4545
- charmed-zookeeper/3/edge
4646
override-build: |
47-
ln -s /usr/lib/jvm/java-18-openjdk-amd64/bin/java \
47+
ln -s /usr/lib/jvm/java-11-openjdk-amd64/bin/java \
4848
$CRAFT_PART_INSTALL/usr/bin/java
49-
ln -s /usr/lib/jvm/java-18-openjdk-amd64/bin/keytool \
49+
ln -s /usr/lib/jvm/java-11-openjdk-amd64/bin/keytool \
5050
$CRAFT_PART_INSTALL/usr/bin/keytool
5151
5252
mkdir -p $CRAFT_PART_INSTALL/var/lib/pebble/default/
@@ -60,7 +60,7 @@ parts:
6060
rm -rf $CRAFT_PART_INSTALL/opt/zookeeper/conf
6161
override-prime: |
6262
craftctl default
63-
rm -vf usr/lib/jvm/java-18-openjdk-amd64/lib/security/cacerts
63+
rm -vf usr/lib/jvm/java-11-openjdk-amd64/lib/security/cacerts
6464
non-root-user:
6565
plugin: nil
6666
after: [zookeeper]

0 commit comments

Comments
 (0)