Skip to content

Commit

Permalink
Make sure gcompat is in the finished image
Browse files Browse the repository at this point in the history
  • Loading branch information
inulty-dfe committed Jul 12, 2024
1 parent 2bcef7c commit bc8cb31
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ 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

RUN LINKER_PATH=/lib/ld-musl-x86_64.so.1 LOADER_NAME=ld-linux-x86-64.so.2 apk add --update --no-cache gcompat
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 Expand Up @@ -60,7 +58,7 @@ ENV LANG=en_GB.UTF-8 \

RUN apk -U upgrade && \
apk add --update --no-cache tzdata libpq libxml2 libxslt graphviz \
ttf-dejavu ttf-droid ttf-liberation libx11 openssl nodejs chromium && \
ttf-dejavu ttf-droid ttf-liberation libx11 openssl nodejs chromium gcompat && \
echo "Europe/London" > /etc/timezone && \
cp /usr/share/zoneinfo/Europe/London /etc/localtime

Expand Down

0 comments on commit bc8cb31

Please # to comment.