From d2ebd178643a49b8b680e29b272480385a49ca2a Mon Sep 17 00:00:00 2001 From: Leorio Paradinight <62891774+code-rgb@users.noreply.github.com> Date: Sun, 22 Nov 2020 13:34:37 +0530 Subject: [PATCH] reverted can't install chrome in gitpod --- .gitpod.Dockerfile | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index 2d22a90cf..121c5f495 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -1,4 +1,4 @@ - + FROM gitpod/workspace-full RUN sudo apt-get update \ @@ -11,25 +11,5 @@ RUN sudo apt-get update \ neofetch \ ffmpeg \ && sudo rm -rf /var/lib/apt/lists/* - -RUN curl https://cli-assets.heroku.com/install.sh | sh - -# install chrome -RUN mkdir -p /tmp/ && \ - cd /tmp/ && \ - wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \ - # -f ==> is required to --fix-missing-dependancies - dpkg -i ./google-chrome-stable_current_amd64.deb; apt -fqqy install && \ - # clean up the container "layer", after we are done - rm ./google-chrome-stable_current_amd64.deb -# install chromedriver -RUN mkdir -p /tmp/ && \ - cd /tmp/ && \ - wget -O /tmp/chromedriver.zip http://chromedriver.storage.googleapis.com/$(curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE)/chromedriver_linux64.zip && \ - unzip /tmp/chromedriver.zip chromedriver -d /usr/bin/ && \ - # clean up the container "layer", after we are done - rm /tmp/chromedriver.zip - -ENV GOOGLE_CHROME_DRIVER /usr/bin/chromedriver -ENV GOOGLE_CHROME_BIN /usr/bin/google-chrome-stable +RUN curl https://cli-assets.heroku.com/install.sh | sh