bkiers / Liqp

An ANTLR based 'Liquid Template' parser and rendering engine.
MIT License
165 stars 94 forks source link

ruby: Fix Dockerfiles for Jekyll/Liquid images #293

Closed kohlschuetter closed 10 months ago

kohlschuetter commented 10 months ago

Both images would not build for recent Alpine.

The Jekyll Docker image would fail upon running ruby with a segmentation fault, at least on aarch64 macOS.

Update the Alpine apk dependencies, and change the Jekyll base image to a ruby-provided Alpine build.

pmenhart commented 6 months ago

Hello @kohlschuetter, Even with this PR applied, I experienced segmentation fault with Jekyll image on aarch64 macOS (Liquid is fine). This may be a transient problem, caused by current version of some dependency (package versions are not locked in the Dockerfile). As a temporary workaround, I forced x86 platform by invoking docker build with --platform linux/amd64.