From 6d3814b88d6e231940f65078edff159ba10f3777 Mon Sep 17 00:00:00 2001 From: Azlam <43767972+azlam-abdulsalam@users.noreply.github.com> Date: Wed, 20 Sep 2023 14:39:39 +1000 Subject: [PATCH] fix(docker): add missing lib files Ubuntu base image is missing base libs required by puppeetter --- dockerfiles/sfpowerscripts.Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dockerfiles/sfpowerscripts.Dockerfile b/dockerfiles/sfpowerscripts.Dockerfile index ad20876cf..3ce4815c6 100644 --- a/dockerfiles/sfpowerscripts.Dockerfile +++ b/dockerfiles/sfpowerscripts.Dockerfile @@ -37,6 +37,12 @@ RUN apt-get update \ g++ \ openjdk-17-jre-headless \ ca-certificates \ + libxkbcommon-x11-0 libdigest-sha-perl libxshmfence-dev \ + gconf-service libappindicator1 libasound2 libatk1.0-0 \ + libatk-bridge2.0-0 libcairo-gobject2 libdrm2 libgbm1 libgconf-2-4 \ + libgtk-3-0 libnspr4 libnss3 libx11-xcb1 libxcb-dri3-0 libxcomposite1 libxcursor1 \ + libxdamage1 libxfixes3 libxi6 libxinerama1 libxrandr2 libxshmfence1 libxss1 libxtst6 \ + fonts-liberation fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf \ chromium-bsu \ chromium-driver \ gnupg \ @@ -109,4 +115,4 @@ WORKDIR /root # clear the entrypoint for azure ENTRYPOINT [] -CMD ["/bin/sh"] \ No newline at end of file +CMD ["/bin/sh"]