Add patch to JAM container to run on newer systems

This commit is contained in:
Taylor Helsper 2024-05-16 00:02:58 -05:00
parent f3b6276df5
commit 07b694c292

View File

@ -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 ================="