daily pastebin goal
11%
SHARE
TWEET

Untitled

a guest Jun 14th, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. docker build -t kurt/chrome:0.0.1 .
  2.  
  3. #
  4. ### version 1 using selenium chrome standalone - 889 MB when built
  5. #
  6.  
  7. # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  8. # NOTE: DO *NOT* EDIT THIS FILE.  IT IS GENERATED.
  9. # PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
  10. # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  11. FROM selenium/node-chrome:3.12.0-boron
  12. LABEL authors=kurtp
  13.  
  14. USER root
  15.  
  16. #=====
  17. # VNC
  18. #=====
  19. RUN apt-get update -qqy \
  20.   && apt-get -qqy install \
  21.   x11vnc \
  22.   && rm -rf /var/lib/apt/lists/* /var/cache/apt/*
  23.  
  24. #=========
  25. # fluxbox
  26. # A fast, lightweight and responsive window manager
  27. #=========
  28. RUN apt-get update -qqy \
  29.   && apt-get -qqy install \
  30.     fluxbox \
  31.   && rm -rf /var/lib/apt/lists/* /var/cache/apt/*
  32.  
  33. USER seluser
  34.  
  35. #==============================
  36. # Generating the VNC password as seluser
  37. # So the service can be started with seluser
  38. #==============================
  39.  
  40. RUN mkdir -p ~/.vnc \
  41.   && x11vnc -storepasswd secret ~/.vnc/passwd
  42.  
  43. #==============================
  44. # Scripts to run Selenium Node
  45. #==============================
  46. #COPY entry_point.sh /opt/bin/entry_point.sh
  47.  
  48. EXPOSE 5900
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top