From 63463b9b69d76e6cb21be17fffb704e42001f90b Mon Sep 17 00:00:00 2001 From: Fan Ting Wei Date: Fri, 1 Dec 2023 15:20:57 +0800 Subject: [PATCH] fix: replace log4j with reload4j (#41) * replace log4j with reload4j * typo --- Dockerfile | 7 +++++++ README.md | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5d5fbc0..44e2624 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,6 +30,13 @@ RUN set -euo pipefail && \ rm zeppelin-${ZEPPELIN_VERSION}-bin-netinst.tgz; \ : +# Download reload4j jar +ARG RELOAD4J_VERSION="1.2.25" +RUN set -euo pipefail && \ + wget "https://repo1.maven.org/maven2/ch/qos/reload4j/reload4j/${RELOAD4J_VERSION}/reload4j-${RELOAD4J_VERSION}.jar" -O /zeppelin/lib/reload4j-${RELOAD4J_VERSION}.jar; \ + rm /zeppelin/lib/log4j-1.2.17.jar; \ + : + # Install GitHub Release Assets FUSE mount CLI (requires fuse install) ARG GHAFS_VERSION="v0.1.3" RUN set -euo pipefail && \ diff --git a/README.md b/README.md index 8ec00ac..c5dda01 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ docker build . -t zeppelin \ --build-arg SCALA_VERSION="${SCALA_VERSION}" \ --build-arg JAVA_VERSION="${JAVA_VERSION}" -docker run --rm -it --name zeppelin -p 8080:8080 zeppelin +docker run -d --rm -it --name zeppelin -p 8080:8080 zeppelin ``` Wait a while and then access in your web browser.