From 4a28dad9ef6da69611fc44ea458486a1dd1727ba Mon Sep 17 00:00:00 2001 From: Iain McNulty Date: Fri, 12 Jul 2024 10:34:40 +0100 Subject: [PATCH] Add gcompat alpine package for musl - glibc compatablity Upgrading openapi3_parser means upgrading Commonmarker. Commonmarker only supports glibc linking and not musl. Alpine linux recommend using gcompat to allow for compiling libararies that do not support musl --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e164cc9e6ee..b8466968729 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,8 @@ FROM ${BASE_RUBY_IMAGE} AS gems-node-modules RUN apk -U upgrade && \ apk add --update --no-cache git gcc libc-dev make postgresql-dev build-base \ - libxml2-dev libxslt-dev nodejs yarn tzdata libpq libxml2 libxslt graphviz chromium + libxml2-dev libxslt-dev nodejs yarn tzdata libpq libxml2 libxslt graphviz chromium \ + gcompat RUN echo "Europe/London" > /etc/timezone && \ cp /usr/share/zoneinfo/Europe/London /etc/localtime