mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2024-11-07 08:44:07 +01:00
Restricted file chooser: support Brave, Tor, Edge
This commit is contained in:
parent
d2bbacb1fe
commit
de439118f0
@ -25,6 +25,10 @@ ENV LAUNCH_URL http://kasmweb.com
|
||||
COPY ./src/ubuntu/install/brave/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||
|
||||
ENV KASM_RESTRICTED_FILE_CHOOSER=1
|
||||
COPY ./src/ubuntu/install/gtk/ $INST_SCRIPTS/gtk/
|
||||
RUN $INST_SCRIPTS/gtk/install_restricted_file_chooser.sh
|
||||
|
||||
######### End Customizations ###########
|
||||
|
||||
RUN chown 1000:0 $HOME
|
||||
@ -35,4 +39,3 @@ WORKDIR $HOME
|
||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||
|
||||
USER 1000
|
||||
|
||||
|
@ -19,6 +19,10 @@ RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME
|
||||
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
|
||||
RUN apt-get remove -y xfce4-panel
|
||||
|
||||
ENV KASM_RESTRICTED_FILE_CHOOSER=1
|
||||
COPY ./src/ubuntu/install/gtk/ $INST_SCRIPTS/gtk/
|
||||
RUN $INST_SCRIPTS/gtk/install_restricted_file_chooser.sh
|
||||
|
||||
# Setup the custom startup script that will be invoked when the container starts
|
||||
ENV LAUNCH_URL http://kasmweb.com
|
||||
|
||||
|
@ -19,6 +19,10 @@ RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME
|
||||
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
|
||||
RUN apt-get remove -y xfce4-panel
|
||||
|
||||
ENV KASM_RESTRICTED_FILE_CHOOSER=1
|
||||
COPY ./src/ubuntu/install/gtk/ $INST_SCRIPTS/gtk/
|
||||
RUN $INST_SCRIPTS/gtk/install_restricted_file_chooser.sh
|
||||
|
||||
# Setup the custom startup script that will be invoked when the container starts
|
||||
ENV LAUNCH_URL about:blank
|
||||
RUN echo $' \n\
|
||||
|
Loading…
Reference in New Issue
Block a user