mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2024-11-24 17:13:10 +01:00
Firefox and Chrome (+flash) images use locked down file chooser
This commit is contained in:
parent
15fcbb033a
commit
14c7fca7b9
@ -29,6 +29,9 @@ RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||
# COPY ./src/ubuntu/install/certificates $INST_SCRIPTS/certificates/
|
||||
# RUN bash $INST_SCRIPTS/certificates/install_ca_cert.sh && rm -rf $INST_SCRIPTS/certificates/
|
||||
|
||||
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 ###########
|
||||
|
@ -29,6 +29,10 @@ RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||
COPY ./src/ubuntu/install/chrome_flash $INST_SCRIPTS/chrome_flash/
|
||||
RUN bash $INST_SCRIPTS/chrome_flash/install_flash.sh && rm -rf $INST_SCRIPTS/chrome_flash/
|
||||
|
||||
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 ###########
|
||||
|
||||
|
@ -29,6 +29,9 @@ RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||
# COPY ./src/ubuntu/install/certificates $INST_SCRIPTS/certificates/
|
||||
# RUN bash $INST_SCRIPTS/certificates/install_ca_cert.sh && rm -rf $INST_SCRIPTS/certificates/
|
||||
|
||||
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 ###########
|
||||
|
||||
|
@ -28,6 +28,10 @@ RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||
COPY ./src/ubuntu/install/firefox_flash $INST_SCRIPTS/firefox_flash/
|
||||
RUN bash $INST_SCRIPTS/firefox_flash/install_flash.sh && rm -rf $INST_SCRIPTS/firefox_flash/
|
||||
|
||||
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
|
||||
|
6
src/ubuntu/install/gtk/install_restricted_file_chooser.sh
Executable file
6
src/ubuntu/install/gtk/install_restricted_file_chooser.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
wget https://kasmweb-build-artifacts.s3.amazonaws.com/kasm-gtk-3-restricted-file-chooser/de486e8c3c5f3d3c0f898fb9d6e05755897b1970/output/libgtk-3-0_3.22.30-1ubuntu4_amd64.deb -O libgtk.deb
|
||||
apt-get install -y --allow-downgrades ./libgtk.deb
|
Loading…
Reference in New Issue
Block a user