ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=24.10 |
ADD file:c6c1fcc53cf2d3beb705eee292dd1e6ef2980e7f6221cba9d5c4081038760fc1 in / |
CMD ["/bin/bash"] |
RUN /bin/sh -c apt-get update && DEBIAN_FRONTEND='noninteractive' apt-get install -y --no-install-recommends xserver-xorg-video-all xserver-xorg-input-all xserver-xorg-core xinit x11-xserver-utils chromium-browser unclutter fbset # buildkit |
RUN /bin/sh -c DEBIAN_FRONTEND='noninteractive' apt-get install -y --no-install-recommends wget gnupg2 x11-utils # buildkit |
RUN /bin/sh -c wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - # buildkit |
RUN /bin/sh -c sh -c 'echo "deb https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' # buildkit |
RUN /bin/sh -c apt-get update # buildkit |
RUN /bin/sh -c DEBIAN_FRONTEND='noninteractive' apt-get install -y --no-install-recommends google-chrome-stable # buildkit |
RUN /bin/sh -c DEBIAN_FRONTEND='noninteractive' apt-get install -y -f # buildkit |
RUN /bin/sh -c printf "export WIDTH=\$(xrandr --current | grep ' connected ' | cut -d ' ' -f 3 | cut -d '+' -f 1 | cut -d'x' -f1) \nexport HEIGHT=\$(xrandr --current | grep ' connected ' | cut -d ' ' -f 3 | cut -d '+' -f 1 | cut -d'x' -f2) \nxset -dpms \nxset s off \nxset s noblank \nunclutter & \ngoogle-chrome --no-sandbox --window-position=0,0 --window-size=\$WIDTH,\$HEIGHT --start-maximized --no-default-browser-check --start-fullscreen --kiosk --noerrdialogs --no-first-run --disable-infobars --incognito --overscroll-history-navigation=0 --disable-pinch --disable-translate --fast --fast-start --disable-features=TranslateUI --password-store=basic --app="\$url"\n" > /usr/local/bin/chrome-kiosk-wrapper # buildkit |
RUN /bin/sh -c chmod +x /usr/local/bin/chrome-kiosk-wrapper # buildkit |
CMD ["/bin/sh" "-c" "/usr/bin/xinit /usr/local/bin/chrome-kiosk-wrapper -- :0 -nolisten tcp vt1"] |