asdf
This commit is contained in:
parent
791dc429d3
commit
b44154cd1d
14
Dockerfile
14
Dockerfile
@ -2,7 +2,14 @@ FROM ubuntu:oracular
|
|||||||
|
|
||||||
# Decrease number of pacakges
|
# Decrease number of pacakges
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
DEBIAN_FRONTEND='noninteractive' apt-get install -y --no-install-recommends xorg xserver-xorg-input-evdev xserver-xorg-input-all
|
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
|
||||||
|
|
||||||
|
#apt-get install -y --no-install-recommends xorg xserver-xorg-input-evdev xserver-xorg-input-all
|
||||||
|
|
||||||
|
RUN DEBIAN_FRONTEND='noninteractive' apt-get install -y --no-install-recommends wget gnupg2
|
||||||
|
#RUN DEBIAN_FRONTEND='noninteractive' apt-get install -y --no-install-recommends unclutter xinit x11-xserver-utils
|
||||||
|
|
||||||
# TODO: keyboard should be configurable in runtime
|
# TODO: keyboard should be configurable in runtime
|
||||||
# TODO: actually move all input related functionality to separate layer
|
# TODO: actually move all input related functionality to separate layer
|
||||||
@ -32,9 +39,12 @@ RUN apt-get update && \
|
|||||||
# Option \"ZAxisMapping\" \"4 5 6 7\"\n\
|
# Option \"ZAxisMapping\" \"4 5 6 7\"\n\
|
||||||
#EndSection\n\
|
#EndSection\n\
|
||||||
#" > /etc/X11/xorg.conf.d/10-input.conf
|
#" > /etc/X11/xorg.conf.d/10-input.conf
|
||||||
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
|
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
|
||||||
RUN sh -c 'echo "deb https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
|
RUN sh -c 'echo "deb https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN DEBIAN_FRONTEND='noninteractive' apt-get install -y --no-install-recommends google-chrome-stable
|
RUN DEBIAN_FRONTEND='noninteractive' apt-get install -y --no-install-recommends google-chrome-stable
|
||||||
|
RUN DEBIAN_FRONTEND='noninteractive' apt-get install -y -f
|
||||||
|
|
||||||
|
CMD startx &
|
||||||
CMD /usr/bin/xinit google-chrome --kiosk --no-first-run --suppress-message-center-popups --block-new-web-contents --no-default-browser-check --password-store=basic --ignore-certificate-errors --ignore-ssl-errors --simulate-outdated-no-au='Tue, 31 Dec 2199 23:59:59 GMT' "$URL" -- :0 -nolisten tcp vt1
|
CMD /usr/bin/xinit google-chrome --kiosk --no-first-run --suppress-message-center-popups --block-new-web-contents --no-default-browser-check --password-store=basic --ignore-certificate-errors --ignore-ssl-errors --simulate-outdated-no-au='Tue, 31 Dec 2199 23:59:59 GMT' "$URL" -- :0 -nolisten tcp vt1
|
||||||
#CMD /usr/bin/X :0 -nolisten tcp vt1
|
#CMD /usr/bin/X :0 -nolisten tcp vt1
|
||||||
|
2
entrypoint.sh
Normal file
2
entrypoint.sh
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
google-chrome --kiosk --no-first-run --suppress-message-center-popups --block-new-web-contents --no-default-browser-check --password-store=basic --ignore-certificate-errors --ignore-ssl-errors --simulate-outdated-no-au='Tue, 31 Dec 2199 23:59:59 GMT' "$url"
|
Loading…
x
Reference in New Issue
Block a user