From 85147ab2ec95a040fe5bedac6c84c3ff565e816b Mon Sep 17 00:00:00 2001 From: Yuriy Poltorak Date: Thu, 26 Sep 2024 12:14:44 +0300 Subject: [PATCH] DEV-784 Check Wiz alerts Add update OS components --- Dockerfile | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/Dockerfile b/Dockerfile index bb16b71..7c69f4d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,11 +7,9 @@ WORKDIR /usr RUN apt-get update && apt-get install -y curl && \ curl -sL https://deb.nodesource.com/setup_12.x | bash - && \ apt-get install -y nodejs && \ - npm install -g pm2 - - -# 2. Install WebKit dependencies -RUN apt-get install -y libwoff1 \ + npm install -g pm2 \ +# 2. Install WebKit dependencies \ + && apt-get install -y libwoff1 \ libopus0 \ libwebp6 \ libwebpdemux2 \ @@ -32,18 +30,19 @@ RUN apt-get install -y libwoff1 \ libgstreamer-plugins-base1.0-0 \ libgstreamer-plugins-bad1.0-0 \ libharfbuzz-icu0 \ - libopenjp2-7 - -# 3. Install Chromium dependencies - -RUN apt-get install -y libnss3 \ + libopenjp2-7 \ +# 3. Install Chromium dependencies \ + && apt-get install -y libnss3 \ libxss1 \ - libasound2 - -# 4. Install Firefox dependencies - -RUN apt-get install -y libdbus-glib-1-2 \ - libxt6 + libasound2 \ +# 4. Install Firefox dependencies \ + && apt-get install -y libdbus-glib-1-2 \ + libxt6 \ +# 4.1 Update OS \ + && apt -y upgrade \ + && apt autoremove \ + && apt clean \ + && rm -rf /var/lib/{apt,dpkg,cache,log}/ # 5. Copying required files