Skip to content

Commit

Permalink
Fix docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
robvanderleek committed Aug 12, 2024
1 parent d141013 commit c4cd9ce
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions standalone/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
FROM --platform=linux/amd64 node:16-slim
RUN apt-get update && apt-get install --no-install-recommends -yq \
libgconf-2-4 libxss1 libxtst6 libxshmfence1 ca-certificates wget curl \
gnupg2 python dumb-init
ENV APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE 1
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub |\
apt-key add -
RUN echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list
RUN apt-get update && apt-get install -y google-chrome-unstable git \
fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/* /src/*.deb
FROM --platform=linux/amd64 timbru31/node-chrome:16-slim
RUN apt-get update && apt-get install -y fonts-ipafont-gothic fonts-wqy-zenhei \
fonts-thai-tlwg fonts-kacst curl dumb-init
RUN mkdir -p /usr/share/fonts/emoji \
&& curl --location --silent --show-error --out \
&& curl --location --silent --show-error -o \
/usr/share/fonts/emoji/emojione-android.ttf \
https://github.com/emojione/emojione-assets/releases/download/3.1.2/emojione-android.ttf \
&& chmod -R +rx /usr/share/fonts/ \
Expand Down

0 comments on commit c4cd9ce

Please sign in to comment.