From 07b694c292a45bdaf2731b7c336534321241806b Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Thu, 16 May 2024 00:02:58 -0500 Subject: [PATCH] Add patch to JAM container to run on newer systems --- .../usr/share/mynode_apps/jam/scripts/install_jam.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/rootfs/standard/usr/share/mynode_apps/jam/scripts/install_jam.sh b/rootfs/standard/usr/share/mynode_apps/jam/scripts/install_jam.sh index 74627da5..01aaa90a 100644 --- a/rootfs/standard/usr/share/mynode_apps/jam/scripts/install_jam.sh +++ b/rootfs/standard/usr/share/mynode_apps/jam/scripts/install_jam.sh @@ -26,6 +26,15 @@ docker rmi jam:latest || true docker pull ghcr.io/joinmarket-webui/$DOCKER_IMAGE_NAME # Tag latest as "jam:latest" -docker tag ghcr.io/joinmarket-webui/$DOCKER_IMAGE_NAME jam:latest +docker tag ghcr.io/joinmarket-webui/$DOCKER_IMAGE_NAME jam-orig:latest + +rm -rf /tmp/jam +mkdir -p /tmp/jam +cat << EOF > /tmp/jam/Dockerfile +FROM jam-orig:latest + +RUN sed -i 's/zone upstreams 64K/zone upstreams 256K/g' /etc/nginx/conf.d/default.conf +EOF +docker build -t jam:latest /tmp/jam echo "================== DONE INSTALLING APP =================" \ No newline at end of file