From 38a89770c71a748adb21ce1a2d060a462f11b1b2 Mon Sep 17 00:00:00 2001 From: barthel Date: Sun, 15 Sep 2024 17:17:09 +0200 Subject: [PATCH] corrects fix #430 Fix version of nokogiri to uninstall in case of arm64 build target architecture. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ddc2cb9..57ac84d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -146,7 +146,7 @@ RUN apk add --no-cache --virtual .rubymakedepends \ "chunky_png:${CHUNKY_PNG_VERSION}" \ && apk del -r --no-cache .rubymakedepends \ # Fixes an issue with 2 nokogiri versions breaking asciidoctor-epub3 on arm64 - && if [[ ${TARGETARCH} == arm64 ]]; then gem uninstall nokogiri -v '1.16.0'; fi + && if [ "$TARGETARCH" = "arm64" ]; then gem uninstall nokogiri -v '> 1.14'; fi # Specific pipx environement variables to ensure binaries (and docs, etc.) are available for all users # See https://github.com/pypa/pipx/blob/main/docs/installation.md#installation-options