Skip to content

Commit

Permalink
corrects fix #430
Browse files Browse the repository at this point in the history
Fix version of nokogiri to uninstall in case of arm64 build target architecture.
  • Loading branch information
barthel authored Sep 15, 2024
1 parent 918deab commit 38a8977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38a8977

Please sign in to comment.