diff --git a/alpine.Dockerfile b/alpine.Dockerfile index 91d4dcb..aece999 100644 --- a/alpine.Dockerfile +++ b/alpine.Dockerfile @@ -7,7 +7,7 @@ RUN set -ex;\ adduser -D -u 1000 chrome pulse-access;\ mkdir -p /home/chrome/plugin /home/chrome/webRobotJS; \ wget -qO- https://github.com/UrielCh/zombie-plugin/releases/download/4.0.0/zombie-v4.0.0.tar.gz | tar xvz -C /home/chrome/plugin/; \ - wget -qO- https://github.com/UrielCh/webRobotJS/releases/download/v1.0.0/roboJsWeb-x86_64-node-v10.tar.gz | tar xvz -C /home/chrome/webRobotJS/; + wget -qO- https://github.com/UrielCh/webRobotJS/releases/download/v1.0.0/robotJsWeb-x86_64-node-v10.tar.gz | tar xvz -C /home/chrome/webRobotJS/; # RUN apt-get install -y xvfb && echo rm -rf /tmp/* # RUN apt-get update && apt-get install -y && dpkg -i /tmp/google-chrome-stable_current_amd64.deb diff --git a/ubuntu.Dockerfile b/ubuntu.Dockerfile index f43717c..bcb94ff 100644 --- a/ubuntu.Dockerfile +++ b/ubuntu.Dockerfile @@ -28,7 +28,7 @@ RUN set -ex;\ cd /home/chrome; \ mkdir -p /home/chrome/plugin /home/chrome/webRobotJS; \ wget -qO- https://github.com/UrielCh/zombie-plugin/releases/download/4.0.0/zombie-v4.0.0.tar.gz | tar xvz -C /home/chrome/plugin/; \ - wget -qO- https://github.com/UrielCh/webRobotJS/releases/download/v1.0.0/roboJsWeb-x86_64-node-v10.tar.gz | tar xvz -C /home/chrome/webRobotJS/; + wget -qO- https://github.com/UrielCh/webRobotJS/releases/download/v1.0.0/robotJsWeb-$(uname -m)-node-v10.tar.gz | tar xvz -C /home/chrome/webRobotJS/; # RUN apt-get install -y xvfb && echo rm -rf /tmp/* # RUN apt-get update && apt-get install -y && dpkg -i /tmp/google-chrome-stable_current_amd64.deb