From a214400144b4a0f973aaa834e197c89f0aa78e5e Mon Sep 17 00:00:00 2001 From: Raj Dudhare Date: Fri, 15 Nov 2024 17:02:31 +0530 Subject: [PATCH 1/3] Install libssl1 package required for redis-stack Install libssl1 package required for redis-stack (redis time-series module) Signed-off-by: Raj Dudhare --- bitnami/redis/7.4/debian-12/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bitnami/redis/7.4/debian-12/Dockerfile b/bitnami/redis/7.4/debian-12/Dockerfile index 62f8fbc73e392..d76af15730f9d 100644 --- a/bitnami/redis/7.4/debian-12/Dockerfile +++ b/bitnami/redis/7.4/debian-12/Dockerfile @@ -40,7 +40,10 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ sha256sum -c "${COMPONENT}.tar.gz.sha256" ; \ tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' ; \ rm -rf "${COMPONENT}".tar.gz{,.sha256} ; \ - done + done ; \ + # Install libssl1 package required for redis-stack (redis time-series module) + curl -O http://ftp.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.1w-0+deb11u1_amd64.deb ; \ + dpkg -i libssl1.1_1.1.1w-0+deb11u1_amd64.deb RUN apt-get autoremove --purge -y curl && \ apt-get update && apt-get upgrade -y && \ apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives From 5dff7db9e3f6f94c2ded8022bfea5f4782affa23 Mon Sep 17 00:00:00 2001 From: Raj Dudhare Date: Fri, 13 Dec 2024 11:06:46 +0530 Subject: [PATCH 2/3] Update symlink to solve SSL issue to communicate with SSL endpoints Update symlink to solve SSL issue to communicate with SSL endpoints Signed-off-by: Raj Dudhare --- bitnami/jupyter-base-notebook/4/debian-12/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bitnami/jupyter-base-notebook/4/debian-12/Dockerfile b/bitnami/jupyter-base-notebook/4/debian-12/Dockerfile index d7d4a70e94822..ac571255dc7ee 100644 --- a/bitnami/jupyter-base-notebook/4/debian-12/Dockerfile +++ b/bitnami/jupyter-base-notebook/4/debian-12/Dockerfile @@ -46,7 +46,9 @@ RUN apt-get autoremove --purge -y curl && \ apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives RUN chmod g+rwX /opt/bitnami RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true -RUN mkdir /opt/bitnami/jupyterhub-singleuser/ && chmod g+rwX /opt/bitnami/jupyterhub-singleuser/ +RUN mkdir /opt/bitnami/jupyterhub-singleuser/ && chmod g+rwX /opt/bitnami/jupyterhub-singleuser/ && \ + mkdir -p /etc/pki/tls/certs/ && \ + ln -s /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt ENV APP_VERSION="4.1.6" \ BITNAMI_APP_NAME="jupyter-base-notebook" \ From ab91043b6c48c0c19e87132585104ca485c5b836 Mon Sep 17 00:00:00 2001 From: Rajendra Dudhare Date: Tue, 17 Dec 2024 11:37:03 +0530 Subject: [PATCH 3/3] Revert "Install libssl1 package required for redis-stack " This reverts commit a214400144b4a0f973aaa834e197c89f0aa78e5e. --- bitnami/redis/7.4/debian-12/Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bitnami/redis/7.4/debian-12/Dockerfile b/bitnami/redis/7.4/debian-12/Dockerfile index 0f20ff6531446..5903558abef33 100644 --- a/bitnami/redis/7.4/debian-12/Dockerfile +++ b/bitnami/redis/7.4/debian-12/Dockerfile @@ -40,10 +40,7 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ sha256sum -c "${COMPONENT}.tar.gz.sha256" ; \ tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' ; \ rm -rf "${COMPONENT}".tar.gz{,.sha256} ; \ - done ; \ - # Install libssl1 package required for redis-stack (redis time-series module) - curl -O http://ftp.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.1w-0+deb11u1_amd64.deb ; \ - dpkg -i libssl1.1_1.1.1w-0+deb11u1_amd64.deb + done RUN apt-get autoremove --purge -y curl && \ apt-get update && apt-get upgrade -y && \ apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives