diff --git a/Dockerfile b/Dockerfile index 43bc079..dd3f6c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,6 @@ RUN apt-get update \ wget \ x11vnc \ xdg-utils \ - xdotool \ xvfb ADD https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb /chrome.deb diff --git a/entrypoint.sh b/entrypoint.sh index cfa62be..585cf70 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,7 +2,6 @@ set -e Xvfb :1 -screen 0 1024x768x24 & -DISPLAY=:1 /opt/google/chrome/chrome --user-data-dir --no-sandbox & -DISPLAY=:1 xdotool search --sync --onlyvisible --class "chrome" windowsize 1024 768 +DISPLAY=:1 /opt/google/chrome/chrome --user-data-dir --no-sandbox --window-position=0,0 --window-size=1024,768 & exec "$@"