saikub commited on
Commit
aab3af4
1 Parent(s): 15a657b

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +31 -0
Dockerfile ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM kasmweb/core-ubuntu-focal:1.14.0
2
+ USER root
3
+
4
+ ENV HOME /home/kasm-default-profile
5
+ ENV STARTUPDIR /dockerstartup
6
+ ENV INST_SCRIPTS $STARTUPDIR/install
7
+ WORKDIR $HOME
8
+
9
+ ######### Customize Container Here ###########
10
+
11
+ RUN wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | apt-key add - \
12
+ && apt-get update \
13
+ && apt-get install -y apt-transport-https \
14
+ && echo "deb https://download.sublimetext.com/ apt/stable/" | tee /etc/apt/sources.list.d/sublime-text.list \
15
+ && apt-get update \
16
+ && apt-get install sublime-text \
17
+ && cp /usr/share/applications/sublime_text.desktop $HOME/Desktop/ \
18
+ && chmod +x $HOME/Desktop/sublime_text.desktop \
19
+ && chown 1000:1000 $HOME/Desktop/sublime_text.desktop
20
+
21
+
22
+ ######### End Customizations ###########
23
+
24
+ RUN chown 1000:0 $HOME
25
+ RUN $STARTUPDIR/set_user_permission.sh $HOME
26
+
27
+ ENV HOME /home/kasm-user
28
+ WORKDIR $HOME
29
+ RUN mkdir -p $HOME && chown -R 1000:0 $HOME
30
+
31
+ USER 1000