Skip to content

Commit

Permalink
Add gcompat alpine package for musl - glibc compatablity
Browse files Browse the repository at this point in the history
  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
  • Loading branch information
inulty-dfe committed Jul 12, 2024
1 parent 6a702a7 commit 4a28dad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4a28dad

Please # to comment.