File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4
4
" ENV PANTHER_NO_SANDBOX 1" ,
5
5
" # Not mandatory, but recommended" ,
6
6
" ENV PANTHER_CHROME_ARGUMENTS='--disable-dev-shm-usage'" ,
7
- " RUN apt-get install -y --no-install-recommends chromium chromium-driver" ,
7
+ " RUN apt-get update && apt-get install -y --no-install-recommends chromium chromium-driver && rm -rf /var/lib/apt/lists/* " ,
8
8
" " ,
9
9
" # Firefox and geckodriver" ,
10
10
" #ARG GECKODRIVER_VERSION=0.34.0" ,
11
- " #RUN apt-get install -y --no-install-recommends firefox" ,
11
+ " #RUN apt-get update && apt-get install -y --no-install-recommends firefox && rm -rf /var/lib/apt/lists/* " ,
12
12
" #RUN wget -q https://github.com/mozilla/geckodriver/releases/download/v$GECKODRIVER_VERSION/geckodriver-v$GECKODRIVER_VERSION-aarch64.tar.gz; \\ " ,
13
13
" #\t tar -zxf geckodriver-v$GECKODRIVER_VERSION-aarch64.tar.gz -C /usr/bin; \\ " ,
14
14
" #\t rm geckodriver-v$GECKODRIVER_VERSION-aarch64.tar.gz"
You can’t perform that action at this time.
0 commit comments