Skip to content

Commit

Permalink
switch to 3.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmanuelSoon committed May 20, 2024
1 parent ab9e74f commit cc4b6e9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ COPY zu /zu
WORKDIR /zu
RUN ./gradlew --console=verbose --info shadowJar

FROM ${DOCKER_REGISTRY:+$DOCKER_REGISTRY/}zookeeper:3.8.3-jre-11
FROM ${DOCKER_REGISTRY:+$DOCKER_REGISTRY/}zookeeper:3.7.2-jre-11
COPY bin /usr/local/bin
RUN chmod +x /usr/local/bin/*
COPY --from=0 /zu/build/libs/zu.jar /opt/libs/

RUN apt-get -q update && \
apt-get install -y dnsutils curl procps socat; \
rm -rf /var/lib/apt/lists/*;
apt-get install -y dnsutils curl procps socat;

RUN apt-get upgrade curl


4 changes: 2 additions & 2 deletions docker/zu/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.9.24"
id("com.github.johnrengelman.shadow") version "7.1.2"
id("com.github.johnrengelman.shadow") version "8.1.1"
}

repositories {
Expand All @@ -16,7 +16,7 @@ dependencies {
}

tasks.withType<ShadowJar>() {
classifier = null
archiveClassifier = null
manifest {
attributes["Main-Class"] = "io.pravega.zookeeper.MainKt"
}
Expand Down
2 changes: 1 addition & 1 deletion docker/zu/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit cc4b6e9

Please sign in to comment.