diff --git a/dockerfile-kasm-brave b/dockerfile-kasm-brave index d6b198d..9e9df6d 100644 --- a/dockerfile-kasm-brave +++ b/dockerfile-kasm-brave @@ -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 - diff --git a/dockerfile-kasm-edge b/dockerfile-kasm-edge index 370e4f3..d811c22 100644 --- a/dockerfile-kasm-edge +++ b/dockerfile-kasm-edge @@ -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 diff --git a/dockerfile-kasm-tor-browser b/dockerfile-kasm-tor-browser index 00e0505..6d8430a 100644 --- a/dockerfile-kasm-tor-browser +++ b/dockerfile-kasm-tor-browser @@ -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\