-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
43 lines (34 loc) · 1.44 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
FROM kasmweb/debian-bookworm-desktop:1.14.0
USER root
ENV HOME /home/kasm-default-profile
ENV STARTUPDIR /dockerstartup
ENV INST_SCRIPTS $STARTUPDIR/install
WORKDIR $HOME
######### Customize Container Here ###########
#Need to clean up desktop icons
RUN apt-get update -qq \
&& apt-get --purge remove signal-desktop -y \
&& apt-get --purge remove thunderbird -y \
&& apt-get --purge remove obs-* -y \
&& apt-get --purge remove vlc* -y
#Prob should use the repo. but meh.
RUN wget -q https://github.com/PowerShell/PowerShell/releases/download/v7.3.7/powershell_7.3.7-1.deb_amd64.deb \
&& dpkg -i powershell_7.3.7-1.deb_amd64.deb \
&& apt-get install -f \
&& rm powershell_7.3.7-1.deb_amd64.deb
#RUN apt-get install -y flatpak \
# && flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo \
# && flatpak install flathub org.gnome.Platform \
# && flatpak install flathub net.devolutions.RDMFree
COPY VMware-Horizon-Client-2306-8.10.0-21964631.x64.deb /
RUN dpkg -i /VMware-Horizon-Client-2306-8.10.0-21964631.x64.deb \
&& apt-get install -f \
&& rm /VMware-Horizon-Client-2306-8.10.0-21964631.x64.deb
RUN apt-get autoremove -y && apt-get update -qy && apt-get upgrade -qy && apt-get clean
######### End Customizations ###########
RUN chown 1000:0 $HOME
RUN $STARTUPDIR/set_user_permission.sh $HOME
ENV HOME /home/kasm-user
WORKDIR $HOME
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
USER 1000