Skip to content

Commit

Permalink
[symfony/panther] add apt update & clean during chromium driver insta…
Browse files Browse the repository at this point in the history
…ll (#1305)

* add apt update & clean during chromium driver install

* add apt update & clean during firefox install
  • Loading branch information
iNem0o committed Apr 5, 2024
1 parent 002f8c8 commit 1f04d3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions symfony/panther/1.0/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"ENV PANTHER_NO_SANDBOX 1",
"# Not mandatory, but recommended",
"ENV PANTHER_CHROME_ARGUMENTS='--disable-dev-shm-usage'",
"RUN apt-get install -y --no-install-recommends chromium chromium-driver",
"RUN apt-get update && apt-get install -y --no-install-recommends chromium chromium-driver && rm -rf /var/lib/apt/lists/*",
"",
"# Firefox and geckodriver",
"#ARG GECKODRIVER_VERSION=0.34.0",
"#RUN apt-get install -y --no-install-recommends firefox",
"#RUN apt-get update && apt-get install -y --no-install-recommends firefox && rm -rf /var/lib/apt/lists/*",
"#RUN wget -q https://github.com/mozilla/geckodriver/releases/download/v$GECKODRIVER_VERSION/geckodriver-v$GECKODRIVER_VERSION-aarch64.tar.gz; \\",
"#\ttar -zxf geckodriver-v$GECKODRIVER_VERSION-aarch64.tar.gz -C /usr/bin; \\",
"#\trm geckodriver-v$GECKODRIVER_VERSION-aarch64.tar.gz"
Expand Down

0 comments on commit 1f04d3f

Please sign in to comment.