Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- docker build -t kurt/chrome:0.0.1 .
- #
- ### version 1 using selenium chrome standalone - 889 MB when built
- #
- # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- # NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
- # PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
- # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- FROM selenium/node-chrome:3.12.0-boron
- LABEL authors=kurtp
- USER root
- #=====
- # VNC
- #=====
- RUN apt-get update -qqy \
- && apt-get -qqy install \
- x11vnc \
- && rm -rf /var/lib/apt/lists/* /var/cache/apt/*
- #=========
- # fluxbox
- # A fast, lightweight and responsive window manager
- #=========
- RUN apt-get update -qqy \
- && apt-get -qqy install \
- fluxbox \
- && rm -rf /var/lib/apt/lists/* /var/cache/apt/*
- USER seluser
- #==============================
- # Generating the VNC password as seluser
- # So the service can be started with seluser
- #==============================
- RUN mkdir -p ~/.vnc \
- && x11vnc -storepasswd secret ~/.vnc/passwd
- #==============================
- # Scripts to run Selenium Node
- #==============================
- #COPY entry_point.sh /opt/bin/entry_point.sh
- EXPOSE 5900
Add Comment
Please, Sign In to add comment