diff --git a/Dockerfile b/Dockerfile index 56a5130d85b3211677c47d3c29b5c5e3ef4f9708..dcab29875b6761323221536cf9101214d3d8b088 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,6 @@ RUN \ bash=5.1.0-r0 \ cargo=~1.47.0-r2 \ chromium=~86.0.4240.111-r0 \ - chromium-chromedriver=~86.0.4240.111-r0 \ curl=~7.77.0-r1 \ # needed for installing pycurl python module curl-dev=~7.77.0-r1 \ @@ -26,14 +25,22 @@ RUN \ libffi-dev=3.3-r2 \ make=~4.3-r0 \ musl-dev=~1.2.2-r1 \ + npm=~14.16.1-r1 \ openssh-client=~8.4_p1-r3 \ py3-pip=~20.3.4-r0 \ py3-wheel=~0.36.2-r0 \ python3-dev=~3.8.10-r0 \ rsync=~3.2.3-r1 \ rust=~1.47.0-r2 && \ + rm -rf /var/cache/* && \ + mkdir /var/cache/apk && \ chmod a+x /usr/local/bin/* && \ update-ca-certificates && \ pip install --no-cache-dir -r /requirements.txt && \ ln -s /usr/bin/python3 /usr/bin/python && \ tar -xzf /tmp/flux*.tar.gz && mv ./flux /usr/local/bin + +# +ENV TAIKO_SKIP_CHROMIUM_DOWNLOAD=true +ENV TAIKO_BROWSER_PATH=$CHROME_PATH +RUN npm install -g taiko@1.2.5