From 761f9dab8119ba69028e1e04fd718bacfc701898 Mon Sep 17 00:00:00 2001 From: ChrisCarini <6374067+chriscarini@users.noreply.github.com> Date: Thu, 29 Feb 2024 08:10:07 -0800 Subject: [PATCH] Install python + increase yarn install timeout (cherry picked from commit 4e70e1621e7c44dc5e3c51edd0b5f3577b846eed) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3502f8d..7a95405 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN apt-get update -qq --fix-missing && \ wget --quiet --output-document=- https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/google-archive.gpg && \ echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list && \ apt-get update -qq && \ - apt-get -qqy --no-install-recommends install chromium traceroute && \ + apt-get -qqy --no-install-recommends install chromium traceroute python make g++ && \ rm -rf /var/lib/apt/lists/* # Run the Chromium browser's version command and redirect its output to the /etc/chromium-version file @@ -30,7 +30,7 @@ COPY package.json yarn.lock ./ # Run yarn install to install dependencies and clear yarn cache RUN apt-get update && \ - yarn install --production && \ + yarn install --production --frozen-lockfile --network-timeout 100000 && \ rm -rf /app/node_modules/.cache # Copy all files to working directory