Skip to content

Commit

Permalink
[DPE-3726] Release 3.8.4 (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
deusebio committed Mar 15, 2024
1 parent cac3048 commit be39e65
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
---
name: charmed-zookeeper # the name of your ROCK
base: [email protected] # the base environment for this ROCK
version: '3.8.2' # just for humans. Semantic versioning is recommended
version: '3.8.4' # just for humans. Semantic versioning is recommended
summary: Charmed ZooKeeper ROCK OCI # 79 char long summary
description: |
This is an OCI image that bundles Apache ZooKeeper together with other tools
Expand All @@ -18,7 +18,7 @@ platforms: # The platforms this ROCK should be built on and run on
amd64:

environment:
JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
JAVA_HOME: /usr/lib/jvm/java-18-openjdk-amd64
ZOO_LOG_DIR: /var/log/zookeeper
ZOOCFGDIR: /etc/zookeeper

Expand All @@ -36,17 +36,17 @@ parts:
zookeeper:
plugin: nil
stage-packages:
- openjdk-8-jre-headless
- openjdk-18-jre-headless
- libpsl5
- curl
build-environment:
- JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
- JAVA_HOME: /usr/lib/jvm/java-18-openjdk-amd64
stage-snaps:
- charmed-zookeeper/3/edge
override-build: |
ln -s /usr/lib/jvm/java-8-openjdk-amd64/bin/java \
ln -s /usr/lib/jvm/java-18-openjdk-amd64/bin/java \
$CRAFT_PART_INSTALL/usr/bin/java
ln -s /usr/lib/jvm/java-8-openjdk-amd64/bin/keytool \
ln -s /usr/lib/jvm/java-18-openjdk-amd64/bin/keytool \
$CRAFT_PART_INSTALL/usr/bin/keytool
mkdir -p $CRAFT_PART_INSTALL/var/lib/pebble/default/
Expand All @@ -60,7 +60,7 @@ parts:
rm -rf $CRAFT_PART_INSTALL/opt/zookeeper/conf
override-prime: |
craftctl default
rm -vf usr/lib/jvm/java-8-openjdk-amd64/lib/security/cacerts
rm -vf usr/lib/jvm/java-18-openjdk-amd64/lib/security/cacerts
non-root-user:
plugin: nil
after: [zookeeper]
Expand Down

0 comments on commit be39e65

Please sign in to comment.