Skip to content

Commit a39f7bf

Browse files
attempt to migrate to ubuntu-mate (Linuxserver webtop)
1 parent 68da220 commit a39f7bf

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

Dockerfile

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
FROM kasmweb/core-ubuntu-noble:1.16.0
1+
FROM lscr.io/linuxserver/webtop:ubuntu-mate
22
USER root
33

4-
ENV HOME /home/kasm-default-profile
5-
ENV STARTUPDIR /dockerstartup
6-
ENV INST_SCRIPTS $STARTUPDIR/install
7-
WORKDIR $HOME
8-
94
######### Customize Container Here ###########
105

116
# copy over install_files/ for use in playbooks
@@ -22,20 +17,9 @@ RUN ansible-galaxy install -r requirements.yaml && ansible-playbook -i,localhost
2217
# Custom Desktop Background - replace bg_custom.png on disk with your own background image
2318
COPY ./bg_fairy_penguins_1600x800.png /usr/share/backgrounds/bg_default.png
2419

25-
# Create .profile and set XFCE terminal to use it
26-
RUN cp /etc/skel/.profile $HOME/.profile && mkdir $HOME/.config/xfce4/terminal/
27-
COPY ./terminalrc /home/kasm-default-profile/.config/xfce4/terminal/terminalrc
28-
2920
# clean up install_files/
3021
RUN rm -rf $HOME/install_files/
3122

3223
######### End Customizations ###########
3324

34-
RUN chown 1000:0 $HOME
35-
RUN $STARTUPDIR/set_user_permission.sh $HOME
36-
37-
ENV HOME /home/kasm-user
38-
WORKDIR $HOME
39-
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
40-
4125
USER 1000

0 commit comments

Comments
 (0)