This is an automated email from the ASF dual-hosted git repository. eolivelli pushed a commit to branch branch-4.14 in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
commit 36d391ad14482a311f9e3aa14eb60e26fb8a2cf8 Author: Kezhu Wang <[email protected]> AuthorDate: Wed Mar 23 16:01:53 2022 +0800 Set BOOKIE_HTTP_PORT to make it optional in docker run (#3096) Fixes #3075. (cherry picked from commit 7b5f96ec9d54849a439b577d7677cda26c7d937e) --- docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index a7783cc..d72e0f3 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -25,7 +25,8 @@ ARG DISTRO_NAME=bookkeeper-server-${BK_VERSION}-bin ARG DISTRO_URL=https://archive.apache.org/dist/bookkeeper/bookkeeper-${BK_VERSION}/${DISTRO_NAME}.tar.gz ENV BOOKIE_PORT=3181 -EXPOSE $BOOKIE_PORT +ENV BOOKIE_HTTP_PORT=8080 +EXPOSE $BOOKIE_PORT $BOOKIE_HTTP_PORT ENV BK_USER=bookkeeper ENV BK_HOME=/opt/bookkeeper ENV JAVA_HOME=/usr/lib/jvm/java-11
