Files changed (1) hide show
  1. Dockerfile +8 -0
Dockerfile CHANGED
@@ -1,9 +1,17 @@
1
  FROM kasmweb/chromium:1.18.0-rolling-daily
2
 
 
 
 
3
  RUN apt-get update && apt-get install -y \
4
  curl nano \
5
  && apt-get clean && rm -rf /var/lib/apt/lists/*
6
 
 
 
 
 
7
  EXPOSE 6901
8
 
 
9
  CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
 
1
  FROM kasmweb/chromium:1.18.0-rolling-daily
2
 
3
+ # Switch to root to install extra packages
4
+ USER root
5
+
6
  RUN apt-get update && apt-get install -y \
7
  curl nano \
8
  && apt-get clean && rm -rf /var/lib/apt/lists/*
9
 
10
+ # Switch back to kasm_user so we don't run apps as root
11
+ USER 1000
12
+
13
+ # Expose the noVNC / VNC port
14
  EXPOSE 6901
15
 
16
+ # Start the Kasm services
17
  CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]