From 1e2fd96e0c27ab331e86baaca88fa9fba91af962 Mon Sep 17 00:00:00 2001 From: surtur Date: Mon, 11 May 2020 03:01:38 +0200 Subject: [PATCH] added b2 util; a little refactored Dockerfile --- Dockerfile | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) 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 /