From 18d81afee4de8c848c6623e226eef13d27ad93d4 Mon Sep 17 00:00:00 2001 From: FireMaskterK <20838718+FireMasterK@users.noreply.github.com> Date: Wed, 1 Dec 2021 03:31:03 +0000 Subject: [PATCH] Automatically use the hotspot image when on aarch64. --- configure-instance.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure-instance.sh b/configure-instance.sh index 68ddbf5..4fb71b6 100755 --- a/configure-instance.sh +++ b/configure-instance.sh @@ -19,4 +19,8 @@ sed -i "s/FRONTEND_HOSTNAME/$frontend/g" config/* sed -i "s/BACKEND_HOSTNAME/$backend/g" config/* sed -i "s/PROXY_HOSTNAME/$proxy/g" config/* +if [[ "$(uname -m)" == "aarch64" ]]; then + sed -i "s/piped:latest/piped:hotspot/g" config/* +fi + mv config/docker-compose.$reverseproxy.yml docker-compose.yml