diff --git a/Dockerfile b/Dockerfile index b136b1e..59889bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,16 +19,14 @@ LABEL org.label-schema.build-date=$BUILD_DATE \ ADD https://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip /tmp/chromedriver.zip WORKDIR /tmp/ -RUN pacman -Sy --noconfirm --needed python python-pip chromium wget vim jq \ - && pip install robotframework robotframework-seleniumlibrary \ +RUN pacman -Sy --noconfirm --needed python python-pip chromium wget vim findutils \ + && pip install robotframework robotframework-seleniumlibrary b2 \ && bsdtar xfv /tmp/chromedriver.zip && rm -v /tmp/chromedriver.zip \ && chmod -v +x /tmp/chromedriver \ && mkdir -pv /usr/local/bin \ - && mv -v /tmp/chromedriver /usr/local/bin/ \ -RUN pacman -Scc && rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* \ - && rm -rv /usr/share/info/* ;rm -rv /usr/share/man/* ; \ - rm -rv /usr/share/doc/* ;rm -rv /usr/share/zoneinfo/* ; \ - rm -rv /usr/share/i18n/* ;rm -rv /usr/include/* ; \ find /. -name "*~" -type f -delete; \ - find /usr/share/terminfo/. ! -name "*xterm*" ! -name "*screen*" ! -name "*screen*" -type f -delete; \ - rm -rv /tmp/* || true + && mv -v /tmp/chromedriver /usr/local/bin/ +RUN pacman -Scc && rm -rf /var/cache/pacman/* /var/lib/pacman/sync/* \ + && rm -rf /usr/share/i18n/* ; rm -rf /usr/include/* ; \ + find /. -name "*~" -type f -delete; \ + find /usr/share/terminfo/. ! -name "*xterm*" ! -name "*screen*" ! -name "*screen*" -type f -delete; WORKDIR /