From f815b375e826db9f67e8d6e0f9f25d6068d23bbc Mon Sep 17 00:00:00 2001 From: Ahmed ElSayed Date: Mon, 23 Mar 2020 12:34:00 -0700 Subject: [PATCH] Add chrome headless dependencies --- .../amd64/node/node10/node10-appservice.Dockerfile | 8 ++++++++ host/2.0/stretch/amd64/node/node10/node10.Dockerfile | 8 ++++++++ .../amd64/node/node12/node12-appservice.Dockerfile | 8 ++++++++ host/2.0/stretch/amd64/node/node12/node12.Dockerfile | 8 ++++++++ .../stretch/amd64/node/node8/node8-appservice.Dockerfile | 8 ++++++++ host/2.0/stretch/amd64/node/node8/node8.Dockerfile | 8 ++++++++ .../buster/amd64/node/node10/node10-appservice.Dockerfile | 8 ++++++++ host/3.0/buster/amd64/node/node10/node10.Dockerfile | 8 ++++++++ .../buster/amd64/node/node12/node12-appservice.Dockerfile | 8 ++++++++ host/3.0/buster/amd64/node/node12/node12.Dockerfile | 8 ++++++++ host/3.0/buster/amd64/python/python36/python36.Dockerfile | 2 +- 11 files changed, 81 insertions(+), 1 deletion(-) diff --git a/host/2.0/stretch/amd64/node/node10/node10-appservice.Dockerfile b/host/2.0/stretch/amd64/node/node10/node10-appservice.Dockerfile index 4513a1b7a..fe94d915e 100644 --- a/host/2.0/stretch/amd64/node/node10/node10-appservice.Dockerfile +++ b/host/2.0/stretch/amd64/node/node10/node10-appservice.Dockerfile @@ -30,6 +30,14 @@ RUN apt-get update && \ apt-get update && \ apt-get install -y nodejs +# Chrome headless dependencies +RUN apt-get install -y gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 \ + libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 \ + libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 \ + libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 \ + libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation \ + libappindicator1 libnss3 lsb-release xdg-utils wget + ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ HOME=/home \ FUNCTIONS_WORKER_RUNTIME=node \ diff --git a/host/2.0/stretch/amd64/node/node10/node10.Dockerfile b/host/2.0/stretch/amd64/node/node10/node10.Dockerfile index d3842e1fd..e8b9ede0d 100644 --- a/host/2.0/stretch/amd64/node/node10/node10.Dockerfile +++ b/host/2.0/stretch/amd64/node/node10/node10.Dockerfile @@ -30,6 +30,14 @@ RUN apt-get update && \ apt-get update && \ apt-get install -y nodejs +# Chrome headless dependencies +RUN apt-get install -y gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 \ + libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 \ + libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 \ + libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 \ + libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation \ + libappindicator1 libnss3 lsb-release xdg-utils wget + ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ HOME=/home \ FUNCTIONS_WORKER_RUNTIME=node \ diff --git a/host/2.0/stretch/amd64/node/node12/node12-appservice.Dockerfile b/host/2.0/stretch/amd64/node/node12/node12-appservice.Dockerfile index 9a9b1a136..bbd8fbff5 100644 --- a/host/2.0/stretch/amd64/node/node12/node12-appservice.Dockerfile +++ b/host/2.0/stretch/amd64/node/node12/node12-appservice.Dockerfile @@ -30,6 +30,14 @@ RUN apt-get update && \ apt-get update && \ apt-get install -y nodejs +# Chrome headless dependencies +RUN apt-get install -y gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 \ + libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 \ + libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 \ + libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 \ + libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation \ + libappindicator1 libnss3 lsb-release xdg-utils wget + ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ HOME=/home \ FUNCTIONS_WORKER_RUNTIME=node \ diff --git a/host/2.0/stretch/amd64/node/node12/node12.Dockerfile b/host/2.0/stretch/amd64/node/node12/node12.Dockerfile index d7c100d25..411017cf8 100644 --- a/host/2.0/stretch/amd64/node/node12/node12.Dockerfile +++ b/host/2.0/stretch/amd64/node/node12/node12.Dockerfile @@ -30,6 +30,14 @@ RUN apt-get update && \ apt-get update && \ apt-get install -y nodejs +# Chrome headless dependencies +RUN apt-get install -y gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 \ + libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 \ + libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 \ + libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 \ + libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation \ + libappindicator1 libnss3 lsb-release xdg-utils wget + ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ HOME=/home \ FUNCTIONS_WORKER_RUNTIME=node \ diff --git a/host/2.0/stretch/amd64/node/node8/node8-appservice.Dockerfile b/host/2.0/stretch/amd64/node/node8/node8-appservice.Dockerfile index 3cc0c9e04..bd4a9cc86 100644 --- a/host/2.0/stretch/amd64/node/node8/node8-appservice.Dockerfile +++ b/host/2.0/stretch/amd64/node/node8/node8-appservice.Dockerfile @@ -30,6 +30,14 @@ RUN apt-get update && \ apt-get update && \ apt-get install -y nodejs +# Chrome headless dependencies +RUN apt-get install -y gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 \ + libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 \ + libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 \ + libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 \ + libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation \ + libappindicator1 libnss3 lsb-release xdg-utils wget + ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ HOME=/home \ FUNCTIONS_WORKER_RUNTIME=node \ diff --git a/host/2.0/stretch/amd64/node/node8/node8.Dockerfile b/host/2.0/stretch/amd64/node/node8/node8.Dockerfile index 6df91ff52..b18d813a8 100644 --- a/host/2.0/stretch/amd64/node/node8/node8.Dockerfile +++ b/host/2.0/stretch/amd64/node/node8/node8.Dockerfile @@ -30,6 +30,14 @@ RUN apt-get update && \ apt-get update && \ apt-get install -y nodejs +# Chrome headless dependencies +RUN apt-get install -y gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 \ + libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 \ + libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 \ + libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 \ + libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation \ + libappindicator1 libnss3 lsb-release xdg-utils wget + ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ HOME=/home \ FUNCTIONS_WORKER_RUNTIME=node \ diff --git a/host/3.0/buster/amd64/node/node10/node10-appservice.Dockerfile b/host/3.0/buster/amd64/node/node10/node10-appservice.Dockerfile index 961df06f2..76624aad2 100644 --- a/host/3.0/buster/amd64/node/node10/node10-appservice.Dockerfile +++ b/host/3.0/buster/amd64/node/node10/node10-appservice.Dockerfile @@ -29,6 +29,14 @@ RUN apt-get update && \ apt-get update && \ apt-get install -y nodejs +# Chrome headless dependencies +RUN apt-get install -y gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 \ + libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 \ + libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 \ + libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 \ + libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation \ + libappindicator1 libnss3 lsb-release xdg-utils wget + ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ HOME=/home \ FUNCTIONS_WORKER_RUNTIME=node \ diff --git a/host/3.0/buster/amd64/node/node10/node10.Dockerfile b/host/3.0/buster/amd64/node/node10/node10.Dockerfile index dd93e4a01..93890624b 100644 --- a/host/3.0/buster/amd64/node/node10/node10.Dockerfile +++ b/host/3.0/buster/amd64/node/node10/node10.Dockerfile @@ -29,6 +29,14 @@ RUN apt-get update && \ apt-get update && \ apt-get install -y nodejs +# Chrome headless dependencies +RUN apt-get install -y gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 \ + libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 \ + libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 \ + libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 \ + libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation \ + libappindicator1 libnss3 lsb-release xdg-utils wget + ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ HOME=/home \ FUNCTIONS_WORKER_RUNTIME=node \ diff --git a/host/3.0/buster/amd64/node/node12/node12-appservice.Dockerfile b/host/3.0/buster/amd64/node/node12/node12-appservice.Dockerfile index 299d52f10..c1145c3bf 100644 --- a/host/3.0/buster/amd64/node/node12/node12-appservice.Dockerfile +++ b/host/3.0/buster/amd64/node/node12/node12-appservice.Dockerfile @@ -29,6 +29,14 @@ RUN apt-get update && \ apt-get update && \ apt-get install -y nodejs +# Chrome headless dependencies +RUN apt-get install -y gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 \ + libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 \ + libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 \ + libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 \ + libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation \ + libappindicator1 libnss3 lsb-release xdg-utils wget + ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ HOME=/home \ FUNCTIONS_WORKER_RUNTIME=node \ diff --git a/host/3.0/buster/amd64/node/node12/node12.Dockerfile b/host/3.0/buster/amd64/node/node12/node12.Dockerfile index 75469d090..3bb810912 100644 --- a/host/3.0/buster/amd64/node/node12/node12.Dockerfile +++ b/host/3.0/buster/amd64/node/node12/node12.Dockerfile @@ -29,6 +29,14 @@ RUN apt-get update && \ apt-get update && \ apt-get install -y nodejs +# Chrome headless dependencies +RUN apt-get install -y gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 \ + libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 \ + libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 \ + libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 \ + libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation \ + libappindicator1 libnss3 lsb-release xdg-utils wget + ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ HOME=/home \ FUNCTIONS_WORKER_RUNTIME=node \ diff --git a/host/3.0/buster/amd64/python/python36/python36.Dockerfile b/host/3.0/buster/amd64/python/python36/python36.Dockerfile index 40d564c80..19caa81a1 100644 --- a/host/3.0/buster/amd64/python/python36/python36.Dockerfile +++ b/host/3.0/buster/amd64/python/python36/python36.Dockerfile @@ -42,7 +42,7 @@ RUN apt-get update && \ curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - && \ curl https://packages.microsoft.com/config/debian/9/prod.list > /etc/apt/sources.list.d/mssql-release.list && \ # Needed for libss1.0.0 and in turn MS SQL - echo 'deb http://security.debian.org/debian-security jessie/updates main' >> /etc/apt/sources.list && \ + # echo 'deb http://security.debian.org/debian-security jessie/updates main' >> /etc/apt/sources.list && \ # install necessary locales for MS SQL apt-get update && apt-get install -y locales && \ echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen && \