mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2024-11-25 09:33:08 +01:00
KASM-4323 KASM-4320 Layering and Locales
This commit is contained in:
parent
ae3d92042d
commit
40af2c4aae
@ -10,84 +10,46 @@ ENV STARTUPDIR /dockerstartup
|
|||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
### Envrionment config
|
### Envrionment config
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV SKIP_CLEAN=true \
|
||||||
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
|
KASM_RX_HOME=$STARTUPDIR/kasmrx \
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
DONT_PROMPT_WSL_INSTALL="No_Prompt_please" \
|
||||||
ENV DONT_PROMPT_WSL_INSTALL "No_Prompt_please"
|
INST_DIR=$STARTUPDIR/install \
|
||||||
|
INST_SCRIPTS="/oracle/install/tools/install_tools_deluxe.sh \
|
||||||
|
/oracle/install/misc/install_tools.sh \
|
||||||
|
/ubuntu/install/chromium/install_chromium.sh \
|
||||||
|
/ubuntu/install/firefox/install_firefox.sh \
|
||||||
|
/oracle/install/sublime_text/install_sublime_text.sh \
|
||||||
|
/ubuntu/install/nextcloud/install_nextcloud.sh \
|
||||||
|
/oracle/install/vs_code/install_vs_code.sh \
|
||||||
|
/ubuntu/install/remmina/install_remmina.sh \
|
||||||
|
/oracle/install/only_office/install_only_office.sh \
|
||||||
|
/oracle/install/gimp/install_gimp.sh \
|
||||||
|
/oracle/install/zoom/install_zoom.sh \
|
||||||
|
/oracle/install/ansible/install_ansible.sh \
|
||||||
|
/oracle/install/terraform/install_terraform.sh \
|
||||||
|
/oracle/install/telegram/install_telegram.sh \
|
||||||
|
/oracle/install/obs/install_obs.sh \
|
||||||
|
/ubuntu/install/thunderbird/install_thunderbird.sh \
|
||||||
|
/ubuntu/install/cleanup/cleanup.sh"
|
||||||
|
|
||||||
|
# Copy install scripts
|
||||||
|
COPY ./src/ $INST_DIR
|
||||||
|
|
||||||
### Install Tools
|
# Run installations
|
||||||
COPY ./src/oracle/install/tools $INST_SCRIPTS/tools/
|
RUN \
|
||||||
RUN bash $INST_SCRIPTS/tools/install_tools_deluxe.sh && rm -rf $INST_SCRIPTS/tools/
|
for SCRIPT in $INST_SCRIPTS; do \
|
||||||
|
bash ${INST_DIR}${SCRIPT}; \
|
||||||
# Install Utilities
|
done && \
|
||||||
COPY ./src/oracle/install/misc $INST_SCRIPTS/misc/
|
$STARTUPDIR/set_user_permission.sh $HOME && \
|
||||||
RUN bash $INST_SCRIPTS/misc/install_tools.sh && rm -rf $INST_SCRIPTS/misc/
|
rm -f /etc/X11/xinit/Xclients && \
|
||||||
|
chown 1000:0 $HOME && \
|
||||||
# Install Chromium
|
mkdir -p /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/chromium $INST_SCRIPTS/chromium/
|
chown -R 1000:0 /home/kasm-user && \
|
||||||
RUN bash $INST_SCRIPTS/chromium/install_chromium.sh && rm -rf $INST_SCRIPTS/chromium/
|
rm -Rf ${INST_DIR}
|
||||||
|
|
||||||
# Install Firefox
|
|
||||||
COPY ./src/ubuntu/install/firefox/ $INST_SCRIPTS/firefox/
|
|
||||||
COPY ./src/ubuntu/install/firefox/firefox.desktop $HOME/Desktop/
|
|
||||||
RUN bash $INST_SCRIPTS/firefox/install_firefox.sh && rm -rf $INST_SCRIPTS/firefox/
|
|
||||||
|
|
||||||
### Install Sublime Text
|
|
||||||
COPY ./src/oracle/install/sublime_text $INST_SCRIPTS/sublime_text/
|
|
||||||
RUN bash $INST_SCRIPTS/sublime_text/install_sublime_text.sh && rm -rf $INST_SCRIPTS/sublime_text/
|
|
||||||
|
|
||||||
### Install NextCloud
|
|
||||||
COPY ./src/ubuntu/install/nextcloud $INST_SCRIPTS/nextcloud/
|
|
||||||
RUN bash $INST_SCRIPTS/nextcloud/install_nextcloud.sh && rm -rf $INST_SCRIPTS/nextcloud/
|
|
||||||
|
|
||||||
### Install Remmina
|
|
||||||
COPY ./src/ubuntu/install/remmina $INST_SCRIPTS/remmina/
|
|
||||||
RUN bash $INST_SCRIPTS/remmina/install_remmina.sh && rm -rf $INST_SCRIPTS/remmina/
|
|
||||||
|
|
||||||
### Install Only Office
|
|
||||||
COPY ./src/oracle/install/only_office $INST_SCRIPTS/only_office/
|
|
||||||
RUN bash $INST_SCRIPTS/only_office/install_only_office.sh && rm -rf $INST_SCRIPTS/only_office/
|
|
||||||
|
|
||||||
### Install GIMP
|
|
||||||
COPY ./src/oracle/install/gimp $INST_SCRIPTS/gimp/
|
|
||||||
RUN bash $INST_SCRIPTS/gimp/install_gimp.sh && rm -rf $INST_SCRIPTS/gimp/
|
|
||||||
|
|
||||||
### Install Zoom
|
|
||||||
COPY ./src/oracle/install/zoom $INST_SCRIPTS/zoom/
|
|
||||||
RUN bash $INST_SCRIPTS/zoom/install_zoom.sh && rm -rf $INST_SCRIPTS/zoom/
|
|
||||||
|
|
||||||
### Install OBS Studio
|
|
||||||
COPY ./src/oracle/install/obs $INST_SCRIPTS/obs/
|
|
||||||
RUN bash $INST_SCRIPTS/obs/install_obs.sh && rm -rf $INST_SCRIPTS/obs/
|
|
||||||
|
|
||||||
### Install Ansible
|
|
||||||
COPY ./src/oracle/install/ansible $INST_SCRIPTS/ansible/
|
|
||||||
RUN bash $INST_SCRIPTS/ansible/install_ansible.sh && rm -rf $INST_SCRIPTS/ansible/
|
|
||||||
|
|
||||||
### Install Terraform
|
|
||||||
COPY ./src/oracle/install/terraform $INST_SCRIPTS/terraform/
|
|
||||||
RUN bash $INST_SCRIPTS/terraform/install_terraform.sh && rm -rf $INST_SCRIPTS/terraform/
|
|
||||||
|
|
||||||
### Install Telegram
|
|
||||||
COPY ./src/oracle/install/telegram $INST_SCRIPTS/telegram/
|
|
||||||
RUN bash $INST_SCRIPTS/telegram/install_telegram.sh && rm -rf $INST_SCRIPTS/telegram/
|
|
||||||
|
|
||||||
### Install Thunderbird
|
|
||||||
COPY ./src/ubuntu/install/thunderbird $INST_SCRIPTS/thunderbird/
|
|
||||||
RUN bash $INST_SCRIPTS/thunderbird/install_thunderbird.sh && rm -rf $INST_SCRIPTS/thunderbird/
|
|
||||||
|
|
||||||
#ADD ./src/common/scripts $STARTUPDIR
|
|
||||||
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
|
||||||
|
|
||||||
RUN rm -f /etc/X11/xinit/Xclients
|
|
||||||
|
|
||||||
RUN chown 1000:0 $HOME
|
|
||||||
|
|
||||||
|
# Userspace Runtime
|
||||||
ENV HOME /home/kasm-user
|
ENV HOME /home/kasm-user
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
|
||||||
|
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
CMD ["--tail-log"]
|
CMD ["--tail-log"]
|
||||||
|
@ -10,79 +10,44 @@ ENV STARTUPDIR /dockerstartup
|
|||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
### Envrionment config
|
### Envrionment config
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV SKIP_CLEAN=true \
|
||||||
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
|
KASM_RX_HOME=$STARTUPDIR/kasmrx \
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
DONT_PROMPT_WSL_INSTALL="No_Prompt_please" \
|
||||||
ENV DONT_PROMPT_WSL_INSTALL "No_Prompt_please"
|
INST_DIR=$STARTUPDIR/install \
|
||||||
|
INST_SCRIPTS="/oracle/install/tools/install_tools_deluxe.sh \
|
||||||
|
/oracle/install/misc/install_tools.sh \
|
||||||
|
/ubuntu/install/chromium/install_chromium.sh \
|
||||||
|
/ubuntu/install/firefox/install_firefox.sh \
|
||||||
|
/oracle/install/sublime_text/install_sublime_text.sh \
|
||||||
|
/oracle/install/vs_code/install_vs_code.sh \
|
||||||
|
/ubuntu/install/remmina/install_remmina.sh \
|
||||||
|
/oracle/install/only_office/install_only_office.sh \
|
||||||
|
/oracle/install/gimp/install_gimp.sh \
|
||||||
|
/oracle/install/zoom/install_zoom.sh \
|
||||||
|
/oracle/install/ansible/install_ansible.sh \
|
||||||
|
/oracle/install/terraform/install_terraform.sh \
|
||||||
|
/oracle/install/telegram/install_telegram.sh \
|
||||||
|
/ubuntu/install/thunderbird/install_thunderbird.sh \
|
||||||
|
/ubuntu/install/cleanup/cleanup.sh"
|
||||||
|
|
||||||
### Install Tools
|
# Copy install scripts
|
||||||
COPY ./src/oracle/install/tools $INST_SCRIPTS/tools/
|
COPY ./src/ $INST_DIR
|
||||||
RUN bash $INST_SCRIPTS/tools/install_tools_deluxe.sh && rm -rf $INST_SCRIPTS/tools/
|
|
||||||
|
|
||||||
# Install Utilities
|
# Run installations
|
||||||
COPY ./src/oracle/install/misc $INST_SCRIPTS/misc/
|
RUN \
|
||||||
RUN bash $INST_SCRIPTS/misc/install_tools.sh && rm -rf $INST_SCRIPTS/misc/
|
for SCRIPT in $INST_SCRIPTS; do \
|
||||||
|
bash ${INST_DIR}${SCRIPT}; \
|
||||||
# Install Chromium
|
done && \
|
||||||
COPY ./src/ubuntu/install/chromium $INST_SCRIPTS/chromium/
|
$STARTUPDIR/set_user_permission.sh $HOME && \
|
||||||
RUN bash $INST_SCRIPTS/chromium/install_chromium.sh && rm -rf $INST_SCRIPTS/chromium/
|
rm -f /etc/X11/xinit/Xclients && \
|
||||||
|
chown 1000:0 $HOME && \
|
||||||
# Install Firefox
|
mkdir -p /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/firefox/ $INST_SCRIPTS/firefox/
|
chown -R 1000:0 /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/firefox/firefox.desktop $HOME/Desktop/
|
rm -Rf ${INST_DIR}
|
||||||
RUN bash $INST_SCRIPTS/firefox/install_firefox.sh && rm -rf $INST_SCRIPTS/firefox/
|
|
||||||
|
|
||||||
### Install Sublime Text
|
|
||||||
COPY ./src/oracle/install/sublime_text $INST_SCRIPTS/sublime_text/
|
|
||||||
RUN bash $INST_SCRIPTS/sublime_text/install_sublime_text.sh && rm -rf $INST_SCRIPTS/sublime_text/
|
|
||||||
|
|
||||||
### Install Visual Studio Code
|
|
||||||
COPY ./src/oracle/install/vs_code $INST_SCRIPTS/vs_code/
|
|
||||||
RUN bash $INST_SCRIPTS/vs_code/install_vs_code.sh && rm -rf $INST_SCRIPTS/vs_code/
|
|
||||||
|
|
||||||
### Install Remmina
|
|
||||||
COPY ./src/ubuntu/install/remmina $INST_SCRIPTS/remmina/
|
|
||||||
RUN bash $INST_SCRIPTS/remmina/install_remmina.sh && rm -rf $INST_SCRIPTS/remmina/
|
|
||||||
|
|
||||||
### Install Only Office
|
|
||||||
COPY ./src/oracle/install/only_office $INST_SCRIPTS/only_office/
|
|
||||||
RUN bash $INST_SCRIPTS/only_office/install_only_office.sh && rm -rf $INST_SCRIPTS/only_office/
|
|
||||||
|
|
||||||
### Install GIMP
|
|
||||||
COPY ./src/oracle/install/gimp $INST_SCRIPTS/gimp/
|
|
||||||
RUN bash $INST_SCRIPTS/gimp/install_gimp.sh && rm -rf $INST_SCRIPTS/gimp/
|
|
||||||
|
|
||||||
### Install Zoom
|
|
||||||
COPY ./src/oracle/install/zoom $INST_SCRIPTS/zoom/
|
|
||||||
RUN bash $INST_SCRIPTS/zoom/install_zoom.sh && rm -rf $INST_SCRIPTS/zoom/
|
|
||||||
|
|
||||||
### Install Ansible
|
|
||||||
COPY ./src/oracle/install/ansible $INST_SCRIPTS/ansible/
|
|
||||||
RUN bash $INST_SCRIPTS/ansible/install_ansible.sh && rm -rf $INST_SCRIPTS/ansible/
|
|
||||||
|
|
||||||
### Install Terraform
|
|
||||||
COPY ./src/oracle/install/terraform $INST_SCRIPTS/terraform/
|
|
||||||
RUN bash $INST_SCRIPTS/terraform/install_terraform.sh && rm -rf $INST_SCRIPTS/terraform/
|
|
||||||
|
|
||||||
### Install Telegram
|
|
||||||
COPY ./src/oracle/install/telegram $INST_SCRIPTS/telegram/
|
|
||||||
RUN bash $INST_SCRIPTS/telegram/install_telegram.sh && rm -rf $INST_SCRIPTS/telegram/
|
|
||||||
|
|
||||||
### Install Thunderbird
|
|
||||||
COPY ./src/ubuntu/install/thunderbird $INST_SCRIPTS/thunderbird/
|
|
||||||
RUN bash $INST_SCRIPTS/thunderbird/install_thunderbird.sh && rm -rf $INST_SCRIPTS/thunderbird/
|
|
||||||
|
|
||||||
#ADD ./src/common/scripts $STARTUPDIR
|
|
||||||
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
|
||||||
|
|
||||||
RUN rm -f /etc/X11/xinit/Xclients
|
|
||||||
|
|
||||||
RUN chown 1000:0 $HOME
|
|
||||||
|
|
||||||
|
# Userspace Runtime
|
||||||
ENV HOME /home/kasm-user
|
ENV HOME /home/kasm-user
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
|
||||||
|
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
CMD ["--tail-log"]
|
CMD ["--tail-log"]
|
||||||
|
@ -10,88 +10,46 @@ ENV STARTUPDIR /dockerstartup
|
|||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
### Envrionment config
|
### Envrionment config
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV SKIP_CLEAN=true \
|
||||||
|
INST_DIR=$STARTUPDIR/install \
|
||||||
|
INST_SCRIPTS="/alpine/install/tools/install_tools_deluxe.sh \
|
||||||
|
/alpine/install/misc/install_tools.sh \
|
||||||
|
/alpine/install/chromium/install_chromium.sh \
|
||||||
|
/alpine/install/firefox/install_firefox.sh \
|
||||||
|
/alpine/install/remmina/install_remmina.sh \
|
||||||
|
/alpine/install/gimp/gimp/install_gimp.sh \
|
||||||
|
/alpine/install/ansible/install_ansible.sh \
|
||||||
|
/alpine/install/terraform/install_terraform.sh \
|
||||||
|
/alpine/install/thunderbird/install_thunderbird.sh \
|
||||||
|
/alpine/install/audacity/install_audacity.sh \
|
||||||
|
/alpine/install/blender/install_blender.sh \
|
||||||
|
/alpine/install/geany/install_geany.sh \
|
||||||
|
/alpine/install/inkscape/install_inkscape.sh \
|
||||||
|
/alpine/install/libre_office/install_libre_office.sh \
|
||||||
|
/alpine/install/pinta/install_pinta.sh \
|
||||||
|
/alpine/install/obs/install_obs.sh \
|
||||||
|
/alpine/install/filezilla/install_filezilla.sh \
|
||||||
|
/ubuntu/install/langpacks/install_langpacks.sh \
|
||||||
|
/ubuntu/install/cleanup/cleanup.sh"
|
||||||
|
|
||||||
### Install Tools
|
# Copy install scripts
|
||||||
COPY ./src/alpine/install/tools $INST_SCRIPTS/tools/
|
COPY ./src/ $INST_DIR
|
||||||
RUN bash $INST_SCRIPTS/tools/install_tools_deluxe.sh && rm -rf $INST_SCRIPTS/tools/
|
|
||||||
|
|
||||||
# Install Utilities
|
# Run installations
|
||||||
COPY ./src/alpine/install/misc $INST_SCRIPTS/misc/
|
RUN \
|
||||||
RUN bash $INST_SCRIPTS/misc/install_tools.sh && rm -rf $INST_SCRIPTS/misc/
|
for SCRIPT in $INST_SCRIPTS; do \
|
||||||
|
bash ${INST_DIR}${SCRIPT}; \
|
||||||
# Install Chromium
|
done && \
|
||||||
COPY ./src/alpine/install/chromium $INST_SCRIPTS/chromium/
|
$STARTUPDIR/set_user_permission.sh $HOME && \
|
||||||
RUN bash $INST_SCRIPTS/chromium/install_chromium.sh && rm -rf $INST_SCRIPTS/chromium/
|
rm -f /etc/X11/xinit/Xclients && \
|
||||||
|
chown 1000:0 $HOME && \
|
||||||
# Install Firefox
|
mkdir -p /home/kasm-user && \
|
||||||
COPY ./src/alpine/install/firefox/ $INST_SCRIPTS/firefox/
|
chown -R 1000:0 /home/kasm-user && \
|
||||||
COPY ./src/alpine/install/firefox/firefox.desktop $HOME/Desktop/
|
rm -Rf ${INST_DIR}
|
||||||
RUN bash $INST_SCRIPTS/firefox/install_firefox.sh && rm -rf $INST_SCRIPTS/firefox/
|
|
||||||
|
|
||||||
### Install Remmina
|
|
||||||
COPY ./src/alpine/install/remmina $INST_SCRIPTS/remmina/
|
|
||||||
RUN bash $INST_SCRIPTS/remmina/install_remmina.sh && rm -rf $INST_SCRIPTS/remmina/
|
|
||||||
|
|
||||||
### Install GIMP
|
|
||||||
COPY ./src/alpine/install/gimp $INST_SCRIPTS/gimp/
|
|
||||||
RUN bash $INST_SCRIPTS/gimp/install_gimp.sh && rm -rf $INST_SCRIPTS/gimp/
|
|
||||||
|
|
||||||
### Install Ansible
|
|
||||||
COPY ./src/alpine/install/ansible $INST_SCRIPTS/ansible/
|
|
||||||
RUN bash $INST_SCRIPTS/ansible/install_ansible.sh && rm -rf $INST_SCRIPTS/ansible/
|
|
||||||
|
|
||||||
### Install Terraform
|
|
||||||
COPY ./src/alpine/install/terraform $INST_SCRIPTS/terraform/
|
|
||||||
RUN bash $INST_SCRIPTS/terraform/install_terraform.sh && rm -rf $INST_SCRIPTS/terraform/
|
|
||||||
|
|
||||||
### Install Thunderbird
|
|
||||||
COPY ./src/alpine/install/thunderbird $INST_SCRIPTS/thunderbird/
|
|
||||||
RUN bash $INST_SCRIPTS/thunderbird/install_thunderbird.sh && rm -rf $INST_SCRIPTS/thunderbird/
|
|
||||||
|
|
||||||
### Install Audacity
|
|
||||||
COPY ./src/alpine/install/audacity $INST_SCRIPTS/audacity/
|
|
||||||
RUN bash $INST_SCRIPTS/audacity/install_audacity.sh && rm -rf $INST_SCRIPTS/audacity/
|
|
||||||
|
|
||||||
### Install Blender
|
|
||||||
COPY ./src/alpine/install/blender $INST_SCRIPTS/blender/
|
|
||||||
RUN bash $INST_SCRIPTS/blender/install_blender.sh && rm -rf $INST_SCRIPTS/blender/
|
|
||||||
|
|
||||||
### Install Geany
|
|
||||||
COPY ./src/alpine/install/geany $INST_SCRIPTS/geany/
|
|
||||||
RUN bash $INST_SCRIPTS/geany/install_geany.sh && rm -rf $INST_SCRIPTS/geany/
|
|
||||||
|
|
||||||
### Install Inkscape
|
|
||||||
COPY ./src/alpine/install/inkscape $INST_SCRIPTS/inkscape/
|
|
||||||
RUN bash $INST_SCRIPTS/inkscape/install_inkscape.sh && rm -rf $INST_SCRIPTS/inkscape/
|
|
||||||
|
|
||||||
### Install LibreOffice
|
|
||||||
COPY ./src/alpine/install/libre_office $INST_SCRIPTS/libre_office/
|
|
||||||
RUN bash $INST_SCRIPTS/libre_office/install_libre_office.sh && rm -rf $INST_SCRIPTS/libre_office/
|
|
||||||
|
|
||||||
### Install Pinta
|
|
||||||
COPY ./src/alpine/install/pinta $INST_SCRIPTS/pinta/
|
|
||||||
RUN bash $INST_SCRIPTS/pinta/install_pinta.sh && rm -rf $INST_SCRIPTS/pinta/
|
|
||||||
|
|
||||||
### Install OBS
|
|
||||||
COPY ./src/alpine/install/obs $INST_SCRIPTS/obs/
|
|
||||||
RUN bash $INST_SCRIPTS/obs/install_obs.sh && rm -rf $INST_SCRIPTS/obs/
|
|
||||||
|
|
||||||
### Install Filezilla
|
|
||||||
COPY ./src/alpine/install/filezilla $INST_SCRIPTS/filezilla/
|
|
||||||
RUN bash $INST_SCRIPTS/filezilla/install_filezilla.sh && rm -rf $INST_SCRIPTS/filezilla/
|
|
||||||
|
|
||||||
#ADD ./src/common/scripts $STARTUPDIR
|
|
||||||
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
|
||||||
|
|
||||||
RUN rm -f /etc/X11/xinit/Xclients
|
|
||||||
|
|
||||||
RUN chown 1000:0 $HOME
|
|
||||||
|
|
||||||
|
# Userspace Runtime
|
||||||
ENV HOME /home/kasm-user
|
ENV HOME /home/kasm-user
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
|
||||||
|
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
CMD ["--tail-log"]
|
CMD ["--tail-log"]
|
||||||
|
@ -9,33 +9,34 @@ ENV STARTUPDIR /dockerstartup
|
|||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
### Envrionment config
|
||||||
|
ENV SKIP_CLEAN=true \
|
||||||
|
KASM_RX_HOME=$STARTUPDIR/kasmrx \
|
||||||
|
INST_DIR=$STARTUPDIR/install \
|
||||||
|
INST_SCRIPTS="/ubuntu/install/misc/install_tools.sh \
|
||||||
|
/ubuntu/install/chrome/install_chrome.sh \
|
||||||
|
/ubuntu/install/firefox/install_firefox.sh \
|
||||||
|
/ubuntu/install/thunderbird/install_thunderbird.sh \
|
||||||
|
/ubuntu/install/cleanup/cleanup.sh"
|
||||||
|
|
||||||
|
# Copy install scripts
|
||||||
|
COPY ./src/ $INST_DIR
|
||||||
|
|
||||||
# Install Utilities
|
# Run installations
|
||||||
COPY ./src/ubuntu/install/misc $INST_SCRIPTS/misc/
|
RUN \
|
||||||
RUN bash $INST_SCRIPTS/misc/install_tools.sh && rm -rf $INST_SCRIPTS/misc/
|
for SCRIPT in $INST_SCRIPTS; do \
|
||||||
|
bash ${INST_DIR}${SCRIPT}; \
|
||||||
# Install Google Chrome
|
done && \
|
||||||
COPY ./src/ubuntu/install/chrome $INST_SCRIPTS/chrome/
|
$STARTUPDIR/set_user_permission.sh $HOME && \
|
||||||
RUN bash $INST_SCRIPTS/chrome/install_chrome.sh && rm -rf $INST_SCRIPTS/chrome/
|
rm -f /etc/X11/xinit/Xclients && \
|
||||||
|
chown 1000:0 $HOME && \
|
||||||
# Install Firefox
|
mkdir -p /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/firefox/ $INST_SCRIPTS/firefox/
|
chown -R 1000:0 /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/firefox/firefox.desktop $HOME/Desktop/
|
rm -Rf ${INST_DIR}
|
||||||
RUN bash $INST_SCRIPTS/firefox/install_firefox.sh && rm -rf $INST_SCRIPTS/firefox/
|
|
||||||
|
|
||||||
# Install Thunderbird
|
|
||||||
COPY ./src/ubuntu/install/thunderbird $INST_SCRIPTS/thunderbird/
|
|
||||||
RUN bash $INST_SCRIPTS/thunderbird/install_thunderbird.sh && rm -rf $INST_SCRIPTS/thunderbird/
|
|
||||||
|
|
||||||
######### End Customizations ###########
|
|
||||||
|
|
||||||
RUN chown 1000:0 $HOME
|
|
||||||
RUN "$STARTUPDIR/set_user_permission.sh" $HOME
|
|
||||||
|
|
||||||
|
# Userspace Runtime
|
||||||
ENV HOME /home/kasm-user
|
ENV HOME /home/kasm-user
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
|
||||||
|
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
|
CMD ["--tail-log"]
|
||||||
|
@ -9,93 +9,49 @@ ENV STARTUPDIR /dockerstartup
|
|||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
### Envrionment config
|
### Envrionment config
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive \
|
||||||
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
|
SKIP_CLEAN=true \
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
KASM_RX_HOME=$STARTUPDIR/kasmrx \
|
||||||
ENV DONT_PROMPT_WSL_INSTALL "No_Prompt_please"
|
DONT_PROMPT_WSL_INSTALL="No_Prompt_please" \
|
||||||
|
INST_DIR=$STARTUPDIR/install \
|
||||||
|
INST_SCRIPTS="/ubuntu/install/tools/install_tools_deluxe.sh \
|
||||||
|
/ubuntu/install/misc/install_tools.sh \
|
||||||
|
/ubuntu/install/chrome/install_chrome.sh \
|
||||||
|
/ubuntu/install/chromium/install_chromium.sh \
|
||||||
|
/ubuntu/install/firefox/install_firefox.sh \
|
||||||
|
/ubuntu/install/sublime_text/install_sublime_text.sh \
|
||||||
|
/ubuntu/install/vs_code/install_vs_code.sh \
|
||||||
|
/ubuntu/install/remmina/install_remmina.sh \
|
||||||
|
/ubuntu/install/only_office/install_only_office.sh \
|
||||||
|
/ubuntu/install/signal/install_signal.sh \
|
||||||
|
/ubuntu/install/gimp/install_gimp.sh \
|
||||||
|
/ubuntu/install/zoom/install_zoom.sh \
|
||||||
|
/ubuntu/install/obs/install_obs.sh \
|
||||||
|
/ubuntu/install/ansible/install_ansible.sh \
|
||||||
|
/ubuntu/install/terraform/install_terraform.sh \
|
||||||
|
/ubuntu/install/telegram/install_telegram.sh \
|
||||||
|
/ubuntu/install/thunderbird/install_thunderbird.sh \
|
||||||
|
/ubuntu/install/gamepad_utils/install_gamepad_utils.sh \
|
||||||
|
/ubuntu/install/cleanup/cleanup.sh"
|
||||||
|
|
||||||
### Install Tools
|
# Copy install scripts
|
||||||
COPY ./src/ubuntu/install/tools $INST_SCRIPTS/tools/
|
COPY ./src/ $INST_DIR
|
||||||
RUN bash $INST_SCRIPTS/tools/install_tools_deluxe.sh && rm -rf $INST_SCRIPTS/tools/
|
|
||||||
|
|
||||||
# Install Utilities
|
# Run installations
|
||||||
COPY ./src/ubuntu/install/misc $INST_SCRIPTS/misc/
|
RUN \
|
||||||
RUN bash $INST_SCRIPTS/misc/install_tools.sh && rm -rf $INST_SCRIPTS/misc/
|
for SCRIPT in $INST_SCRIPTS; do \
|
||||||
|
bash ${INST_DIR}${SCRIPT}; \
|
||||||
# Install Google Chrome
|
done && \
|
||||||
COPY ./src/ubuntu/install/chrome $INST_SCRIPTS/chrome/
|
$STARTUPDIR/set_user_permission.sh $HOME && \
|
||||||
RUN bash $INST_SCRIPTS/chrome/install_chrome.sh && rm -rf $INST_SCRIPTS/chrome/
|
rm -f /etc/X11/xinit/Xclients && \
|
||||||
|
chown 1000:0 $HOME && \
|
||||||
# Install Chromium
|
mkdir -p /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/chromium $INST_SCRIPTS/chromium/
|
chown -R 1000:0 /home/kasm-user && \
|
||||||
RUN if [ "$(uname -m)" = "aarch64" ]; then bash $INST_SCRIPTS/chromium/install_chromium.sh; fi && rm -rf $INST_SCRIPTS/chromium/
|
rm -Rf ${INST_DIR}
|
||||||
|
|
||||||
# Install Firefox
|
|
||||||
COPY ./src/ubuntu/install/firefox/ $INST_SCRIPTS/firefox/
|
|
||||||
COPY ./src/ubuntu/install/firefox/firefox.desktop $HOME/Desktop/
|
|
||||||
RUN bash $INST_SCRIPTS/firefox/install_firefox.sh && rm -rf $INST_SCRIPTS/firefox/
|
|
||||||
|
|
||||||
### Install Sublime Text
|
|
||||||
COPY ./src/ubuntu/install/sublime_text $INST_SCRIPTS/sublime_text/
|
|
||||||
RUN bash $INST_SCRIPTS/sublime_text/install_sublime_text.sh && rm -rf $INST_SCRIPTS/sublime_text/
|
|
||||||
|
|
||||||
### Install Visual Studio Code
|
|
||||||
COPY ./src/ubuntu/install/vs_code $INST_SCRIPTS/vs_code/
|
|
||||||
RUN bash $INST_SCRIPTS/vs_code/install_vs_code.sh && rm -rf $INST_SCRIPTS/vs_code/
|
|
||||||
|
|
||||||
### Install Remmina
|
|
||||||
COPY ./src/ubuntu/install/remmina $INST_SCRIPTS/remmina/
|
|
||||||
RUN bash $INST_SCRIPTS/remmina/install_remmina.sh && rm -rf $INST_SCRIPTS/remmina/
|
|
||||||
|
|
||||||
### Install Only Office
|
|
||||||
COPY ./src/ubuntu/install/only_office $INST_SCRIPTS/only_office/
|
|
||||||
RUN bash $INST_SCRIPTS/only_office/install_only_office.sh && rm -rf $INST_SCRIPTS/only_office/
|
|
||||||
|
|
||||||
### Install Signal
|
|
||||||
COPY ./src/ubuntu/install/signal $INST_SCRIPTS/signal/
|
|
||||||
RUN bash $INST_SCRIPTS/signal/install_signal.sh && rm -rf $INST_SCRIPTS/signal/
|
|
||||||
|
|
||||||
### Install GIMP
|
|
||||||
COPY ./src/ubuntu/install/gimp $INST_SCRIPTS/gimp/
|
|
||||||
RUN bash $INST_SCRIPTS/gimp/install_gimp.sh && rm -rf $INST_SCRIPTS/gimp/
|
|
||||||
|
|
||||||
### Install Zoom
|
|
||||||
COPY ./src/ubuntu/install/zoom $INST_SCRIPTS/zoom/
|
|
||||||
RUN bash $INST_SCRIPTS/zoom/install_zoom.sh && rm -rf $INST_SCRIPTS/zoom/
|
|
||||||
|
|
||||||
### Install OBS Studio
|
|
||||||
COPY ./src/ubuntu/install/obs $INST_SCRIPTS/obs/
|
|
||||||
RUN bash $INST_SCRIPTS/obs/install_obs.sh && rm -rf $INST_SCRIPTS/obs/
|
|
||||||
|
|
||||||
### Install Ansible
|
|
||||||
COPY ./src/ubuntu/install/ansible $INST_SCRIPTS/ansible/
|
|
||||||
RUN bash $INST_SCRIPTS/ansible/install_ansible.sh && rm -rf $INST_SCRIPTS/ansible/
|
|
||||||
|
|
||||||
### Install Terraform
|
|
||||||
COPY ./src/ubuntu/install/terraform $INST_SCRIPTS/terraform/
|
|
||||||
RUN bash $INST_SCRIPTS/terraform/install_terraform.sh && rm -rf $INST_SCRIPTS/terraform/
|
|
||||||
|
|
||||||
### Install Telegram
|
|
||||||
COPY ./src/ubuntu/install/telegram $INST_SCRIPTS/telegram/
|
|
||||||
RUN bash $INST_SCRIPTS/telegram/install_telegram.sh && rm -rf $INST_SCRIPTS/telegram/
|
|
||||||
|
|
||||||
### Install Thunderbird
|
|
||||||
COPY ./src/ubuntu/install/thunderbird $INST_SCRIPTS/thunderbird/
|
|
||||||
RUN bash $INST_SCRIPTS/thunderbird/install_thunderbird.sh && rm -rf $INST_SCRIPTS/thunderbird/
|
|
||||||
|
|
||||||
# Install Gamepad Testing Utils
|
|
||||||
COPY ./src/ubuntu/install/gamepad_utils $INST_SCRIPTS/gamepad_utils/
|
|
||||||
RUN bash $INST_SCRIPTS/gamepad_utils/install_gamepad_utils.sh && rm -rf $INST_SCRIPTS/gamepad_utils/
|
|
||||||
|
|
||||||
#ADD ./src/common/scripts $STARTUPDIR
|
|
||||||
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
|
||||||
|
|
||||||
RUN chown 1000:0 $HOME
|
|
||||||
|
|
||||||
|
# Userspace Runtime
|
||||||
ENV HOME /home/kasm-user
|
ENV HOME /home/kasm-user
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
|
||||||
|
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
CMD ["--tail-log"]
|
CMD ["--tail-log"]
|
||||||
|
@ -10,79 +10,44 @@ ENV STARTUPDIR /dockerstartup
|
|||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
### Envrionment config
|
### Envrionment config
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV SKIP_CLEAN=true \
|
||||||
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
|
KASM_RX_HOME=$STARTUPDIR/kasmrx \
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
DONT_PROMPT_WSL_INSTALL="No_Prompt_please" \
|
||||||
ENV DONT_PROMPT_WSL_INSTALL "No_Prompt_please"
|
INST_DIR=$STARTUPDIR/install \
|
||||||
|
INST_SCRIPTS="/oracle/install/tools/install_tools_deluxe.sh \
|
||||||
|
/oracle/install/misc/install_tools.sh \
|
||||||
|
/ubuntu/install/chromium/install_chromium.sh \
|
||||||
|
/ubuntu/install/firefox/install_firefox.sh \
|
||||||
|
/oracle/install/sublime_text/install_sublime_text.sh \
|
||||||
|
/oracle/install/vs_code/install_vs_code.sh \
|
||||||
|
/ubuntu/install/remmina/install_remmina.sh \
|
||||||
|
/oracle/install/only_office/install_only_office.sh \
|
||||||
|
/oracle/install/gimp/install_gimp.sh \
|
||||||
|
/oracle/install/zoom/install_zoom.sh \
|
||||||
|
/oracle/install/ansible/install_ansible.sh \
|
||||||
|
/oracle/install/terraform/install_terraform.sh \
|
||||||
|
/oracle/install/telegram/install_telegram.sh \
|
||||||
|
/ubuntu/install/thunderbird/install_thunderbird.sh \
|
||||||
|
/ubuntu/install/cleanup/cleanup.sh"
|
||||||
|
|
||||||
### Install Tools
|
# Copy install scripts
|
||||||
COPY ./src/oracle/install/tools $INST_SCRIPTS/tools/
|
COPY ./src/ $INST_DIR
|
||||||
RUN bash $INST_SCRIPTS/tools/install_tools_deluxe.sh && rm -rf $INST_SCRIPTS/tools/
|
|
||||||
|
|
||||||
# Install Utilities
|
# Run installations
|
||||||
COPY ./src/oracle/install/misc $INST_SCRIPTS/misc/
|
RUN \
|
||||||
RUN bash $INST_SCRIPTS/misc/install_tools.sh && rm -rf $INST_SCRIPTS/misc/
|
for SCRIPT in $INST_SCRIPTS; do \
|
||||||
|
bash ${INST_DIR}${SCRIPT}; \
|
||||||
# Install Chromium
|
done && \
|
||||||
COPY ./src/ubuntu/install/chromium $INST_SCRIPTS/chromium/
|
$STARTUPDIR/set_user_permission.sh $HOME && \
|
||||||
RUN bash $INST_SCRIPTS/chromium/install_chromium.sh && rm -rf $INST_SCRIPTS/chromium/
|
rm -f /etc/X11/xinit/Xclients && \
|
||||||
|
chown 1000:0 $HOME && \
|
||||||
# Install Firefox
|
mkdir -p /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/firefox/ $INST_SCRIPTS/firefox/
|
chown -R 1000:0 /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/firefox/firefox.desktop $HOME/Desktop/
|
rm -Rf ${INST_DIR}
|
||||||
RUN bash $INST_SCRIPTS/firefox/install_firefox.sh && rm -rf $INST_SCRIPTS/firefox/
|
|
||||||
|
|
||||||
### Install Sublime Text
|
|
||||||
COPY ./src/oracle/install/sublime_text $INST_SCRIPTS/sublime_text/
|
|
||||||
RUN bash $INST_SCRIPTS/sublime_text/install_sublime_text.sh && rm -rf $INST_SCRIPTS/sublime_text/
|
|
||||||
|
|
||||||
### Install Visual Studio Code
|
|
||||||
COPY ./src/oracle/install/vs_code $INST_SCRIPTS/vs_code/
|
|
||||||
RUN bash $INST_SCRIPTS/vs_code/install_vs_code.sh && rm -rf $INST_SCRIPTS/vs_code/
|
|
||||||
|
|
||||||
### Install Remmina
|
|
||||||
COPY ./src/ubuntu/install/remmina $INST_SCRIPTS/remmina/
|
|
||||||
RUN bash $INST_SCRIPTS/remmina/install_remmina.sh && rm -rf $INST_SCRIPTS/remmina/
|
|
||||||
|
|
||||||
### Install Only Office
|
|
||||||
COPY ./src/oracle/install/only_office $INST_SCRIPTS/only_office/
|
|
||||||
RUN bash $INST_SCRIPTS/only_office/install_only_office.sh && rm -rf $INST_SCRIPTS/only_office/
|
|
||||||
|
|
||||||
### Install GIMP
|
|
||||||
COPY ./src/oracle/install/gimp $INST_SCRIPTS/gimp/
|
|
||||||
RUN bash $INST_SCRIPTS/gimp/install_gimp.sh && rm -rf $INST_SCRIPTS/gimp/
|
|
||||||
|
|
||||||
### Install Zoom
|
|
||||||
COPY ./src/oracle/install/zoom $INST_SCRIPTS/zoom/
|
|
||||||
RUN bash $INST_SCRIPTS/zoom/install_zoom.sh && rm -rf $INST_SCRIPTS/zoom/
|
|
||||||
|
|
||||||
### Install Ansible
|
|
||||||
COPY ./src/oracle/install/ansible $INST_SCRIPTS/ansible/
|
|
||||||
RUN bash $INST_SCRIPTS/ansible/install_ansible.sh && rm -rf $INST_SCRIPTS/ansible/
|
|
||||||
|
|
||||||
### Install Terraform
|
|
||||||
COPY ./src/oracle/install/terraform $INST_SCRIPTS/terraform/
|
|
||||||
RUN bash $INST_SCRIPTS/terraform/install_terraform.sh && rm -rf $INST_SCRIPTS/terraform/
|
|
||||||
|
|
||||||
### Install Telegram
|
|
||||||
COPY ./src/oracle/install/telegram $INST_SCRIPTS/telegram/
|
|
||||||
RUN bash $INST_SCRIPTS/telegram/install_telegram.sh && rm -rf $INST_SCRIPTS/telegram/
|
|
||||||
|
|
||||||
### Install Thunderbird
|
|
||||||
COPY ./src/ubuntu/install/thunderbird $INST_SCRIPTS/thunderbird/
|
|
||||||
RUN bash $INST_SCRIPTS/thunderbird/install_thunderbird.sh && rm -rf $INST_SCRIPTS/thunderbird/
|
|
||||||
|
|
||||||
#ADD ./src/common/scripts $STARTUPDIR
|
|
||||||
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
|
||||||
|
|
||||||
RUN rm -f /etc/X11/xinit/Xclients
|
|
||||||
|
|
||||||
RUN chown 1000:0 $HOME
|
|
||||||
|
|
||||||
|
# Userspace Runtime
|
||||||
ENV HOME /home/kasm-user
|
ENV HOME /home/kasm-user
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
|
||||||
|
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
CMD ["--tail-log"]
|
CMD ["--tail-log"]
|
||||||
|
@ -5,31 +5,37 @@ USER root
|
|||||||
|
|
||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
### Envrionment config
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive \
|
||||||
|
SKIP_CLEAN=true \
|
||||||
|
KASM_RX_HOME=$STARTUPDIR/kasmrx \
|
||||||
|
DONT_PROMPT_WSL_INSTALL="No_Prompt_please" \
|
||||||
|
INST_DIR=$STARTUPDIR/install \
|
||||||
|
INST_SCRIPTS="/ubuntu/install/kali/install_kali.sh \
|
||||||
|
/ubuntu/install/chromium/install_chromium.sh \
|
||||||
|
/ubuntu/install/firefox/install_firefox.sh \
|
||||||
|
/ubuntu/install/cleanup/cleanup.sh"
|
||||||
|
|
||||||
|
# Copy install scripts
|
||||||
|
COPY ./src/ $INST_DIR
|
||||||
|
|
||||||
# Install Kali utils
|
# Run installations
|
||||||
COPY ./src/ubuntu/install/kali $INST_SCRIPTS/kali/
|
RUN \
|
||||||
RUN bash $INST_SCRIPTS/kali/install_kali.sh && rm -rf $INST_SCRIPTS/kali/
|
for SCRIPT in $INST_SCRIPTS; do \
|
||||||
|
bash ${INST_DIR}${SCRIPT}; \
|
||||||
# Install Chromium
|
done && \
|
||||||
COPY ./src/ubuntu/install/chromium $INST_SCRIPTS/chromium/
|
$STARTUPDIR/set_user_permission.sh $HOME && \
|
||||||
RUN bash $INST_SCRIPTS/chromium/install_chromium.sh && rm -rf $INST_SCRIPTS/chromium/
|
rm -f /etc/X11/xinit/Xclients && \
|
||||||
|
chown 1000:0 $HOME && \
|
||||||
# Install Firefox
|
mkdir -p /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/firefox/ $INST_SCRIPTS/firefox/
|
chown -R 1000:0 /home/kasm-user && \
|
||||||
RUN bash $INST_SCRIPTS/firefox/install_firefox.sh && rm -rf $INST_SCRIPTS/firefox/
|
rm -Rf ${INST_DIR}
|
||||||
|
|
||||||
######### End Customizations ###########
|
|
||||||
|
|
||||||
RUN chown 1000:0 $HOME
|
|
||||||
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
|
||||||
|
|
||||||
|
# Userspace Runtime
|
||||||
ENV HOME /home/kasm-user
|
ENV HOME /home/kasm-user
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
|
||||||
|
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
|
CMD ["--tail-log"]
|
||||||
|
@ -10,81 +10,47 @@ ENV STARTUPDIR /dockerstartup
|
|||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
### Envrionment config
|
### Envrionment config
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV SKIP_CLEAN=true \
|
||||||
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
|
KASM_RX_HOME=$STARTUPDIR/kasmrx \
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
DONT_PROMPT_WSL_INSTALL="No_Prompt_please" \
|
||||||
ENV DONT_PROMPT_WSL_INSTALL "No_Prompt_please"
|
INST_DIR=$STARTUPDIR/install \
|
||||||
|
INST_SCRIPTS="/opensuse/install/tools/install_tools_deluxe.sh \
|
||||||
|
/opensuse/install/misc/install_tools.sh \
|
||||||
|
/ubuntu/install/chrome/install_chrome.sh \
|
||||||
|
/ubuntu/install/chromium/install_chromium.sh \
|
||||||
|
/ubuntu/install/firefox/install_firefox.sh \
|
||||||
|
/opensuse/install/sublime_text/install_sublime_text.sh \
|
||||||
|
/opensuse/install/vs_code/install_vs_code.sh \
|
||||||
|
/ubuntu/install/nextcloud/install_nextcloud.sh \
|
||||||
|
/ubuntu/install/remmina/install_remmina.sh \
|
||||||
|
/opensuse/install/libre_office/install_libre_office.sh \
|
||||||
|
/opensuse/install/gimp/install_gimp.sh \
|
||||||
|
/opensuse/install/ansible/install_ansible.sh \
|
||||||
|
/opensuse/install/terraform/install_terraform.sh \
|
||||||
|
/opensuse/install/telegram/install_telegram.sh \
|
||||||
|
/ubuntu/install/thunderbird/install_thunderbird.sh \
|
||||||
|
/ubuntu/install/langpacks/install_langpacks.sh \
|
||||||
|
/ubuntu/install/cleanup/cleanup.sh"
|
||||||
|
|
||||||
### Install Tools
|
# Copy install scripts
|
||||||
COPY ./src/opensuse/install/tools $INST_SCRIPTS/tools/
|
COPY ./src/ $INST_DIR
|
||||||
RUN bash $INST_SCRIPTS/tools/install_tools_deluxe.sh && rm -rf $INST_SCRIPTS/tools/
|
|
||||||
|
|
||||||
# Install Utilities
|
# Run installations
|
||||||
COPY ./src/opensuse/install/misc $INST_SCRIPTS/misc/
|
RUN \
|
||||||
RUN bash $INST_SCRIPTS/misc/install_tools.sh && rm -rf $INST_SCRIPTS/misc/
|
for SCRIPT in $INST_SCRIPTS; do \
|
||||||
|
bash ${INST_DIR}${SCRIPT}; \
|
||||||
# Install Chrome
|
done && \
|
||||||
COPY ./src/ubuntu/install/chrome $INST_SCRIPTS/chrome/
|
$STARTUPDIR/set_user_permission.sh $HOME && \
|
||||||
RUN bash $INST_SCRIPTS/chrome/install_chrome.sh && rm -rf $INST_SCRIPTS/chrome/
|
rm -f /etc/X11/xinit/Xclients && \
|
||||||
|
chown 1000:0 $HOME && \
|
||||||
# Install Chromium
|
mkdir -p /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/chromium $INST_SCRIPTS/chromium/
|
chown -R 1000:0 /home/kasm-user && \
|
||||||
RUN if [ "$(uname -m)" == "aarch64" ]; then bash $INST_SCRIPTS/chromium/install_chromium.sh; fi && rm -rf $INST_SCRIPTS/chromium/
|
rm -Rf ${INST_DIR}
|
||||||
|
|
||||||
# Install Firefox
|
|
||||||
COPY ./src/ubuntu/install/firefox/ $INST_SCRIPTS/firefox/
|
|
||||||
COPY ./src/ubuntu/install/firefox/firefox.desktop $HOME/Desktop/
|
|
||||||
RUN bash $INST_SCRIPTS/firefox/install_firefox.sh && rm -rf $INST_SCRIPTS/firefox/
|
|
||||||
|
|
||||||
### Install Sublime Text
|
|
||||||
COPY ./src/opensuse/install/sublime_text $INST_SCRIPTS/sublime_text/
|
|
||||||
RUN bash $INST_SCRIPTS/sublime_text/install_sublime_text.sh && rm -rf $INST_SCRIPTS/sublime_text/
|
|
||||||
|
|
||||||
### Install Visual Studio Code
|
|
||||||
COPY ./src/opensuse/install/vs_code $INST_SCRIPTS/vs_code/
|
|
||||||
RUN bash $INST_SCRIPTS/vs_code/install_vs_code.sh && rm -rf $INST_SCRIPTS/vs_code/
|
|
||||||
|
|
||||||
### Install NextCloud
|
|
||||||
COPY ./src/ubuntu/install/nextcloud $INST_SCRIPTS/nextcloud/
|
|
||||||
RUN bash $INST_SCRIPTS/nextcloud/install_nextcloud.sh && rm -rf $INST_SCRIPTS/nextcloud/
|
|
||||||
|
|
||||||
### Install Remmina
|
|
||||||
COPY ./src/ubuntu/install/remmina $INST_SCRIPTS/remmina/
|
|
||||||
RUN bash $INST_SCRIPTS/remmina/install_remmina.sh && rm -rf $INST_SCRIPTS/remmina/
|
|
||||||
|
|
||||||
### Install Libre Office
|
|
||||||
COPY ./src/opensuse/install/libre_office $INST_SCRIPTS/libre_office/
|
|
||||||
RUN bash $INST_SCRIPTS/libre_office/install_libre_office.sh && rm -rf $INST_SCRIPTS/libre_office/
|
|
||||||
|
|
||||||
### Install GIMP
|
|
||||||
COPY ./src/opensuse/install/gimp $INST_SCRIPTS/gimp/
|
|
||||||
RUN bash $INST_SCRIPTS/gimp/install_gimp.sh && rm -rf $INST_SCRIPTS/gimp/
|
|
||||||
|
|
||||||
### Install Ansible
|
|
||||||
COPY ./src/opensuse/install/ansible $INST_SCRIPTS/ansible/
|
|
||||||
RUN bash $INST_SCRIPTS/ansible/install_ansible.sh && rm -rf $INST_SCRIPTS/ansible/
|
|
||||||
|
|
||||||
### Install Terraform
|
|
||||||
COPY ./src/opensuse/install/terraform $INST_SCRIPTS/terraform/
|
|
||||||
RUN bash $INST_SCRIPTS/terraform/install_terraform.sh && rm -rf $INST_SCRIPTS/terraform/
|
|
||||||
|
|
||||||
### Install Telegram
|
|
||||||
COPY ./src/opensuse/install/telegram $INST_SCRIPTS/telegram/
|
|
||||||
RUN bash $INST_SCRIPTS/telegram/install_telegram.sh && rm -rf $INST_SCRIPTS/telegram/
|
|
||||||
|
|
||||||
### Install Thunderbird
|
|
||||||
COPY ./src/ubuntu/install/thunderbird $INST_SCRIPTS/thunderbird/
|
|
||||||
RUN bash $INST_SCRIPTS/thunderbird/install_thunderbird.sh && rm -rf $INST_SCRIPTS/thunderbird/
|
|
||||||
|
|
||||||
#ADD ./src/common/scripts $STARTUPDIR
|
|
||||||
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
|
||||||
|
|
||||||
RUN chown 1000:0 $HOME
|
|
||||||
|
|
||||||
|
# Userspace Runtime
|
||||||
ENV HOME /home/kasm-user
|
ENV HOME /home/kasm-user
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
|
||||||
|
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
CMD ["--tail-log"]
|
CMD ["--tail-log"]
|
||||||
|
|
||||||
|
@ -10,79 +10,44 @@ ENV STARTUPDIR /dockerstartup
|
|||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
### Envrionment config
|
### Envrionment config
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV SKIP_CLEAN=true \
|
||||||
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
|
KASM_RX_HOME=$STARTUPDIR/kasmrx \
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
DONT_PROMPT_WSL_INSTALL="No_Prompt_please" \
|
||||||
ENV DONT_PROMPT_WSL_INSTALL "No_Prompt_please"
|
INST_DIR=$STARTUPDIR/install \
|
||||||
|
INST_SCRIPTS="/oracle/install/tools/install_tools_deluxe.sh \
|
||||||
|
/oracle/install/misc/install_tools.sh \
|
||||||
|
/ubuntu/install/chrome/install_chrome.sh \
|
||||||
|
/ubuntu/install/firefox/install_firefox.sh \
|
||||||
|
/oracle/install/sublime_text/install_sublime_text.sh \
|
||||||
|
/oracle/install/vs_code/install_vs_code.sh \
|
||||||
|
/ubuntu/install/remmina/install_remmina.sh \
|
||||||
|
/oracle/install/only_office/install_only_office.sh \
|
||||||
|
/oracle/install/gimp/install_gimp.sh \
|
||||||
|
/oracle/install/zoom/install_zoom.sh \
|
||||||
|
/oracle/install/ansible/install_ansible.sh \
|
||||||
|
/oracle/install/terraform/install_terraform.sh \
|
||||||
|
/oracle/install/telegram/install_telegram.sh \
|
||||||
|
/ubuntu/install/thunderbird/install_thunderbird.sh \
|
||||||
|
/ubuntu/install/cleanup/cleanup.sh"
|
||||||
|
|
||||||
### Install Tools
|
# Copy install scripts
|
||||||
COPY ./src/oracle/install/tools $INST_SCRIPTS/tools/
|
COPY ./src/ $INST_DIR
|
||||||
RUN bash $INST_SCRIPTS/tools/install_tools_deluxe.sh && rm -rf $INST_SCRIPTS/tools/
|
|
||||||
|
|
||||||
# Install Utilities
|
# Run installations
|
||||||
COPY ./src/oracle/install/misc $INST_SCRIPTS/misc/
|
RUN \
|
||||||
RUN bash $INST_SCRIPTS/misc/install_tools.sh && rm -rf $INST_SCRIPTS/misc/
|
for SCRIPT in $INST_SCRIPTS; do \
|
||||||
|
bash ${INST_DIR}${SCRIPT}; \
|
||||||
# Install Google Chrome
|
done && \
|
||||||
COPY ./src/ubuntu/install/chrome $INST_SCRIPTS/chrome/
|
$STARTUPDIR/set_user_permission.sh $HOME && \
|
||||||
RUN bash $INST_SCRIPTS/chrome/install_chrome.sh && rm -rf $INST_SCRIPTS/chrome/
|
rm -f /etc/X11/xinit/Xclients && \
|
||||||
|
chown 1000:0 $HOME && \
|
||||||
# Install Firefox
|
mkdir -p /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/firefox/ $INST_SCRIPTS/firefox/
|
chown -R 1000:0 /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/firefox/firefox.desktop $HOME/Desktop/
|
rm -Rf ${INST_DIR}
|
||||||
RUN bash $INST_SCRIPTS/firefox/install_firefox.sh && rm -rf $INST_SCRIPTS/firefox/
|
|
||||||
|
|
||||||
### Install Sublime Text
|
|
||||||
COPY ./src/oracle/install/sublime_text $INST_SCRIPTS/sublime_text/
|
|
||||||
RUN bash $INST_SCRIPTS/sublime_text/install_sublime_text.sh && rm -rf $INST_SCRIPTS/sublime_text/
|
|
||||||
|
|
||||||
### Install Visual Studio Code
|
|
||||||
COPY ./src/oracle/install/vs_code $INST_SCRIPTS/vs_code/
|
|
||||||
RUN bash $INST_SCRIPTS/vs_code/install_vs_code.sh && rm -rf $INST_SCRIPTS/vs_code/
|
|
||||||
|
|
||||||
### Install Remmina
|
|
||||||
COPY ./src/ubuntu/install/remmina $INST_SCRIPTS/remmina/
|
|
||||||
RUN bash $INST_SCRIPTS/remmina/install_remmina.sh && rm -rf $INST_SCRIPTS/remmina/
|
|
||||||
|
|
||||||
### Install Only Office
|
|
||||||
COPY ./src/oracle/install/only_office $INST_SCRIPTS/only_office/
|
|
||||||
RUN bash $INST_SCRIPTS/only_office/install_only_office.sh && rm -rf $INST_SCRIPTS/only_office/
|
|
||||||
|
|
||||||
### Install GIMP
|
|
||||||
COPY ./src/oracle/install/gimp $INST_SCRIPTS/gimp/
|
|
||||||
RUN bash $INST_SCRIPTS/gimp/install_gimp.sh && rm -rf $INST_SCRIPTS/gimp/
|
|
||||||
|
|
||||||
### Install Zoom
|
|
||||||
COPY ./src/oracle/install/zoom $INST_SCRIPTS/zoom/
|
|
||||||
RUN bash $INST_SCRIPTS/zoom/install_zoom.sh && rm -rf $INST_SCRIPTS/zoom/
|
|
||||||
|
|
||||||
### Install Ansible
|
|
||||||
COPY ./src/oracle/install/ansible $INST_SCRIPTS/ansible/
|
|
||||||
RUN bash $INST_SCRIPTS/ansible/install_ansible.sh && rm -rf $INST_SCRIPTS/ansible/
|
|
||||||
|
|
||||||
### Install Terraform
|
|
||||||
COPY ./src/oracle/install/terraform $INST_SCRIPTS/terraform/
|
|
||||||
RUN bash $INST_SCRIPTS/terraform/install_terraform.sh && rm -rf $INST_SCRIPTS/terraform/
|
|
||||||
|
|
||||||
### Install Telegram
|
|
||||||
COPY ./src/oracle/install/telegram $INST_SCRIPTS/telegram/
|
|
||||||
RUN bash $INST_SCRIPTS/telegram/install_telegram.sh && rm -rf $INST_SCRIPTS/telegram/
|
|
||||||
|
|
||||||
### Install Thunderbird
|
|
||||||
COPY ./src/ubuntu/install/thunderbird $INST_SCRIPTS/thunderbird/
|
|
||||||
RUN bash $INST_SCRIPTS/thunderbird/install_thunderbird.sh && rm -rf $INST_SCRIPTS/thunderbird/
|
|
||||||
|
|
||||||
#ADD ./src/common/scripts $STARTUPDIR
|
|
||||||
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
|
||||||
|
|
||||||
RUN rm -f /etc/X11/xinit/Xclients
|
|
||||||
|
|
||||||
RUN chown 1000:0 $HOME
|
|
||||||
|
|
||||||
|
# Userspace Runtime
|
||||||
ENV HOME /home/kasm-user
|
ENV HOME /home/kasm-user
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
|
||||||
|
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
CMD ["--tail-log"]
|
CMD ["--tail-log"]
|
||||||
|
@ -10,87 +10,46 @@ ENV STARTUPDIR /dockerstartup
|
|||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
### Envrionment config
|
### Envrionment config
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV SKIP_CLEAN=true \
|
||||||
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
|
KASM_RX_HOME=$STARTUPDIR/kasmrx \
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
DONT_PROMPT_WSL_INSTALL="No_Prompt_please" \
|
||||||
ENV DONT_PROMPT_WSL_INSTALL "No_Prompt_please"
|
INST_DIR=$STARTUPDIR/install \
|
||||||
|
INST_SCRIPTS="/oracle/install/tools/install_tools_deluxe.sh \
|
||||||
|
/oracle/install/misc/install_tools.sh \
|
||||||
|
/ubuntu/install/chromium/install_chromium.sh \
|
||||||
|
/ubuntu/install/firefox/install_firefox.sh \
|
||||||
|
/oracle/install/sublime_text/install_sublime_text.sh \
|
||||||
|
/oracle/install/vs_code/install_vs_code.sh \
|
||||||
|
/ubuntu/install/nextcloud/install_nextcloud.sh \
|
||||||
|
/ubuntu/install/remmina/install_remmina.sh \
|
||||||
|
/oracle/install/only_office/install_only_office.sh \
|
||||||
|
/oracle/install/gimp/install_gimp.sh \
|
||||||
|
/oracle/install/zoom/install_zoom.sh \
|
||||||
|
/oracle/install/obs/install_obs.sh \
|
||||||
|
/oracle/install/ansible/install_ansible.sh \
|
||||||
|
/oracle/install/terraform/install_terraform.sh \
|
||||||
|
/oracle/install/telegram/install_telegram.sh \
|
||||||
|
/ubuntu/install/thunderbird/install_thunderbird.sh \
|
||||||
|
/ubuntu/install/cleanup/cleanup.sh"
|
||||||
|
|
||||||
### Install Tools
|
# Copy install scripts
|
||||||
COPY ./src/oracle/install/tools $INST_SCRIPTS/tools/
|
COPY ./src/ $INST_DIR
|
||||||
RUN bash $INST_SCRIPTS/tools/install_tools_deluxe.sh && rm -rf $INST_SCRIPTS/tools/
|
|
||||||
|
|
||||||
# Install Utilities
|
# Run installations
|
||||||
COPY ./src/oracle/install/misc $INST_SCRIPTS/misc/
|
RUN \
|
||||||
RUN bash $INST_SCRIPTS/misc/install_tools.sh && rm -rf $INST_SCRIPTS/misc/
|
for SCRIPT in $INST_SCRIPTS; do \
|
||||||
|
bash ${INST_DIR}${SCRIPT}; \
|
||||||
# Install Chromium
|
done && \
|
||||||
COPY ./src/ubuntu/install/chromium $INST_SCRIPTS/chromium/
|
$STARTUPDIR/set_user_permission.sh $HOME && \
|
||||||
RUN bash $INST_SCRIPTS/chromium/install_chromium.sh && rm -rf $INST_SCRIPTS/chromium/
|
rm -f /etc/X11/xinit/Xclients && \
|
||||||
|
chown 1000:0 $HOME && \
|
||||||
# Install Firefox
|
mkdir -p /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/firefox/ $INST_SCRIPTS/firefox/
|
chown -R 1000:0 /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/firefox/firefox.desktop $HOME/Desktop/
|
rm -Rf ${INST_DIR}
|
||||||
RUN bash $INST_SCRIPTS/firefox/install_firefox.sh && rm -rf $INST_SCRIPTS/firefox/
|
|
||||||
|
|
||||||
### Install Sublime Text
|
|
||||||
COPY ./src/oracle/install/sublime_text $INST_SCRIPTS/sublime_text/
|
|
||||||
RUN bash $INST_SCRIPTS/sublime_text/install_sublime_text.sh && rm -rf $INST_SCRIPTS/sublime_text/
|
|
||||||
|
|
||||||
### Install Visual Studio Code
|
|
||||||
COPY ./src/oracle/install/vs_code $INST_SCRIPTS/vs_code/
|
|
||||||
RUN bash $INST_SCRIPTS/vs_code/install_vs_code.sh && rm -rf $INST_SCRIPTS/vs_code/
|
|
||||||
|
|
||||||
### Install NextCloud
|
|
||||||
COPY ./src/ubuntu/install/nextcloud $INST_SCRIPTS/nextcloud/
|
|
||||||
RUN bash $INST_SCRIPTS/nextcloud/install_nextcloud.sh && rm -rf $INST_SCRIPTS/nextcloud/
|
|
||||||
|
|
||||||
### Install Remmina
|
|
||||||
COPY ./src/ubuntu/install/remmina $INST_SCRIPTS/remmina/
|
|
||||||
RUN bash $INST_SCRIPTS/remmina/install_remmina.sh && rm -rf $INST_SCRIPTS/remmina/
|
|
||||||
|
|
||||||
### Install Only Office
|
|
||||||
COPY ./src/oracle/install/only_office $INST_SCRIPTS/only_office/
|
|
||||||
RUN bash $INST_SCRIPTS/only_office/install_only_office.sh && rm -rf $INST_SCRIPTS/only_office/
|
|
||||||
|
|
||||||
### Install GIMP
|
|
||||||
COPY ./src/oracle/install/gimp $INST_SCRIPTS/gimp/
|
|
||||||
RUN bash $INST_SCRIPTS/gimp/install_gimp.sh && rm -rf $INST_SCRIPTS/gimp/
|
|
||||||
|
|
||||||
### Install Zoom
|
|
||||||
COPY ./src/oracle/install/zoom $INST_SCRIPTS/zoom/
|
|
||||||
RUN bash $INST_SCRIPTS/zoom/install_zoom.sh && rm -rf $INST_SCRIPTS/zoom/
|
|
||||||
|
|
||||||
### Install OBS Studio
|
|
||||||
COPY ./src/oracle/install/obs $INST_SCRIPTS/obs/
|
|
||||||
RUN bash $INST_SCRIPTS/obs/install_obs.sh && rm -rf $INST_SCRIPTS/obs/
|
|
||||||
|
|
||||||
### Install Ansible
|
|
||||||
COPY ./src/oracle/install/ansible $INST_SCRIPTS/ansible/
|
|
||||||
RUN bash $INST_SCRIPTS/ansible/install_ansible.sh && rm -rf $INST_SCRIPTS/ansible/
|
|
||||||
|
|
||||||
### Install Terraform
|
|
||||||
COPY ./src/oracle/install/terraform $INST_SCRIPTS/terraform/
|
|
||||||
RUN bash $INST_SCRIPTS/terraform/install_terraform.sh && rm -rf $INST_SCRIPTS/terraform/
|
|
||||||
|
|
||||||
### Install Telegram
|
|
||||||
COPY ./src/oracle/install/telegram $INST_SCRIPTS/telegram/
|
|
||||||
RUN bash $INST_SCRIPTS/telegram/install_telegram.sh && rm -rf $INST_SCRIPTS/telegram/
|
|
||||||
|
|
||||||
### Install Thunderbird
|
|
||||||
COPY ./src/ubuntu/install/thunderbird $INST_SCRIPTS/thunderbird/
|
|
||||||
RUN bash $INST_SCRIPTS/thunderbird/install_thunderbird.sh && rm -rf $INST_SCRIPTS/thunderbird/
|
|
||||||
|
|
||||||
#ADD ./src/common/scripts $STARTUPDIR
|
|
||||||
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
|
||||||
|
|
||||||
RUN rm -f /etc/X11/xinit/Xclients
|
|
||||||
|
|
||||||
RUN chown 1000:0 $HOME
|
|
||||||
|
|
||||||
|
# Userspace Runtime
|
||||||
ENV HOME /home/kasm-user
|
ENV HOME /home/kasm-user
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
|
||||||
|
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
CMD ["--tail-log"]
|
CMD ["--tail-log"]
|
||||||
|
@ -10,79 +10,45 @@ ENV STARTUPDIR /dockerstartup
|
|||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
### Envrionment config
|
### Envrionment config
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV SKIP_CLEAN=true \
|
||||||
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
|
KASM_RX_HOME=$STARTUPDIR/kasmrx \
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
DONT_PROMPT_WSL_INSTALL="No_Prompt_please" \
|
||||||
ENV DONT_PROMPT_WSL_INSTALL "No_Prompt_please"
|
INST_DIR=$STARTUPDIR/install \
|
||||||
|
INST_SCRIPTS="/oracle/install/tools/install_tools_deluxe.sh \
|
||||||
|
/oracle/install/misc/install_tools.sh \
|
||||||
|
/ubuntu/install/chromium/install_chromium.sh \
|
||||||
|
/ubuntu/install/firefox/install_firefox.sh \
|
||||||
|
/oracle/install/sublime_text/install_sublime_text.sh \
|
||||||
|
/oracle/install/vs_code/install_vs_code.sh \
|
||||||
|
/ubuntu/install/remmina/install_remmina.sh \
|
||||||
|
/oracle/install/only_office/install_only_office.sh \
|
||||||
|
/oracle/install/gimp/install_gimp.sh \
|
||||||
|
/oracle/install/zoom/install_zoom.sh \
|
||||||
|
/oracle/install/obs/install_obs.sh \
|
||||||
|
/oracle/install/ansible/install_ansible.sh \
|
||||||
|
/oracle/install/terraform/install_terraform.sh \
|
||||||
|
/oracle/install/telegram/install_telegram.sh \
|
||||||
|
/ubuntu/install/thunderbird/install_thunderbird.sh \
|
||||||
|
/ubuntu/install/cleanup/cleanup.sh"
|
||||||
|
|
||||||
### Install Tools
|
# Copy install scripts
|
||||||
COPY ./src/oracle/install/tools $INST_SCRIPTS/tools/
|
COPY ./src/ $INST_DIR
|
||||||
RUN bash $INST_SCRIPTS/tools/install_tools_deluxe.sh && rm -rf $INST_SCRIPTS/tools/
|
|
||||||
|
|
||||||
# Install Utilities
|
# Run installations
|
||||||
COPY ./src/oracle/install/misc $INST_SCRIPTS/misc/
|
RUN \
|
||||||
RUN bash $INST_SCRIPTS/misc/install_tools.sh && rm -rf $INST_SCRIPTS/misc/
|
for SCRIPT in $INST_SCRIPTS; do \
|
||||||
|
bash ${INST_DIR}${SCRIPT}; \
|
||||||
# Install Chromium
|
done && \
|
||||||
COPY ./src/ubuntu/install/chromium $INST_SCRIPTS/chromium/
|
$STARTUPDIR/set_user_permission.sh $HOME && \
|
||||||
RUN bash $INST_SCRIPTS/chromium/install_chromium.sh && rm -rf $INST_SCRIPTS/chromium/
|
rm -f /etc/X11/xinit/Xclients && \
|
||||||
|
chown 1000:0 $HOME && \
|
||||||
# Install Firefox
|
mkdir -p /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/firefox/ $INST_SCRIPTS/firefox/
|
chown -R 1000:0 /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/firefox/firefox.desktop $HOME/Desktop/
|
rm -Rf ${INST_DIR}
|
||||||
RUN bash $INST_SCRIPTS/firefox/install_firefox.sh && rm -rf $INST_SCRIPTS/firefox/
|
|
||||||
|
|
||||||
### Install Sublime Text
|
|
||||||
COPY ./src/oracle/install/sublime_text $INST_SCRIPTS/sublime_text/
|
|
||||||
RUN bash $INST_SCRIPTS/sublime_text/install_sublime_text.sh && rm -rf $INST_SCRIPTS/sublime_text/
|
|
||||||
|
|
||||||
### Install Visual Studio Code
|
|
||||||
COPY ./src/oracle/install/vs_code $INST_SCRIPTS/vs_code/
|
|
||||||
RUN bash $INST_SCRIPTS/vs_code/install_vs_code.sh && rm -rf $INST_SCRIPTS/vs_code/
|
|
||||||
|
|
||||||
### Install Remmina
|
|
||||||
COPY ./src/ubuntu/install/remmina $INST_SCRIPTS/remmina/
|
|
||||||
RUN bash $INST_SCRIPTS/remmina/install_remmina.sh && rm -rf $INST_SCRIPTS/remmina/
|
|
||||||
|
|
||||||
### Install Only Office
|
|
||||||
COPY ./src/oracle/install/only_office $INST_SCRIPTS/only_office/
|
|
||||||
RUN bash $INST_SCRIPTS/only_office/install_only_office.sh && rm -rf $INST_SCRIPTS/only_office/
|
|
||||||
|
|
||||||
### Install GIMP
|
|
||||||
COPY ./src/oracle/install/gimp $INST_SCRIPTS/gimp/
|
|
||||||
RUN bash $INST_SCRIPTS/gimp/install_gimp.sh && rm -rf $INST_SCRIPTS/gimp/
|
|
||||||
|
|
||||||
### Install Zoom
|
|
||||||
COPY ./src/oracle/install/zoom $INST_SCRIPTS/zoom/
|
|
||||||
RUN bash $INST_SCRIPTS/zoom/install_zoom.sh && rm -rf $INST_SCRIPTS/zoom/
|
|
||||||
|
|
||||||
### Install Ansible
|
|
||||||
COPY ./src/oracle/install/ansible $INST_SCRIPTS/ansible/
|
|
||||||
RUN bash $INST_SCRIPTS/ansible/install_ansible.sh && rm -rf $INST_SCRIPTS/ansible/
|
|
||||||
|
|
||||||
### Install Terraform
|
|
||||||
COPY ./src/oracle/install/terraform $INST_SCRIPTS/terraform/
|
|
||||||
RUN bash $INST_SCRIPTS/terraform/install_terraform.sh && rm -rf $INST_SCRIPTS/terraform/
|
|
||||||
|
|
||||||
### Install Telegram
|
|
||||||
COPY ./src/oracle/install/telegram $INST_SCRIPTS/telegram/
|
|
||||||
RUN bash $INST_SCRIPTS/telegram/install_telegram.sh && rm -rf $INST_SCRIPTS/telegram/
|
|
||||||
|
|
||||||
### Install Thunderbird
|
|
||||||
COPY ./src/ubuntu/install/thunderbird $INST_SCRIPTS/thunderbird/
|
|
||||||
RUN bash $INST_SCRIPTS/thunderbird/install_thunderbird.sh && rm -rf $INST_SCRIPTS/thunderbird/
|
|
||||||
|
|
||||||
#ADD ./src/common/scripts $STARTUPDIR
|
|
||||||
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
|
||||||
|
|
||||||
RUN rm -f /etc/X11/xinit/Xclients
|
|
||||||
|
|
||||||
RUN chown 1000:0 $HOME
|
|
||||||
|
|
||||||
|
# Userspace Runtime
|
||||||
ENV HOME /home/kasm-user
|
ENV HOME /home/kasm-user
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
|
||||||
|
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
CMD ["--tail-log"]
|
CMD ["--tail-log"]
|
||||||
|
@ -5,31 +5,37 @@ USER root
|
|||||||
|
|
||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
|
||||||
ENV DONT_PROMPT_WSL_INSTALL "No_Prompt_please"
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
### Envrionment config
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive \
|
||||||
|
SKIP_CLEAN=true \
|
||||||
|
KASM_RX_HOME=$STARTUPDIR/kasmrx \
|
||||||
|
DONT_PROMPT_WSL_INSTALL="No_Prompt_please" \
|
||||||
|
INST_DIR=$STARTUPDIR/install \
|
||||||
|
INST_SCRIPTS="/ubuntu/install/parrot/install_parrot.sh \
|
||||||
|
/ubuntu/install/chromium/install_chromium.sh \
|
||||||
|
/ubuntu/install/firefox/install_firefox.sh \
|
||||||
|
/ubuntu/install/cleanup/cleanup.sh"
|
||||||
|
|
||||||
# Install Parrot utils
|
# Copy install scripts
|
||||||
COPY ./src/ubuntu/install/parrot $INST_SCRIPTS/parrot/
|
COPY ./src/ $INST_DIR
|
||||||
RUN bash $INST_SCRIPTS/parrot/install_parrot.sh && rm -rf $INST_SCRIPTS/parrot/
|
|
||||||
|
|
||||||
# Install Chromium
|
# Run installations
|
||||||
COPY ./src/ubuntu/install/chromium $INST_SCRIPTS/chromium/
|
RUN \
|
||||||
RUN bash $INST_SCRIPTS/chromium/install_chromium.sh && rm -rf $INST_SCRIPTS/chromium/
|
for SCRIPT in $INST_SCRIPTS; do \
|
||||||
|
bash ${INST_DIR}${SCRIPT}; \
|
||||||
# Install Firefox
|
done && \
|
||||||
COPY ./src/ubuntu/install/firefox/ $INST_SCRIPTS/firefox/
|
$STARTUPDIR/set_user_permission.sh $HOME && \
|
||||||
RUN bash $INST_SCRIPTS/firefox/install_firefox.sh && rm -rf $INST_SCRIPTS/firefox/
|
rm -f /etc/X11/xinit/Xclients && \
|
||||||
|
chown 1000:0 $HOME && \
|
||||||
######### End Customizations ###########
|
mkdir -p /home/kasm-user && \
|
||||||
|
chown -R 1000:0 /home/kasm-user && \
|
||||||
RUN chown 1000:0 $HOME
|
rm -Rf ${INST_DIR}
|
||||||
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
|
||||||
|
|
||||||
|
# Userspace Runtime
|
||||||
ENV HOME /home/kasm-user
|
ENV HOME /home/kasm-user
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
|
||||||
|
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
|
CMD ["--tail-log"]
|
||||||
|
@ -10,83 +10,46 @@ ENV STARTUPDIR /dockerstartup
|
|||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
### Envrionment config
|
### Envrionment config
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV SKIP_CLEAN=true \
|
||||||
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
|
KASM_RX_HOME=$STARTUPDIR/kasmrx \
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
DONT_PROMPT_WSL_INSTALL="No_Prompt_please" \
|
||||||
|
INST_DIR=$STARTUPDIR/install \
|
||||||
|
INST_SCRIPTS="/oracle/install/tools/install_tools_deluxe.sh \
|
||||||
|
/oracle/install/misc/install_tools.sh \
|
||||||
|
/ubuntu/install/chromium/install_chromium.sh \
|
||||||
|
/ubuntu/install/firefox/install_firefox.sh \
|
||||||
|
/oracle/install/sublime_text/install_sublime_text.sh \
|
||||||
|
/ubuntu/install/nextcloud/install_nextcloud.sh \
|
||||||
|
/oracle/install/vs_code/install_vs_code.sh \
|
||||||
|
/ubuntu/install/remmina/install_remmina.sh \
|
||||||
|
/oracle/install/only_office/install_only_office.sh \
|
||||||
|
/oracle/install/gimp/install_gimp.sh \
|
||||||
|
/oracle/install/zoom/install_zoom.sh \
|
||||||
|
/oracle/install/ansible/install_ansible.sh \
|
||||||
|
/oracle/install/terraform/install_terraform.sh \
|
||||||
|
/oracle/install/telegram/install_telegram.sh \
|
||||||
|
/oracle/install/obs/install_obs.sh \
|
||||||
|
/ubuntu/install/thunderbird/install_thunderbird.sh \
|
||||||
|
/ubuntu/install/cleanup/cleanup.sh"
|
||||||
|
|
||||||
|
# Copy install scripts
|
||||||
|
COPY ./src/ $INST_DIR
|
||||||
|
|
||||||
### Install Tools
|
# Run installations
|
||||||
COPY ./src/oracle/install/tools $INST_SCRIPTS/tools/
|
RUN \
|
||||||
RUN bash $INST_SCRIPTS/tools/install_tools_deluxe.sh && rm -rf $INST_SCRIPTS/tools/
|
for SCRIPT in $INST_SCRIPTS; do \
|
||||||
|
bash ${INST_DIR}${SCRIPT}; \
|
||||||
# Install Utilities
|
done && \
|
||||||
COPY ./src/oracle/install/misc $INST_SCRIPTS/misc/
|
$STARTUPDIR/set_user_permission.sh $HOME && \
|
||||||
RUN bash $INST_SCRIPTS/misc/install_tools.sh && rm -rf $INST_SCRIPTS/misc/
|
rm -f /etc/X11/xinit/Xclients && \
|
||||||
|
chown 1000:0 $HOME && \
|
||||||
# Install Chromium
|
mkdir -p /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/chromium $INST_SCRIPTS/chromium/
|
chown -R 1000:0 /home/kasm-user && \
|
||||||
RUN bash $INST_SCRIPTS/chromium/install_chromium.sh && rm -rf $INST_SCRIPTS/chromium/
|
rm -Rf ${INST_DIR}
|
||||||
|
|
||||||
# Install Firefox
|
|
||||||
COPY ./src/ubuntu/install/firefox/ $INST_SCRIPTS/firefox/
|
|
||||||
COPY ./src/ubuntu/install/firefox/firefox.desktop $HOME/Desktop/
|
|
||||||
RUN bash $INST_SCRIPTS/firefox/install_firefox.sh && rm -rf $INST_SCRIPTS/firefox/
|
|
||||||
|
|
||||||
### Install Sublime Text
|
|
||||||
COPY ./src/oracle/install/sublime_text $INST_SCRIPTS/sublime_text/
|
|
||||||
RUN bash $INST_SCRIPTS/sublime_text/install_sublime_text.sh && rm -rf $INST_SCRIPTS/sublime_text/
|
|
||||||
|
|
||||||
### Install NextCloud
|
|
||||||
COPY ./src/ubuntu/install/nextcloud $INST_SCRIPTS/nextcloud/
|
|
||||||
RUN bash $INST_SCRIPTS/nextcloud/install_nextcloud.sh && rm -rf $INST_SCRIPTS/nextcloud/
|
|
||||||
|
|
||||||
### Install Remmina
|
|
||||||
COPY ./src/ubuntu/install/remmina $INST_SCRIPTS/remmina/
|
|
||||||
RUN bash $INST_SCRIPTS/remmina/install_remmina.sh && rm -rf $INST_SCRIPTS/remmina/
|
|
||||||
|
|
||||||
### Install Only Office
|
|
||||||
COPY ./src/oracle/install/only_office $INST_SCRIPTS/only_office/
|
|
||||||
RUN bash $INST_SCRIPTS/only_office/install_only_office.sh && rm -rf $INST_SCRIPTS/only_office/
|
|
||||||
|
|
||||||
### Install GIMP
|
|
||||||
COPY ./src/oracle/install/gimp $INST_SCRIPTS/gimp/
|
|
||||||
RUN bash $INST_SCRIPTS/gimp/install_gimp.sh && rm -rf $INST_SCRIPTS/gimp/
|
|
||||||
|
|
||||||
### Install Zoom
|
|
||||||
COPY ./src/oracle/install/zoom $INST_SCRIPTS/zoom/
|
|
||||||
RUN bash $INST_SCRIPTS/zoom/install_zoom.sh && rm -rf $INST_SCRIPTS/zoom/
|
|
||||||
|
|
||||||
### Install OBS Studio
|
|
||||||
COPY ./src/oracle/install/obs $INST_SCRIPTS/obs/
|
|
||||||
RUN bash $INST_SCRIPTS/obs/install_obs.sh && rm -rf $INST_SCRIPTS/obs/
|
|
||||||
|
|
||||||
### Install Ansible
|
|
||||||
COPY ./src/oracle/install/ansible $INST_SCRIPTS/ansible/
|
|
||||||
RUN bash $INST_SCRIPTS/ansible/install_ansible.sh && rm -rf $INST_SCRIPTS/ansible/
|
|
||||||
|
|
||||||
### Install Terraform
|
|
||||||
COPY ./src/oracle/install/terraform $INST_SCRIPTS/terraform/
|
|
||||||
RUN bash $INST_SCRIPTS/terraform/install_terraform.sh && rm -rf $INST_SCRIPTS/terraform/
|
|
||||||
|
|
||||||
### Install Telegram
|
|
||||||
COPY ./src/oracle/install/telegram $INST_SCRIPTS/telegram/
|
|
||||||
RUN bash $INST_SCRIPTS/telegram/install_telegram.sh && rm -rf $INST_SCRIPTS/telegram/
|
|
||||||
|
|
||||||
### Install Thunderbird
|
|
||||||
COPY ./src/ubuntu/install/thunderbird $INST_SCRIPTS/thunderbird/
|
|
||||||
RUN bash $INST_SCRIPTS/thunderbird/install_thunderbird.sh && rm -rf $INST_SCRIPTS/thunderbird/
|
|
||||||
|
|
||||||
#ADD ./src/common/scripts $STARTUPDIR
|
|
||||||
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
|
||||||
|
|
||||||
RUN rm -f /etc/X11/xinit/Xclients
|
|
||||||
|
|
||||||
RUN chown 1000:0 $HOME
|
|
||||||
|
|
||||||
|
# Userspace Runtime
|
||||||
ENV HOME /home/kasm-user
|
ENV HOME /home/kasm-user
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
|
||||||
|
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
CMD ["--tail-log"]
|
CMD ["--tail-log"]
|
||||||
|
@ -10,79 +10,44 @@ ENV STARTUPDIR /dockerstartup
|
|||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
### Envrionment config
|
### Envrionment config
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV SKIP_CLEAN=true \
|
||||||
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
|
KASM_RX_HOME=$STARTUPDIR/kasmrx \
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
DONT_PROMPT_WSL_INSTALL="No_Prompt_please" \
|
||||||
ENV DONT_PROMPT_WSL_INSTALL "No_Prompt_please"
|
INST_DIR=$STARTUPDIR/install \
|
||||||
|
INST_SCRIPTS="/oracle/install/tools/install_tools_deluxe.sh \
|
||||||
|
/oracle/install/misc/install_tools.sh \
|
||||||
|
/ubuntu/install/chromium/install_chromium.sh \
|
||||||
|
/ubuntu/install/firefox/install_firefox.sh \
|
||||||
|
/oracle/install/sublime_text/install_sublime_text.sh \
|
||||||
|
/oracle/install/vs_code/install_vs_code.sh \
|
||||||
|
/ubuntu/install/remmina/install_remmina.sh \
|
||||||
|
/oracle/install/only_office/install_only_office.sh \
|
||||||
|
/oracle/install/gimp/install_gimp.sh \
|
||||||
|
/oracle/install/zoom/install_zoom.sh \
|
||||||
|
/oracle/install/ansible/install_ansible.sh \
|
||||||
|
/oracle/install/terraform/install_terraform.sh \
|
||||||
|
/oracle/install/telegram/install_telegram.sh \
|
||||||
|
/ubuntu/install/thunderbird/install_thunderbird.sh \
|
||||||
|
/ubuntu/install/cleanup/cleanup.sh"
|
||||||
|
|
||||||
### Install Tools
|
# Copy install scripts
|
||||||
COPY ./src/oracle/install/tools $INST_SCRIPTS/tools/
|
COPY ./src/ $INST_DIR
|
||||||
RUN bash $INST_SCRIPTS/tools/install_tools_deluxe.sh && rm -rf $INST_SCRIPTS/tools/
|
|
||||||
|
|
||||||
# Install Utilities
|
# Run installations
|
||||||
COPY ./src/oracle/install/misc $INST_SCRIPTS/misc/
|
RUN \
|
||||||
RUN bash $INST_SCRIPTS/misc/install_tools.sh && rm -rf $INST_SCRIPTS/misc/
|
for SCRIPT in $INST_SCRIPTS; do \
|
||||||
|
bash ${INST_DIR}${SCRIPT}; \
|
||||||
# Install Chromium
|
done && \
|
||||||
COPY ./src/ubuntu/install/chromium $INST_SCRIPTS/chromium/
|
$STARTUPDIR/set_user_permission.sh $HOME && \
|
||||||
RUN bash $INST_SCRIPTS/chromium/install_chromium.sh && rm -rf $INST_SCRIPTS/chromium/
|
rm -f /etc/X11/xinit/Xclients && \
|
||||||
|
chown 1000:0 $HOME && \
|
||||||
# Install Firefox
|
mkdir -p /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/firefox/ $INST_SCRIPTS/firefox/
|
chown -R 1000:0 /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/firefox/firefox.desktop $HOME/Desktop/
|
rm -Rf ${INST_DIR}
|
||||||
RUN bash $INST_SCRIPTS/firefox/install_firefox.sh && rm -rf $INST_SCRIPTS/firefox/
|
|
||||||
|
|
||||||
### Install Sublime Text
|
|
||||||
COPY ./src/oracle/install/sublime_text $INST_SCRIPTS/sublime_text/
|
|
||||||
RUN bash $INST_SCRIPTS/sublime_text/install_sublime_text.sh && rm -rf $INST_SCRIPTS/sublime_text/
|
|
||||||
|
|
||||||
### Install Visual Studio Code
|
|
||||||
COPY ./src/oracle/install/vs_code $INST_SCRIPTS/vs_code/
|
|
||||||
RUN bash $INST_SCRIPTS/vs_code/install_vs_code.sh && rm -rf $INST_SCRIPTS/vs_code/
|
|
||||||
|
|
||||||
### Install Remmina
|
|
||||||
COPY ./src/ubuntu/install/remmina $INST_SCRIPTS/remmina/
|
|
||||||
RUN bash $INST_SCRIPTS/remmina/install_remmina.sh && rm -rf $INST_SCRIPTS/remmina/
|
|
||||||
|
|
||||||
### Install Only Office
|
|
||||||
COPY ./src/oracle/install/only_office $INST_SCRIPTS/only_office/
|
|
||||||
RUN bash $INST_SCRIPTS/only_office/install_only_office.sh && rm -rf $INST_SCRIPTS/only_office/
|
|
||||||
|
|
||||||
### Install GIMP
|
|
||||||
COPY ./src/oracle/install/gimp $INST_SCRIPTS/gimp/
|
|
||||||
RUN bash $INST_SCRIPTS/gimp/install_gimp.sh && rm -rf $INST_SCRIPTS/gimp/
|
|
||||||
|
|
||||||
### Install Zoom
|
|
||||||
COPY ./src/oracle/install/zoom $INST_SCRIPTS/zoom/
|
|
||||||
RUN bash $INST_SCRIPTS/zoom/install_zoom.sh && rm -rf $INST_SCRIPTS/zoom/
|
|
||||||
|
|
||||||
### Install Ansible
|
|
||||||
COPY ./src/oracle/install/ansible $INST_SCRIPTS/ansible/
|
|
||||||
RUN bash $INST_SCRIPTS/ansible/install_ansible.sh && rm -rf $INST_SCRIPTS/ansible/
|
|
||||||
|
|
||||||
### Install Terraform
|
|
||||||
COPY ./src/oracle/install/terraform $INST_SCRIPTS/terraform/
|
|
||||||
RUN bash $INST_SCRIPTS/terraform/install_terraform.sh && rm -rf $INST_SCRIPTS/terraform/
|
|
||||||
|
|
||||||
### Install Telegram
|
|
||||||
COPY ./src/oracle/install/telegram $INST_SCRIPTS/telegram/
|
|
||||||
RUN bash $INST_SCRIPTS/telegram/install_telegram.sh && rm -rf $INST_SCRIPTS/telegram/
|
|
||||||
|
|
||||||
### Install Thunderbird
|
|
||||||
COPY ./src/ubuntu/install/thunderbird $INST_SCRIPTS/thunderbird/
|
|
||||||
RUN bash $INST_SCRIPTS/thunderbird/install_thunderbird.sh && rm -rf $INST_SCRIPTS/thunderbird/
|
|
||||||
|
|
||||||
#ADD ./src/common/scripts $STARTUPDIR
|
|
||||||
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
|
||||||
|
|
||||||
RUN rm -f /etc/X11/xinit/Xclients
|
|
||||||
|
|
||||||
RUN chown 1000:0 $HOME
|
|
||||||
|
|
||||||
|
# Userspace Runtime
|
||||||
ENV HOME /home/kasm-user
|
ENV HOME /home/kasm-user
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
|
||||||
|
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
CMD ["--tail-log"]
|
CMD ["--tail-log"]
|
||||||
|
@ -9,97 +9,51 @@ ENV STARTUPDIR /dockerstartup
|
|||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
### Envrionment config
|
### Envrionment config
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive \
|
||||||
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
|
SKIP_CLEAN=true \
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
KASM_RX_HOME=$STARTUPDIR/kasmrx \
|
||||||
ENV DONT_PROMPT_WSL_INSTALL "No_Prompt_please"
|
DONT_PROMPT_WSL_INSTALL="No_Prompt_please" \
|
||||||
|
INST_DIR=$STARTUPDIR/install \
|
||||||
|
INST_SCRIPTS="/ubuntu/install/tools/install_tools_deluxe.sh \
|
||||||
|
/ubuntu/install/misc/install_tools.sh \
|
||||||
|
/ubuntu/install/chrome/install_chrome.sh \
|
||||||
|
/ubuntu/install/chromium/install_chromium.sh \
|
||||||
|
/ubuntu/install/firefox/install_firefox.sh \
|
||||||
|
/ubuntu/install/sublime_text/install_sublime_text.sh \
|
||||||
|
/ubuntu/install/vs_code/install_vs_code.sh \
|
||||||
|
/ubuntu/install/nextcloud/install_nextcloud.sh \
|
||||||
|
/ubuntu/install/remmina/install_remmina.sh \
|
||||||
|
/ubuntu/install/only_office/install_only_office.sh \
|
||||||
|
/ubuntu/install/signal/install_signal.sh \
|
||||||
|
/ubuntu/install/gimp/install_gimp.sh \
|
||||||
|
/ubuntu/install/zoom/install_zoom.sh \
|
||||||
|
/ubuntu/install/obs/install_obs.sh \
|
||||||
|
/ubuntu/install/ansible/install_ansible.sh \
|
||||||
|
/ubuntu/install/terraform/install_terraform.sh \
|
||||||
|
/ubuntu/install/telegram/install_telegram.sh \
|
||||||
|
/ubuntu/install/thunderbird/install_thunderbird.sh \
|
||||||
|
/ubuntu/install/gamepad_utils/install_gamepad_utils.sh \
|
||||||
|
/ubuntu/install/cleanup/cleanup.sh"
|
||||||
|
|
||||||
### Install Tools
|
# Copy install scripts
|
||||||
COPY ./src/ubuntu/install/tools $INST_SCRIPTS/tools/
|
COPY ./src/ $INST_DIR
|
||||||
RUN bash $INST_SCRIPTS/tools/install_tools_deluxe.sh && rm -rf $INST_SCRIPTS/tools/
|
|
||||||
|
|
||||||
# Install Utilities
|
# Run installations
|
||||||
COPY ./src/ubuntu/install/misc $INST_SCRIPTS/misc/
|
RUN \
|
||||||
RUN bash $INST_SCRIPTS/misc/install_tools.sh && rm -rf $INST_SCRIPTS/misc/
|
for SCRIPT in $INST_SCRIPTS; do \
|
||||||
|
bash ${INST_DIR}${SCRIPT}; \
|
||||||
# Install Google Chrome
|
done && \
|
||||||
COPY ./src/ubuntu/install/chrome $INST_SCRIPTS/chrome/
|
$STARTUPDIR/set_user_permission.sh $HOME && \
|
||||||
RUN bash $INST_SCRIPTS/chrome/install_chrome.sh && rm -rf $INST_SCRIPTS/chrome/
|
rm -f /etc/X11/xinit/Xclients && \
|
||||||
|
chown 1000:0 $HOME && \
|
||||||
# Install Chromium
|
mkdir -p /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/chromium $INST_SCRIPTS/chromium/
|
chown -R 1000:0 /home/kasm-user && \
|
||||||
RUN if [ "$(uname -m)" = "aarch64" ]; then bash $INST_SCRIPTS/chromium/install_chromium.sh; fi && rm -rf $INST_SCRIPTS/chromium/
|
rm -Rf ${INST_DIR}
|
||||||
|
|
||||||
# Install Firefox
|
|
||||||
COPY ./src/ubuntu/install/firefox/ $INST_SCRIPTS/firefox/
|
|
||||||
COPY ./src/ubuntu/install/firefox/firefox.desktop $HOME/Desktop/
|
|
||||||
RUN bash $INST_SCRIPTS/firefox/install_firefox.sh && rm -rf $INST_SCRIPTS/firefox/
|
|
||||||
|
|
||||||
### Install Sublime Text
|
|
||||||
COPY ./src/ubuntu/install/sublime_text $INST_SCRIPTS/sublime_text/
|
|
||||||
RUN bash $INST_SCRIPTS/sublime_text/install_sublime_text.sh && rm -rf $INST_SCRIPTS/sublime_text/
|
|
||||||
|
|
||||||
### Install Visual Studio Code
|
|
||||||
COPY ./src/ubuntu/install/vs_code $INST_SCRIPTS/vs_code/
|
|
||||||
RUN bash $INST_SCRIPTS/vs_code/install_vs_code.sh && rm -rf $INST_SCRIPTS/vs_code/
|
|
||||||
|
|
||||||
### Install NextCloud
|
|
||||||
COPY ./src/ubuntu/install/nextcloud $INST_SCRIPTS/nextcloud/
|
|
||||||
RUN bash $INST_SCRIPTS/nextcloud/install_nextcloud.sh && rm -rf $INST_SCRIPTS/nextcloud/
|
|
||||||
|
|
||||||
### Install Remmina
|
|
||||||
COPY ./src/ubuntu/install/remmina $INST_SCRIPTS/remmina/
|
|
||||||
RUN bash $INST_SCRIPTS/remmina/install_remmina.sh && rm -rf $INST_SCRIPTS/remmina/
|
|
||||||
|
|
||||||
### Install Only Office
|
|
||||||
COPY ./src/ubuntu/install/only_office $INST_SCRIPTS/only_office/
|
|
||||||
RUN bash $INST_SCRIPTS/only_office/install_only_office.sh && rm -rf $INST_SCRIPTS/only_office/
|
|
||||||
|
|
||||||
### Install Signal
|
|
||||||
COPY ./src/ubuntu/install/signal $INST_SCRIPTS/signal/
|
|
||||||
RUN bash $INST_SCRIPTS/signal/install_signal.sh && rm -rf $INST_SCRIPTS/signal/
|
|
||||||
|
|
||||||
### Install GIMP
|
|
||||||
COPY ./src/ubuntu/install/gimp $INST_SCRIPTS/gimp/
|
|
||||||
RUN bash $INST_SCRIPTS/gimp/install_gimp.sh && rm -rf $INST_SCRIPTS/gimp/
|
|
||||||
|
|
||||||
### Install Zoom
|
|
||||||
COPY ./src/ubuntu/install/zoom $INST_SCRIPTS/zoom/
|
|
||||||
RUN bash $INST_SCRIPTS/zoom/install_zoom.sh && rm -rf $INST_SCRIPTS/zoom/
|
|
||||||
|
|
||||||
### Install OBS Studio
|
|
||||||
COPY ./src/ubuntu/install/obs $INST_SCRIPTS/obs/
|
|
||||||
RUN bash $INST_SCRIPTS/obs/install_obs.sh && rm -rf $INST_SCRIPTS/obs/
|
|
||||||
|
|
||||||
### Install Ansible
|
|
||||||
COPY ./src/ubuntu/install/ansible $INST_SCRIPTS/ansible/
|
|
||||||
RUN bash $INST_SCRIPTS/ansible/install_ansible.sh && rm -rf $INST_SCRIPTS/ansible/
|
|
||||||
|
|
||||||
### Install Terraform
|
|
||||||
COPY ./src/ubuntu/install/terraform $INST_SCRIPTS/terraform/
|
|
||||||
RUN bash $INST_SCRIPTS/terraform/install_terraform.sh && rm -rf $INST_SCRIPTS/terraform/
|
|
||||||
|
|
||||||
### Install Telegram
|
|
||||||
COPY ./src/ubuntu/install/telegram $INST_SCRIPTS/telegram/
|
|
||||||
RUN bash $INST_SCRIPTS/telegram/install_telegram.sh && rm -rf $INST_SCRIPTS/telegram/
|
|
||||||
|
|
||||||
### Install Thunderbird
|
|
||||||
COPY ./src/ubuntu/install/thunderbird $INST_SCRIPTS/thunderbird/
|
|
||||||
RUN bash $INST_SCRIPTS/thunderbird/install_thunderbird.sh && rm -rf $INST_SCRIPTS/thunderbird/
|
|
||||||
|
|
||||||
# Install Gamepad Testing Utils
|
|
||||||
COPY ./src/ubuntu/install/gamepad_utils $INST_SCRIPTS/gamepad_utils/
|
|
||||||
RUN bash $INST_SCRIPTS/gamepad_utils/install_gamepad_utils.sh && rm -rf $INST_SCRIPTS/gamepad_utils/
|
|
||||||
|
|
||||||
#ADD ./src/common/scripts $STARTUPDIR
|
|
||||||
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
|
||||||
|
|
||||||
RUN chown 1000:0 $HOME
|
|
||||||
|
|
||||||
|
# Userspace Runtime
|
||||||
ENV HOME /home/kasm-user
|
ENV HOME /home/kasm-user
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
|
||||||
|
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
CMD ["--tail-log"]
|
CMD ["--tail-log"]
|
||||||
|
|
||||||
|
@ -5,56 +5,47 @@ USER root
|
|||||||
|
|
||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
### Envrionment config
|
||||||
|
ENV DEBUG=false \
|
||||||
ENV DOCKER_CHANNEL=stable \
|
DEBIAN_FRONTEND=noninteractive \
|
||||||
DOCKER_VERSION=20.10.9 \
|
SKIP_CLEAN=true \
|
||||||
DOCKER_COMPOSE_VERSION=1.29.2 \
|
KASM_RX_HOME=$STARTUPDIR/kasmrx \
|
||||||
DEBUG=false \
|
DONT_PROMPT_WSL_INSTALL="No_Prompt_please" \
|
||||||
DONT_PROMPT_WSL_INSTALL="No_Prompt_please"
|
INST_DIR=$STARTUPDIR/install \
|
||||||
|
INST_SCRIPTS="/ubuntu/install/dind/install_dind.sh \
|
||||||
|
/ubuntu/install/tools/install_tools_deluxe.sh \
|
||||||
COPY ./src/ubuntu/install/dind $INST_SCRIPTS/dind/
|
/ubuntu/install/misc/install_tools.sh \
|
||||||
|
/ubuntu/install/chrome/install_chrome.sh \
|
||||||
RUN bash $INST_SCRIPTS/dind/install_dind.sh && rm -rf $INST_SCRIPTS/dind/
|
/ubuntu/install/chromium/install_chromium.sh \
|
||||||
|
/ubuntu/install/sublime_text/install_sublime_text.sh \
|
||||||
|
/ubuntu/install/vs_code/install_vs_code.sh \
|
||||||
|
/ubuntu/install/cleanup/cleanup.sh"
|
||||||
|
|
||||||
|
# Startup Scripts
|
||||||
COPY ./src/ubuntu/install/dind/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
COPY ./src/ubuntu/install/dind/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
|
||||||
RUN chmod 755 $STARTUPDIR/custom_startup.sh
|
RUN chmod 755 $STARTUPDIR/custom_startup.sh
|
||||||
|
|
||||||
COPY ./src/ubuntu/install/dind/modprobe /usr/local/bin/modprobe
|
|
||||||
RUN chmod +x /usr/local/bin/modprobe
|
|
||||||
COPY ./src/ubuntu/install/dind/dockerd.conf /etc/supervisor/conf.d/
|
COPY ./src/ubuntu/install/dind/dockerd.conf /etc/supervisor/conf.d/
|
||||||
|
|
||||||
### Install Tools
|
# Copy install scripts
|
||||||
COPY ./src/ubuntu/install/tools $INST_SCRIPTS/tools/
|
COPY ./src/ $INST_DIR
|
||||||
RUN bash $INST_SCRIPTS/tools/install_tools_deluxe.sh && rm -rf $INST_SCRIPTS/tools/
|
|
||||||
|
|
||||||
# Install Utilities
|
# Run installations
|
||||||
COPY ./src/ubuntu/install/misc $INST_SCRIPTS/misc/
|
RUN \
|
||||||
RUN bash $INST_SCRIPTS/misc/install_tools.sh && rm -rf $INST_SCRIPTS/misc/
|
for SCRIPT in $INST_SCRIPTS; do \
|
||||||
|
bash ${INST_DIR}${SCRIPT}; \
|
||||||
### Install Sublime Text
|
done && \
|
||||||
COPY ./src/ubuntu/install/sublime_text $INST_SCRIPTS/sublime_text/
|
$STARTUPDIR/set_user_permission.sh $HOME && \
|
||||||
RUN bash $INST_SCRIPTS/sublime_text/install_sublime_text.sh && rm -rf $INST_SCRIPTS/sublime_text/
|
rm -f /etc/X11/xinit/Xclients && \
|
||||||
|
chown 1000:0 $HOME && \
|
||||||
### Install Visual Studio Code
|
mkdir -p /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/vs_code $INST_SCRIPTS/vs_code/
|
chown -R 1000:0 /home/kasm-user && \
|
||||||
RUN bash $INST_SCRIPTS/vs_code/install_vs_code.sh && rm -rf $INST_SCRIPTS/vs_code/
|
rm -Rf ${INST_DIR}
|
||||||
|
|
||||||
# Install Google Chrome
|
|
||||||
COPY ./src/ubuntu/install/chrome $INST_SCRIPTS/chrome/
|
|
||||||
RUN bash $INST_SCRIPTS/chrome/install_chrome.sh && rm -rf $INST_SCRIPTS/chrome/
|
|
||||||
|
|
||||||
######### End Customizations ###########
|
|
||||||
|
|
||||||
RUN chown 1000:0 $HOME
|
|
||||||
|
|
||||||
|
# Userspace Runtime
|
||||||
ENV HOME /home/kasm-user
|
ENV HOME /home/kasm-user
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
|
||||||
|
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
|
CMD ["--tail-log"]
|
||||||
|
@ -8,21 +8,15 @@ ENV STARTUPDIR /dockerstartup
|
|||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
# Rootless Dind
|
||||||
|
|
||||||
ENV DOCKER_BIN=/usr/local/lib/docker \
|
ENV DOCKER_BIN=/usr/local/lib/docker \
|
||||||
XDG_RUNTIME_DIR=/docker \
|
XDG_RUNTIME_DIR=/docker
|
||||||
DONT_PROMPT_WSL_INSTALL="No_Prompt_please"
|
|
||||||
|
|
||||||
RUN mkdir -p $DOCKER_BIN && chown 1000:0 $DOCKER_BIN && \
|
RUN mkdir -p $DOCKER_BIN && chown 1000:0 $DOCKER_BIN && \
|
||||||
mkdir -p $XDG_RUNTIME_DIR && chown 1000:0 $XDG_RUNTIME_DIR
|
mkdir -p $XDG_RUNTIME_DIR && chown 1000:0 $XDG_RUNTIME_DIR
|
||||||
|
|
||||||
ENV PATH=$DOCKER_BIN:$DOCKER_BIN/cli-plugins:$PATH \
|
ENV PATH=$DOCKER_BIN:$DOCKER_BIN/cli-plugins:$PATH \
|
||||||
DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock
|
DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock
|
||||||
|
|
||||||
COPY ./src/ubuntu/install/dind_rootless/install_dind_rootless_prerequisites.sh $INST_SCRIPTS/dind_rootless/
|
COPY ./src/ubuntu/install/dind_rootless/install_dind_rootless_prerequisites.sh $INST_SCRIPTS/dind_rootless/
|
||||||
RUN bash $INST_SCRIPTS/dind_rootless/install_dind_rootless_prerequisites.sh
|
RUN bash $INST_SCRIPTS/dind_rootless/install_dind_rootless_prerequisites.sh
|
||||||
|
|
||||||
COPY ./src/ubuntu/install/dind_rootless/install_dind_rootless.sh $INST_SCRIPTS/dind_rootless/
|
COPY ./src/ubuntu/install/dind_rootless/install_dind_rootless.sh $INST_SCRIPTS/dind_rootless/
|
||||||
RUN chown 1000:1000 $INST_SCRIPTS/dind_rootless/install_dind_rootless.sh
|
RUN chown 1000:1000 $INST_SCRIPTS/dind_rootless/install_dind_rootless.sh
|
||||||
# It's recommended that docker-rootless be installed by non root user
|
# It's recommended that docker-rootless be installed by non root user
|
||||||
@ -30,39 +24,43 @@ USER 1000
|
|||||||
RUN bash $INST_SCRIPTS/dind_rootless/install_dind_rootless.sh
|
RUN bash $INST_SCRIPTS/dind_rootless/install_dind_rootless.sh
|
||||||
USER root
|
USER root
|
||||||
RUN rm -rf $INST_SCRIPTS/dind_rootless
|
RUN rm -rf $INST_SCRIPTS/dind_rootless
|
||||||
|
|
||||||
COPY ./src/ubuntu/install/dind_rootless/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
COPY ./src/ubuntu/install/dind_rootless/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
RUN chmod +x $STARTUPDIR/custom_startup.sh && chmod 755 $STARTUPDIR/custom_startup.sh
|
RUN chmod +x $STARTUPDIR/custom_startup.sh && chmod 755 $STARTUPDIR/custom_startup.sh
|
||||||
|
|
||||||
COPY ./src/ubuntu/install/dind_rootless/modprobe /usr/local/bin/modprobe
|
COPY ./src/ubuntu/install/dind_rootless/modprobe /usr/local/bin/modprobe
|
||||||
RUN chmod +x /usr/local/bin/modprobe
|
RUN chmod +x /usr/local/bin/modprobe
|
||||||
|
|
||||||
### Install Tools
|
### Envrionment config
|
||||||
COPY ./src/ubuntu/install/tools $INST_SCRIPTS/tools/
|
ENV DEBIAN_FRONTEND=noninteractive \
|
||||||
RUN bash $INST_SCRIPTS/tools/install_tools_deluxe.sh && rm -rf $INST_SCRIPTS/tools/
|
SKIP_CLEAN=true \
|
||||||
|
KASM_RX_HOME=$STARTUPDIR/kasmrx \
|
||||||
|
DONT_PROMPT_WSL_INSTALL="No_Prompt_please" \
|
||||||
|
INST_DIR=$STARTUPDIR/install \
|
||||||
|
INST_SCRIPTS="/ubuntu/install/tools/install_tools_deluxe.sh \
|
||||||
|
/ubuntu/install/misc/install_tools.sh \
|
||||||
|
/ubuntu/install/chrome/install_chrome.sh \
|
||||||
|
/ubuntu/install/chromium/install_chromium.sh \
|
||||||
|
/ubuntu/install/sublime_text/install_sublime_text.sh \
|
||||||
|
/ubuntu/install/vs_code/install_vs_code.sh \
|
||||||
|
/ubuntu/install/cleanup/cleanup.sh"
|
||||||
|
|
||||||
# Install Utilities
|
# Copy install scripts
|
||||||
COPY ./src/ubuntu/install/misc $INST_SCRIPTS/misc/
|
COPY ./src/ $INST_DIR
|
||||||
RUN bash $INST_SCRIPTS/misc/install_tools.sh && rm -rf $INST_SCRIPTS/misc/
|
|
||||||
|
|
||||||
### Install Sublime Text
|
# Run installations
|
||||||
COPY ./src/ubuntu/install/sublime_text $INST_SCRIPTS/sublime_text/
|
RUN \
|
||||||
RUN bash $INST_SCRIPTS/sublime_text/install_sublime_text.sh && rm -rf $INST_SCRIPTS/sublime_text/
|
for SCRIPT in $INST_SCRIPTS; do \
|
||||||
|
bash ${INST_DIR}${SCRIPT}; \
|
||||||
### Install Visual Studio Code
|
done && \
|
||||||
COPY ./src/ubuntu/install/vs_code $INST_SCRIPTS/vs_code/
|
$STARTUPDIR/set_user_permission.sh $HOME && \
|
||||||
RUN bash $INST_SCRIPTS/vs_code/install_vs_code.sh && rm -rf $INST_SCRIPTS/vs_code/
|
rm -f /etc/X11/xinit/Xclients && \
|
||||||
|
chown 1000:0 $HOME && \
|
||||||
# Install Google Chrome
|
mkdir -p /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/chrome $INST_SCRIPTS/chrome/
|
chown -R 1000:0 /home/kasm-user && \
|
||||||
RUN bash $INST_SCRIPTS/chrome/install_chrome.sh && rm -rf $INST_SCRIPTS/chrome/
|
rm -Rf ${INST_DIR}
|
||||||
|
|
||||||
######### End Customizations ###########
|
|
||||||
|
|
||||||
RUN chown 1000:0 $HOME
|
|
||||||
|
|
||||||
|
# Userspace Runtime
|
||||||
ENV HOME /home/kasm-user
|
ENV HOME /home/kasm-user
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
|
||||||
|
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
|
CMD ["--tail-log"]
|
||||||
|
@ -9,97 +9,50 @@ ENV STARTUPDIR /dockerstartup
|
|||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
### Envrionment config
|
### Envrionment config
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive \
|
||||||
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
|
SKIP_CLEAN=true \
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
KASM_RX_HOME=$STARTUPDIR/kasmrx \
|
||||||
ENV DONT_PROMPT_WSL_INSTALL "No_Prompt_please"
|
DONT_PROMPT_WSL_INSTALL="No_Prompt_please" \
|
||||||
|
INST_DIR=$STARTUPDIR/install \
|
||||||
|
INST_SCRIPTS="/ubuntu/install/tools/install_tools_deluxe.sh \
|
||||||
|
/ubuntu/install/misc/install_tools.sh \
|
||||||
|
/ubuntu/install/chrome/install_chrome.sh \
|
||||||
|
/ubuntu/install/chromium/install_chromium.sh \
|
||||||
|
/ubuntu/install/firefox/install_firefox.sh \
|
||||||
|
/ubuntu/install/sublime_text/install_sublime_text.sh \
|
||||||
|
/ubuntu/install/vs_code/install_vs_code.sh \
|
||||||
|
/ubuntu/install/nextcloud/install_nextcloud.sh \
|
||||||
|
/ubuntu/install/remmina/install_remmina.sh \
|
||||||
|
/ubuntu/install/only_office/install_only_office.sh \
|
||||||
|
/ubuntu/install/signal/install_signal.sh \
|
||||||
|
/ubuntu/install/gimp/install_gimp.sh \
|
||||||
|
/ubuntu/install/zoom/install_zoom.sh \
|
||||||
|
/ubuntu/install/obs/install_obs.sh \
|
||||||
|
/ubuntu/install/ansible/install_ansible.sh \
|
||||||
|
/ubuntu/install/terraform/install_terraform.sh \
|
||||||
|
/ubuntu/install/telegram/install_telegram.sh \
|
||||||
|
/ubuntu/install/thunderbird/install_thunderbird.sh \
|
||||||
|
/ubuntu/install/gamepad_utils/install_gamepad_utils.sh \
|
||||||
|
/ubuntu/install/cleanup/cleanup.sh"
|
||||||
|
|
||||||
### Install Tools
|
# Copy install scripts
|
||||||
COPY ./src/ubuntu/install/tools $INST_SCRIPTS/tools/
|
COPY ./src/ $INST_DIR
|
||||||
RUN bash $INST_SCRIPTS/tools/install_tools_deluxe.sh && rm -rf $INST_SCRIPTS/tools/
|
|
||||||
|
|
||||||
# Install Utilities
|
# Run installations
|
||||||
COPY ./src/ubuntu/install/misc $INST_SCRIPTS/misc/
|
RUN \
|
||||||
RUN bash $INST_SCRIPTS/misc/install_tools.sh && rm -rf $INST_SCRIPTS/misc/
|
for SCRIPT in $INST_SCRIPTS; do \
|
||||||
|
bash ${INST_DIR}${SCRIPT}; \
|
||||||
# Install Google Chrome
|
done && \
|
||||||
COPY ./src/ubuntu/install/chrome $INST_SCRIPTS/chrome/
|
$STARTUPDIR/set_user_permission.sh $HOME && \
|
||||||
RUN bash $INST_SCRIPTS/chrome/install_chrome.sh && rm -rf $INST_SCRIPTS/chrome/
|
rm -f /etc/X11/xinit/Xclients && \
|
||||||
|
chown 1000:0 $HOME && \
|
||||||
# Install Chromium
|
mkdir -p /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/chromium $INST_SCRIPTS/chromium/
|
chown -R 1000:0 /home/kasm-user && \
|
||||||
RUN if [ "$(uname -m)" = "aarch64" ]; then bash $INST_SCRIPTS/chromium/install_chromium.sh; fi && rm -rf $INST_SCRIPTS/chromium/
|
rm -Rf ${INST_DIR}
|
||||||
|
|
||||||
# Install Firefox
|
|
||||||
COPY ./src/ubuntu/install/firefox/ $INST_SCRIPTS/firefox/
|
|
||||||
COPY ./src/ubuntu/install/firefox/firefox.desktop $HOME/Desktop/
|
|
||||||
RUN bash $INST_SCRIPTS/firefox/install_firefox.sh && rm -rf $INST_SCRIPTS/firefox/
|
|
||||||
|
|
||||||
### Install Sublime Text
|
|
||||||
COPY ./src/ubuntu/install/sublime_text $INST_SCRIPTS/sublime_text/
|
|
||||||
RUN bash $INST_SCRIPTS/sublime_text/install_sublime_text.sh && rm -rf $INST_SCRIPTS/sublime_text/
|
|
||||||
|
|
||||||
### Install Visual Studio Code
|
|
||||||
COPY ./src/ubuntu/install/vs_code $INST_SCRIPTS/vs_code/
|
|
||||||
RUN bash $INST_SCRIPTS/vs_code/install_vs_code.sh && rm -rf $INST_SCRIPTS/vs_code/
|
|
||||||
|
|
||||||
### Install NextCloud
|
|
||||||
COPY ./src/ubuntu/install/nextcloud $INST_SCRIPTS/nextcloud/
|
|
||||||
RUN bash $INST_SCRIPTS/nextcloud/install_nextcloud.sh && rm -rf $INST_SCRIPTS/nextcloud/
|
|
||||||
|
|
||||||
### Install Remmina
|
|
||||||
COPY ./src/ubuntu/install/remmina $INST_SCRIPTS/remmina/
|
|
||||||
RUN bash $INST_SCRIPTS/remmina/install_remmina.sh && rm -rf $INST_SCRIPTS/remmina/
|
|
||||||
|
|
||||||
### Install Only Office
|
|
||||||
COPY ./src/ubuntu/install/only_office $INST_SCRIPTS/only_office/
|
|
||||||
RUN bash $INST_SCRIPTS/only_office/install_only_office.sh && rm -rf $INST_SCRIPTS/only_office/
|
|
||||||
|
|
||||||
### Install Signal
|
|
||||||
COPY ./src/ubuntu/install/signal $INST_SCRIPTS/signal/
|
|
||||||
RUN bash $INST_SCRIPTS/signal/install_signal.sh && rm -rf $INST_SCRIPTS/signal/
|
|
||||||
|
|
||||||
### Install GIMP
|
|
||||||
COPY ./src/ubuntu/install/gimp $INST_SCRIPTS/gimp/
|
|
||||||
RUN bash $INST_SCRIPTS/gimp/install_gimp.sh && rm -rf $INST_SCRIPTS/gimp/
|
|
||||||
|
|
||||||
### Install Zoom
|
|
||||||
COPY ./src/ubuntu/install/zoom $INST_SCRIPTS/zoom/
|
|
||||||
RUN bash $INST_SCRIPTS/zoom/install_zoom.sh && rm -rf $INST_SCRIPTS/zoom/
|
|
||||||
|
|
||||||
### Install OBS Studio
|
|
||||||
COPY ./src/ubuntu/install/obs $INST_SCRIPTS/obs/
|
|
||||||
RUN bash $INST_SCRIPTS/obs/install_obs.sh && rm -rf $INST_SCRIPTS/obs/
|
|
||||||
|
|
||||||
### Install Ansible
|
|
||||||
COPY ./src/ubuntu/install/ansible $INST_SCRIPTS/ansible/
|
|
||||||
RUN bash $INST_SCRIPTS/ansible/install_ansible.sh && rm -rf $INST_SCRIPTS/ansible/
|
|
||||||
|
|
||||||
### Install Terraform
|
|
||||||
COPY ./src/ubuntu/install/terraform $INST_SCRIPTS/terraform/
|
|
||||||
RUN bash $INST_SCRIPTS/terraform/install_terraform.sh && rm -rf $INST_SCRIPTS/terraform/
|
|
||||||
|
|
||||||
### Install Telegram
|
|
||||||
COPY ./src/ubuntu/install/telegram $INST_SCRIPTS/telegram/
|
|
||||||
RUN bash $INST_SCRIPTS/telegram/install_telegram.sh && rm -rf $INST_SCRIPTS/telegram/
|
|
||||||
|
|
||||||
### Install Thunderbird
|
|
||||||
COPY ./src/ubuntu/install/thunderbird $INST_SCRIPTS/thunderbird/
|
|
||||||
RUN bash $INST_SCRIPTS/thunderbird/install_thunderbird.sh && rm -rf $INST_SCRIPTS/thunderbird/
|
|
||||||
|
|
||||||
# Install Gamepad Testing Utils
|
|
||||||
COPY ./src/ubuntu/install/gamepad_utils $INST_SCRIPTS/gamepad_utils/
|
|
||||||
RUN bash $INST_SCRIPTS/gamepad_utils/install_gamepad_utils.sh && rm -rf $INST_SCRIPTS/gamepad_utils/
|
|
||||||
|
|
||||||
#ADD ./src/common/scripts $STARTUPDIR
|
|
||||||
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
|
||||||
|
|
||||||
RUN chown 1000:0 $HOME
|
|
||||||
|
|
||||||
|
# Userspace Runtime
|
||||||
ENV HOME /home/kasm-user
|
ENV HOME /home/kasm-user
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
|
||||||
|
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
CMD ["--tail-log"]
|
CMD ["--tail-log"]
|
||||||
|
@ -5,55 +5,47 @@ USER root
|
|||||||
|
|
||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
### Envrionment config
|
||||||
|
ENV DEBUG=false \
|
||||||
ENV DOCKER_CHANNEL=stable \
|
DEBIAN_FRONTEND=noninteractive \
|
||||||
DOCKER_VERSION=20.10.9 \
|
SKIP_CLEAN=true \
|
||||||
DOCKER_COMPOSE_VERSION=1.29.2 \
|
KASM_RX_HOME=$STARTUPDIR/kasmrx \
|
||||||
DEBUG=false \
|
DONT_PROMPT_WSL_INSTALL="No_Prompt_please" \
|
||||||
DONT_PROMPT_WSL_INSTALL="No_Prompt_please"
|
INST_DIR=$STARTUPDIR/install \
|
||||||
|
INST_SCRIPTS="/ubuntu/install/dind/install_dind.sh \
|
||||||
COPY ./src/ubuntu/install/dind $INST_SCRIPTS/dind/
|
/ubuntu/install/tools/install_tools_deluxe.sh \
|
||||||
|
/ubuntu/install/misc/install_tools.sh \
|
||||||
RUN bash $INST_SCRIPTS/dind/install_dind.sh && rm -rf $INST_SCRIPTS/dind/
|
/ubuntu/install/chrome/install_chrome.sh \
|
||||||
|
/ubuntu/install/chromium/install_chromium.sh \
|
||||||
|
/ubuntu/install/sublime_text/install_sublime_text.sh \
|
||||||
|
/ubuntu/install/vs_code/install_vs_code.sh \
|
||||||
|
/ubuntu/install/cleanup/cleanup.sh"
|
||||||
|
|
||||||
|
# Startup Scripts
|
||||||
COPY ./src/ubuntu/install/dind/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
COPY ./src/ubuntu/install/dind/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
|
||||||
RUN chmod 755 $STARTUPDIR/custom_startup.sh
|
RUN chmod 755 $STARTUPDIR/custom_startup.sh
|
||||||
|
|
||||||
COPY ./src/ubuntu/install/dind/modprobe /usr/local/bin/modprobe
|
|
||||||
RUN chmod +x /usr/local/bin/modprobe
|
|
||||||
COPY ./src/ubuntu/install/dind/dockerd.conf /etc/supervisor/conf.d/
|
COPY ./src/ubuntu/install/dind/dockerd.conf /etc/supervisor/conf.d/
|
||||||
|
|
||||||
### Install Tools
|
# Copy install scripts
|
||||||
COPY ./src/ubuntu/install/tools $INST_SCRIPTS/tools/
|
COPY ./src/ $INST_DIR
|
||||||
RUN bash $INST_SCRIPTS/tools/install_tools_deluxe.sh && rm -rf $INST_SCRIPTS/tools/
|
|
||||||
|
|
||||||
# Install Utilities
|
# Run installations
|
||||||
COPY ./src/ubuntu/install/misc $INST_SCRIPTS/misc/
|
RUN \
|
||||||
RUN bash $INST_SCRIPTS/misc/install_tools.sh && rm -rf $INST_SCRIPTS/misc/
|
for SCRIPT in $INST_SCRIPTS; do \
|
||||||
|
bash ${INST_DIR}${SCRIPT}; \
|
||||||
### Install Sublime Text
|
done && \
|
||||||
COPY ./src/ubuntu/install/sublime_text $INST_SCRIPTS/sublime_text/
|
$STARTUPDIR/set_user_permission.sh $HOME && \
|
||||||
RUN bash $INST_SCRIPTS/sublime_text/install_sublime_text.sh && rm -rf $INST_SCRIPTS/sublime_text/
|
rm -f /etc/X11/xinit/Xclients && \
|
||||||
|
chown 1000:0 $HOME && \
|
||||||
### Install Visual Studio Code
|
mkdir -p /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/vs_code $INST_SCRIPTS/vs_code/
|
chown -R 1000:0 /home/kasm-user && \
|
||||||
RUN bash $INST_SCRIPTS/vs_code/install_vs_code.sh && rm -rf $INST_SCRIPTS/vs_code/
|
rm -Rf ${INST_DIR}
|
||||||
|
|
||||||
# Install Google Chrome
|
|
||||||
COPY ./src/ubuntu/install/chrome $INST_SCRIPTS/chrome/
|
|
||||||
RUN bash $INST_SCRIPTS/chrome/install_chrome.sh && rm -rf $INST_SCRIPTS/chrome/
|
|
||||||
|
|
||||||
######### End Customizations ###########
|
|
||||||
|
|
||||||
RUN chown 1000:0 $HOME
|
|
||||||
|
|
||||||
|
# Userspace Runtime
|
||||||
ENV HOME /home/kasm-user
|
ENV HOME /home/kasm-user
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
|
||||||
|
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
|
CMD ["--tail-log"]
|
||||||
|
@ -8,21 +8,15 @@ ENV STARTUPDIR /dockerstartup
|
|||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
# Rootless Dind
|
||||||
|
|
||||||
ENV DOCKER_BIN=/usr/local/lib/docker \
|
ENV DOCKER_BIN=/usr/local/lib/docker \
|
||||||
XDG_RUNTIME_DIR=/docker \
|
XDG_RUNTIME_DIR=/docker
|
||||||
DONT_PROMPT_WSL_INSTALL="No_Prompt_please"
|
|
||||||
|
|
||||||
RUN mkdir -p $DOCKER_BIN && chown 1000:0 $DOCKER_BIN && \
|
RUN mkdir -p $DOCKER_BIN && chown 1000:0 $DOCKER_BIN && \
|
||||||
mkdir -p $XDG_RUNTIME_DIR && chown 1000:0 $XDG_RUNTIME_DIR
|
mkdir -p $XDG_RUNTIME_DIR && chown 1000:0 $XDG_RUNTIME_DIR
|
||||||
|
|
||||||
ENV PATH=$DOCKER_BIN:$DOCKER_BIN/cli-plugins:$PATH \
|
ENV PATH=$DOCKER_BIN:$DOCKER_BIN/cli-plugins:$PATH \
|
||||||
DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock
|
DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock
|
||||||
|
|
||||||
COPY ./src/ubuntu/install/dind_rootless/install_dind_rootless_prerequisites.sh $INST_SCRIPTS/dind_rootless/
|
COPY ./src/ubuntu/install/dind_rootless/install_dind_rootless_prerequisites.sh $INST_SCRIPTS/dind_rootless/
|
||||||
RUN bash $INST_SCRIPTS/dind_rootless/install_dind_rootless_prerequisites.sh
|
RUN bash $INST_SCRIPTS/dind_rootless/install_dind_rootless_prerequisites.sh
|
||||||
|
|
||||||
COPY ./src/ubuntu/install/dind_rootless/install_dind_rootless.sh $INST_SCRIPTS/dind_rootless/
|
COPY ./src/ubuntu/install/dind_rootless/install_dind_rootless.sh $INST_SCRIPTS/dind_rootless/
|
||||||
RUN chown 1000:1000 $INST_SCRIPTS/dind_rootless/install_dind_rootless.sh
|
RUN chown 1000:1000 $INST_SCRIPTS/dind_rootless/install_dind_rootless.sh
|
||||||
# It's recommended that docker-rootless be installed by non root user
|
# It's recommended that docker-rootless be installed by non root user
|
||||||
@ -30,39 +24,43 @@ USER 1000
|
|||||||
RUN bash $INST_SCRIPTS/dind_rootless/install_dind_rootless.sh
|
RUN bash $INST_SCRIPTS/dind_rootless/install_dind_rootless.sh
|
||||||
USER root
|
USER root
|
||||||
RUN rm -rf $INST_SCRIPTS/dind_rootless
|
RUN rm -rf $INST_SCRIPTS/dind_rootless
|
||||||
|
|
||||||
COPY ./src/ubuntu/install/dind_rootless/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
COPY ./src/ubuntu/install/dind_rootless/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
RUN chmod +x $STARTUPDIR/custom_startup.sh && chmod 755 $STARTUPDIR/custom_startup.sh
|
RUN chmod +x $STARTUPDIR/custom_startup.sh && chmod 755 $STARTUPDIR/custom_startup.sh
|
||||||
|
|
||||||
COPY ./src/ubuntu/install/dind_rootless/modprobe /usr/local/bin/modprobe
|
COPY ./src/ubuntu/install/dind_rootless/modprobe /usr/local/bin/modprobe
|
||||||
RUN chmod +x /usr/local/bin/modprobe
|
RUN chmod +x /usr/local/bin/modprobe
|
||||||
|
|
||||||
### Install Tools
|
### Envrionment config
|
||||||
COPY ./src/ubuntu/install/tools $INST_SCRIPTS/tools/
|
ENV DEBIAN_FRONTEND=noninteractive \
|
||||||
RUN bash $INST_SCRIPTS/tools/install_tools_deluxe.sh && rm -rf $INST_SCRIPTS/tools/
|
SKIP_CLEAN=true \
|
||||||
|
KASM_RX_HOME=$STARTUPDIR/kasmrx \
|
||||||
|
DONT_PROMPT_WSL_INSTALL="No_Prompt_please" \
|
||||||
|
INST_DIR=$STARTUPDIR/install \
|
||||||
|
INST_SCRIPTS="/ubuntu/install/tools/install_tools_deluxe.sh \
|
||||||
|
/ubuntu/install/misc/install_tools.sh \
|
||||||
|
/ubuntu/install/chrome/install_chrome.sh \
|
||||||
|
/ubuntu/install/chromium/install_chromium.sh \
|
||||||
|
/ubuntu/install/sublime_text/install_sublime_text.sh \
|
||||||
|
/ubuntu/install/vs_code/install_vs_code.sh \
|
||||||
|
/ubuntu/install/cleanup/cleanup.sh"
|
||||||
|
|
||||||
# Install Utilities
|
# Copy install scripts
|
||||||
COPY ./src/ubuntu/install/misc $INST_SCRIPTS/misc/
|
COPY ./src/ $INST_DIR
|
||||||
RUN bash $INST_SCRIPTS/misc/install_tools.sh && rm -rf $INST_SCRIPTS/misc/
|
|
||||||
|
|
||||||
### Install Sublime Text
|
# Run installations
|
||||||
COPY ./src/ubuntu/install/sublime_text $INST_SCRIPTS/sublime_text/
|
RUN \
|
||||||
RUN bash $INST_SCRIPTS/sublime_text/install_sublime_text.sh && rm -rf $INST_SCRIPTS/sublime_text/
|
for SCRIPT in $INST_SCRIPTS; do \
|
||||||
|
bash ${INST_DIR}${SCRIPT}; \
|
||||||
### Install Visual Studio Code
|
done && \
|
||||||
COPY ./src/ubuntu/install/vs_code $INST_SCRIPTS/vs_code/
|
$STARTUPDIR/set_user_permission.sh $HOME && \
|
||||||
RUN bash $INST_SCRIPTS/vs_code/install_vs_code.sh && rm -rf $INST_SCRIPTS/vs_code/
|
rm -f /etc/X11/xinit/Xclients && \
|
||||||
|
chown 1000:0 $HOME && \
|
||||||
# Install Google Chrome
|
mkdir -p /home/kasm-user && \
|
||||||
COPY ./src/ubuntu/install/chrome $INST_SCRIPTS/chrome/
|
chown -R 1000:0 /home/kasm-user && \
|
||||||
RUN bash $INST_SCRIPTS/chrome/install_chrome.sh && rm -rf $INST_SCRIPTS/chrome/
|
rm -Rf ${INST_DIR}
|
||||||
|
|
||||||
######### End Customizations ###########
|
|
||||||
|
|
||||||
RUN chown 1000:0 $HOME
|
|
||||||
|
|
||||||
|
# Userspace Runtime
|
||||||
ENV HOME /home/kasm-user
|
ENV HOME /home/kasm-user
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
|
||||||
|
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
||||||
|
CMD ["--tail-log"]
|
||||||
|
@ -2,4 +2,6 @@
|
|||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
zypper install -yn ansible
|
zypper install -yn ansible
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
zypper clean --all
|
zypper clean --all
|
||||||
|
fi
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
zypper install -yn gimp
|
zypper install -yn gimp
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
zypper clean --all
|
zypper clean --all
|
||||||
|
fi
|
||||||
cp /usr/share/applications/gimp.desktop $HOME/Desktop/
|
cp /usr/share/applications/gimp.desktop $HOME/Desktop/
|
||||||
chmod +x $HOME/Desktop/gimp.desktop
|
chmod +x $HOME/Desktop/gimp.desktop
|
||||||
|
@ -9,7 +9,9 @@ zypper install -yn \
|
|||||||
libreoffice-impress \
|
libreoffice-impress \
|
||||||
libreoffice-math \
|
libreoffice-math \
|
||||||
libreoffice-writer
|
libreoffice-writer
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
zypper clean --all
|
zypper clean --all
|
||||||
|
fi
|
||||||
cp /usr/share/applications/libreoffice-startcenter.desktop $HOME/Desktop/
|
cp /usr/share/applications/libreoffice-startcenter.desktop $HOME/Desktop/
|
||||||
chmod +x $HOME/Desktop/libreoffice-startcenter.desktop
|
chmod +x $HOME/Desktop/libreoffice-startcenter.desktop
|
||||||
chown 1000:1000 $HOME/Desktop/libreoffice-startcenter.desktop
|
chown 1000:1000 $HOME/Desktop/libreoffice-startcenter.desktop
|
||||||
|
@ -2,4 +2,7 @@
|
|||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
zypper install -yn nano zip wget xdotool
|
zypper install -yn nano zip wget xdotool
|
||||||
|
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
zypper clean --all
|
zypper clean --all
|
||||||
|
fi
|
||||||
|
@ -23,7 +23,9 @@ version=4.12.2
|
|||||||
wget -q https://downloads.slack-edge.com/releases/linux/${version}/prod/x64/slack-${version}-0.1.fc21.x86_64.rpm -O slack.rpm
|
wget -q https://downloads.slack-edge.com/releases/linux/${version}/prod/x64/slack-${version}-0.1.fc21.x86_64.rpm -O slack.rpm
|
||||||
zypper install -yn libXss1 libsecret-1-0 libappindicator3-1
|
zypper install -yn libXss1 libsecret-1-0 libappindicator3-1
|
||||||
rpm -i --nodeps slack.rpm
|
rpm -i --nodeps slack.rpm
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
zypper clean --all
|
zypper clean --all
|
||||||
|
fi
|
||||||
rm slack.rpm
|
rm slack.rpm
|
||||||
sed -i 's,/usr/bin/slack,/usr/bin/slack --no-sandbox,g' /usr/share/applications/slack.desktop
|
sed -i 's,/usr/bin/slack,/usr/bin/slack --no-sandbox,g' /usr/share/applications/slack.desktop
|
||||||
cp /usr/share/applications/slack.desktop $HOME/Desktop/
|
cp /usr/share/applications/slack.desktop $HOME/Desktop/
|
||||||
|
@ -10,7 +10,9 @@ rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
|
|||||||
|
|
||||||
zypper addrepo -g -f https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
|
zypper addrepo -g -f https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
|
||||||
zypper install -yn sublime-text
|
zypper install -yn sublime-text
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
zypper clean --all
|
zypper clean --all
|
||||||
|
fi
|
||||||
cp /usr/share/applications/sublime_text.desktop $HOME/Desktop/
|
cp /usr/share/applications/sublime_text.desktop $HOME/Desktop/
|
||||||
chmod +x $HOME/Desktop/sublime_text.desktop
|
chmod +x $HOME/Desktop/sublime_text.desktop
|
||||||
chown 1000:1000 $HOME/Desktop/sublime_text.desktop
|
chown 1000:1000 $HOME/Desktop/sublime_text.desktop
|
||||||
|
@ -9,7 +9,9 @@ if [ "${ARCH}" == "arm64" ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
zypper install -yn xz
|
zypper install -yn xz
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
zypper clean --all
|
zypper clean --all
|
||||||
|
fi
|
||||||
|
|
||||||
wget -q https://telegram.org/dl/desktop/linux -O /tmp/telegram.tgz
|
wget -q https://telegram.org/dl/desktop/linux -O /tmp/telegram.tgz
|
||||||
tar -xvf /tmp/telegram.tgz -C /opt/
|
tar -xvf /tmp/telegram.tgz -C /opt/
|
||||||
|
@ -8,4 +8,6 @@ zypper install -yn \
|
|||||||
terraform-provider-google \
|
terraform-provider-google \
|
||||||
terraform-provider-kubernetes \
|
terraform-provider-kubernetes \
|
||||||
terraform-provider-openstack
|
terraform-provider-openstack
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
zypper clean --all
|
zypper clean --all
|
||||||
|
fi
|
||||||
|
@ -3,4 +3,6 @@ set -ex
|
|||||||
|
|
||||||
sed -i 's/download.opensuse.org/mirrorcache-us.opensuse.org/g' /etc/zypp/repos.d/*.repo
|
sed -i 's/download.opensuse.org/mirrorcache-us.opensuse.org/g' /etc/zypp/repos.d/*.repo
|
||||||
zypper install -yn vlc git tmux
|
zypper install -yn vlc git tmux
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
zypper clean --all
|
zypper clean --all
|
||||||
|
fi
|
||||||
|
@ -15,4 +15,6 @@ chown 1000:1000 $HOME/Desktop/code.desktop
|
|||||||
|
|
||||||
# Conveniences for python development
|
# Conveniences for python development
|
||||||
zypper install -yn python3-setuptools python3-virtualenv
|
zypper install -yn python3-setuptools python3-virtualenv
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
zypper clean --all
|
zypper clean --all
|
||||||
|
fi
|
||||||
|
@ -12,7 +12,9 @@ wget -O /tmp/package-signing-key.pub https://zoom.us/linux/download/pubkey
|
|||||||
rpm --import /tmp/package-signing-key.pub
|
rpm --import /tmp/package-signing-key.pub
|
||||||
rm -f /tmp/package-signing-key.pub
|
rm -f /tmp/package-signing-key.pub
|
||||||
zypper install -yn --allow-unsigned-rpm zoom_openSUSE_$(arch).rpm
|
zypper install -yn --allow-unsigned-rpm zoom_openSUSE_$(arch).rpm
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
zypper clean --all
|
zypper clean --all
|
||||||
|
fi
|
||||||
rm zoom_openSUSE_$(arch).rpm
|
rm zoom_openSUSE_$(arch).rpm
|
||||||
sed -i 's,/usr/bin/zoom,/usr/bin/zoom --no-sandbox,g' /usr/share/applications/Zoom.desktop
|
sed -i 's,/usr/bin/zoom,/usr/bin/zoom --no-sandbox,g' /usr/share/applications/Zoom.desktop
|
||||||
cp /usr/share/applications/Zoom.desktop $HOME/Desktop/
|
cp /usr/share/applications/Zoom.desktop $HOME/Desktop/
|
||||||
|
@ -3,8 +3,12 @@ set -ex
|
|||||||
|
|
||||||
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
||||||
dnf install -y ansible
|
dnf install -y ansible
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
yum install -y ansible
|
yum install -y ansible
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
yum clean all
|
yum clean all
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
@ -2,10 +2,14 @@
|
|||||||
set -ex
|
set -ex
|
||||||
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
||||||
dnf install -y gimp
|
dnf install -y gimp
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
yum install -y gimp
|
yum install -y gimp
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
yum clean all
|
yum clean all
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
cp /usr/share/applications/gimp.desktop $HOME/Desktop/
|
cp /usr/share/applications/gimp.desktop $HOME/Desktop/
|
||||||
chmod +x $HOME/Desktop/gimp.desktop
|
chmod +x $HOME/Desktop/gimp.desktop
|
||||||
|
@ -14,7 +14,9 @@ if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almali
|
|||||||
libreoffice-impress \
|
libreoffice-impress \
|
||||||
libreoffice-calc \
|
libreoffice-calc \
|
||||||
libreoffice-base
|
libreoffice-base
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
yum install -y \
|
yum install -y \
|
||||||
libreoffice-core \
|
libreoffice-core \
|
||||||
@ -22,8 +24,10 @@ else
|
|||||||
libreoffice-impress \
|
libreoffice-impress \
|
||||||
libreoffice-calc \
|
libreoffice-calc \
|
||||||
libreoffice-base
|
libreoffice-base
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
yum clean all
|
yum clean all
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
cp /usr/share/applications/libreoffice-startcenter.desktop $HOME/Desktop/
|
cp /usr/share/applications/libreoffice-startcenter.desktop $HOME/Desktop/
|
||||||
chmod +x $HOME/Desktop/libreoffice-startcenter.desktop
|
chmod +x $HOME/Desktop/libreoffice-startcenter.desktop
|
||||||
chown 1000:1000 $HOME/Desktop/libreoffice-startcenter.desktop
|
chown 1000:1000 $HOME/Desktop/libreoffice-startcenter.desktop
|
||||||
|
@ -3,8 +3,12 @@ set -ex
|
|||||||
|
|
||||||
if [ -f /usr/bin/dnf ]; then
|
if [ -f /usr/bin/dnf ]; then
|
||||||
dnf install -y nano zip wget xdotool
|
dnf install -y nano zip wget xdotool
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
yum install -y nano zip wget xdotool
|
yum install -y nano zip wget xdotool
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
yum clean all
|
yum clean all
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
@ -9,11 +9,15 @@ fi
|
|||||||
|
|
||||||
if [[ "${DISTRO}" == @(oracle8|rockylinux8|almalinux8) ]]; then
|
if [[ "${DISTRO}" == @(oracle8|rockylinux8|almalinux8) ]]; then
|
||||||
dnf install -y obs-studio
|
dnf install -y obs-studio
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
yum install -y obs-studio
|
yum install -y obs-studio
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
yum clean all
|
yum clean all
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
cp /usr/share/applications/com.obsproject.Studio.desktop $HOME/Desktop/
|
cp /usr/share/applications/com.obsproject.Studio.desktop $HOME/Desktop/
|
||||||
chmod +x $HOME/Desktop/com.obsproject.Studio.desktop
|
chmod +x $HOME/Desktop/com.obsproject.Studio.desktop
|
||||||
|
@ -10,11 +10,15 @@ fi
|
|||||||
curl -L -o only_office.rpm "https://download.onlyoffice.com/install/desktop/editors/linux/onlyoffice-desktopeditors.$(arch).rpm"
|
curl -L -o only_office.rpm "https://download.onlyoffice.com/install/desktop/editors/linux/onlyoffice-desktopeditors.$(arch).rpm"
|
||||||
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
||||||
dnf localinstall -y only_office.rpm
|
dnf localinstall -y only_office.rpm
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
yum localinstall -y only_office.rpm
|
yum localinstall -y only_office.rpm
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
yum clean all
|
yum clean all
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
rm -rf only_office.rpm
|
rm -rf only_office.rpm
|
||||||
|
|
||||||
cp /usr/share/applications/onlyoffice-desktopeditors.desktop $HOME/Desktop
|
cp /usr/share/applications/onlyoffice-desktopeditors.desktop $HOME/Desktop
|
||||||
|
@ -23,11 +23,15 @@ version=4.12.2
|
|||||||
wget -q https://downloads.slack-edge.com/releases/linux/${version}/prod/x64/slack-${version}-0.1.fc21.x86_64.rpm -O slack.rpm
|
wget -q https://downloads.slack-edge.com/releases/linux/${version}/prod/x64/slack-${version}-0.1.fc21.x86_64.rpm -O slack.rpm
|
||||||
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
||||||
dnf localinstall -y slack.rpm
|
dnf localinstall -y slack.rpm
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
yum localinstall -y slack.rpm
|
yum localinstall -y slack.rpm
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
yum clean all
|
yum clean all
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
rm slack.rpm
|
rm slack.rpm
|
||||||
sed -i 's,/usr/bin/slack,/usr/bin/slack --no-sandbox,g' /usr/share/applications/slack.desktop
|
sed -i 's,/usr/bin/slack,/usr/bin/slack --no-sandbox,g' /usr/share/applications/slack.desktop
|
||||||
cp /usr/share/applications/slack.desktop $HOME/Desktop/
|
cp /usr/share/applications/slack.desktop $HOME/Desktop/
|
||||||
|
@ -11,12 +11,16 @@ rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
|
|||||||
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
||||||
dnf config-manager --add-repo https://download.sublimetext.com/rpm/stable/$(arch)/sublime-text.repo
|
dnf config-manager --add-repo https://download.sublimetext.com/rpm/stable/$(arch)/sublime-text.repo
|
||||||
dnf install -y sublime-text
|
dnf install -y sublime-text
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
yum-config-manager --add-repo https://download.sublimetext.com/rpm/stable/$(arch)/sublime-text.repo
|
yum-config-manager --add-repo https://download.sublimetext.com/rpm/stable/$(arch)/sublime-text.repo
|
||||||
yum install -y sublime-text
|
yum install -y sublime-text
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
yum clean all
|
yum clean all
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
cp /usr/share/applications/sublime_text.desktop $HOME/Desktop/
|
cp /usr/share/applications/sublime_text.desktop $HOME/Desktop/
|
||||||
chmod +x $HOME/Desktop/sublime_text.desktop
|
chmod +x $HOME/Desktop/sublime_text.desktop
|
||||||
chown 1000:1000 $HOME/Desktop/sublime_text.desktop
|
chown 1000:1000 $HOME/Desktop/sublime_text.desktop
|
||||||
|
@ -11,13 +11,17 @@ fi
|
|||||||
if [ "${DISTRO}" == "oracle8" ]; then
|
if [ "${DISTRO}" == "oracle8" ]; then
|
||||||
curl -L -o teams.rpm "https://go.microsoft.com/fwlink/p/?LinkID=2112907&clcid=0x409&culture=en-us&country=US"
|
curl -L -o teams.rpm "https://go.microsoft.com/fwlink/p/?LinkID=2112907&clcid=0x409&culture=en-us&country=US"
|
||||||
dnf localinstall -y teams.rpm
|
dnf localinstall -y teams.rpm
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
# el7 needs to be pinned to a previous version for libc deps
|
# el7 needs to be pinned to a previous version for libc deps
|
||||||
curl -L -o teams.rpm "https://packages.microsoft.com/yumrepos/ms-teams/teams-1.3.00.30857-1.x86_64.rpm"
|
curl -L -o teams.rpm "https://packages.microsoft.com/yumrepos/ms-teams/teams-1.3.00.30857-1.x86_64.rpm"
|
||||||
yum localinstall -y teams.rpm
|
yum localinstall -y teams.rpm
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
yum clean all
|
yum clean all
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
rm teams.rpm
|
rm teams.rpm
|
||||||
sed -i "s/Exec=teams/Exec=teams --no-sandbox/g" /usr/share/applications/teams.desktop
|
sed -i "s/Exec=teams/Exec=teams --no-sandbox/g" /usr/share/applications/teams.desktop
|
||||||
cp /usr/share/applications/teams.desktop $HOME/Desktop/
|
cp /usr/share/applications/teams.desktop $HOME/Desktop/
|
||||||
|
@ -10,8 +10,10 @@ fi
|
|||||||
|
|
||||||
if [ "${DISTRO}" == "oracle8" ]; then
|
if [ "${DISTRO}" == "oracle8" ]; then
|
||||||
dnf install -y xz
|
dnf install -y xz
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
wget -q https://telegram.org/dl/desktop/linux -O /tmp/telegram.tgz
|
wget -q https://telegram.org/dl/desktop/linux -O /tmp/telegram.tgz
|
||||||
tar -xvf /tmp/telegram.tgz -C /opt/
|
tar -xvf /tmp/telegram.tgz -C /opt/
|
||||||
|
@ -11,13 +11,19 @@ fi
|
|||||||
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8) ]]; then
|
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8) ]]; then
|
||||||
dnf config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
|
dnf config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
|
||||||
dnf install -y terraform
|
dnf install -y terraform
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
fi
|
||||||
elif [ "${DISTRO}" == "fedora37" ]; then
|
elif [ "${DISTRO}" == "fedora37" ]; then
|
||||||
dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
|
dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
|
||||||
dnf install -y terraform
|
dnf install -y terraform
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
|
yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
|
||||||
yum install -y terraform
|
yum install -y terraform
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
yum clean all
|
yum clean all
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
@ -3,10 +3,14 @@ set -ex
|
|||||||
|
|
||||||
if [ -f /usr/bin/dnf ]; then
|
if [ -f /usr/bin/dnf ]; then
|
||||||
dnf install -y vlc git tmux xz glibc-locale-source glibc-langpack-en
|
dnf install -y vlc git tmux xz glibc-locale-source glibc-langpack-en
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
yum-config-manager --enable ol7_optional_latest
|
yum-config-manager --enable ol7_optional_latest
|
||||||
yum install -y vlc git tmux
|
yum install -y vlc git tmux
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
yum clean all
|
yum clean all
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
@ -22,8 +22,12 @@ rm vs_code.rpm
|
|||||||
# Conveniences for python development
|
# Conveniences for python development
|
||||||
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
||||||
dnf install -y python3-setuptools python3-virtualenv
|
dnf install -y python3-setuptools python3-virtualenv
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
yum install -y python3-setuptools python3-virtualenv
|
yum install -y python3-setuptools python3-virtualenv
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
yum clean all
|
yum clean all
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
@ -10,11 +10,15 @@ fi
|
|||||||
wget -q https://zoom.us/client/latest/zoom_$(arch).rpm
|
wget -q https://zoom.us/client/latest/zoom_$(arch).rpm
|
||||||
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
||||||
dnf localinstall -y zoom_$(arch).rpm
|
dnf localinstall -y zoom_$(arch).rpm
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
yum localinstall -y zoom_$(arch).rpm
|
yum localinstall -y zoom_$(arch).rpm
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
yum clean all
|
yum clean all
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
rm zoom_$(arch).rpm
|
rm zoom_$(arch).rpm
|
||||||
sed -i 's,/usr/bin/zoom,/usr/bin/zoom --no-sandbox,g' /usr/share/applications/Zoom.desktop
|
sed -i 's,/usr/bin/zoom,/usr/bin/zoom --no-sandbox,g' /usr/share/applications/Zoom.desktop
|
||||||
cp /usr/share/applications/Zoom.desktop $HOME/Desktop/
|
cp /usr/share/applications/Zoom.desktop $HOME/Desktop/
|
||||||
|
@ -52,3 +52,10 @@ cat >>/etc/brave/policies/managed/disable_tor.json <<EOL
|
|||||||
{"TorDisabled": true}
|
{"TorDisabled": true}
|
||||||
EOL
|
EOL
|
||||||
|
|
||||||
|
# Cleanup
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
|
apt-get autoclean
|
||||||
|
rm -rf \
|
||||||
|
/var/lib/apt/lists/* \
|
||||||
|
/var/tmp/*
|
||||||
|
fi
|
||||||
|
@ -18,11 +18,15 @@ if [[ "${DISTRO}" == @(centos|oracle8|rockylinux9|rockylinux8|oracle9|almalinux9
|
|||||||
fi
|
fi
|
||||||
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8) ]]; then
|
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8) ]]; then
|
||||||
dnf localinstall -y chrome.rpm
|
dnf localinstall -y chrome.rpm
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
yum localinstall -y chrome.rpm
|
yum localinstall -y chrome.rpm
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
yum clean all
|
yum clean all
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
rm chrome.rpm
|
rm chrome.rpm
|
||||||
elif [ "${DISTRO}" == "opensuse" ]; then
|
elif [ "${DISTRO}" == "opensuse" ]; then
|
||||||
zypper ar http://dl.google.com/linux/chrome/rpm/stable/x86_64 Google-Chrome
|
zypper ar http://dl.google.com/linux/chrome/rpm/stable/x86_64 Google-Chrome
|
||||||
@ -30,7 +34,9 @@ elif [ "${DISTRO}" == "opensuse" ]; then
|
|||||||
rpm --import linux_signing_key.pub
|
rpm --import linux_signing_key.pub
|
||||||
rm linux_signing_key.pub
|
rm linux_signing_key.pub
|
||||||
zypper install -yn google-chrome-stable
|
zypper install -yn google-chrome-stable
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
zypper clean --all
|
zypper clean --all
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
apt-get update
|
apt-get update
|
||||||
if [ ! -z "${CHROME_VERSION}" ]; then
|
if [ ! -z "${CHROME_VERSION}" ]; then
|
||||||
@ -40,6 +46,12 @@ else
|
|||||||
fi
|
fi
|
||||||
apt-get install -y ./chrome.deb
|
apt-get install -y ./chrome.deb
|
||||||
rm chrome.deb
|
rm chrome.deb
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
|
apt-get autoclean
|
||||||
|
rm -rf \
|
||||||
|
/var/lib/apt/lists/* \
|
||||||
|
/var/tmp/*
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sed -i 's/-stable//g' /usr/share/applications/google-chrome.desktop
|
sed -i 's/-stable//g' /usr/share/applications/google-chrome.desktop
|
||||||
|
@ -4,20 +4,37 @@ set -ex
|
|||||||
CHROME_ARGS="--password-store=basic --no-sandbox --ignore-gpu-blocklist --user-data-dir --no-first-run --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT'"
|
CHROME_ARGS="--password-store=basic --no-sandbox --ignore-gpu-blocklist --user-data-dir --no-first-run --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT'"
|
||||||
ARCH=$(arch | sed 's/aarch64/arm64/g' | sed 's/x86_64/amd64/g')
|
ARCH=$(arch | sed 's/aarch64/arm64/g' | sed 's/x86_64/amd64/g')
|
||||||
|
|
||||||
|
if [[ "${DISTRO}" == @(debian|opensuse|ubuntu) ]] && [ ${ARCH} = 'amd64' ] && [ -n ${SKIP_CLEAN+x} ]; then
|
||||||
|
echo "not installing chromium on x86_64 desktop build"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "${DISTRO}" == @(centos|oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
if [[ "${DISTRO}" == @(centos|oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
||||||
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
||||||
dnf install -y chromium
|
dnf install -y chromium
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
yum install -y chromium
|
yum install -y chromium
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
yum clean all
|
yum clean all
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
elif [ "${DISTRO}" == "opensuse" ]; then
|
elif [ "${DISTRO}" == "opensuse" ]; then
|
||||||
zypper install -yn chromium
|
zypper install -yn chromium
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
zypper clean --all
|
zypper clean --all
|
||||||
|
fi
|
||||||
elif grep -q "ID=debian" /etc/os-release || grep -q "ID=kali" /etc/os-release || grep -q "ID=parrot" /etc/os-release; then
|
elif grep -q "ID=debian" /etc/os-release || grep -q "ID=kali" /etc/os-release || grep -q "ID=parrot" /etc/os-release; then
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y chromium
|
apt-get install -y chromium
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
|
apt-get autoclean
|
||||||
|
rm -rf \
|
||||||
|
/var/lib/apt/lists/* \
|
||||||
|
/var/tmp/*
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y software-properties-common ttf-mscorefonts-installer
|
apt-get install -y software-properties-common ttf-mscorefonts-installer
|
||||||
@ -27,7 +44,7 @@ else
|
|||||||
# currently compatible with docker containers. The new install will pull
|
# currently compatible with docker containers. The new install will pull
|
||||||
# deb files from archive.ubuntu.com for ubuntu 18.04 and install them.
|
# deb files from archive.ubuntu.com for ubuntu 18.04 and install them.
|
||||||
# This will work until 18.04 goes to an unsupported status.
|
# This will work until 18.04 goes to an unsupported status.
|
||||||
if [[ ${ARCH} == "amd64" ]] ;
|
if [ ${ARCH} = 'amd64' ] ;
|
||||||
then
|
then
|
||||||
chrome_url="http://archive.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/"
|
chrome_url="http://archive.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/"
|
||||||
else
|
else
|
||||||
@ -62,6 +79,12 @@ else
|
|||||||
|
|
||||||
rm "${chromium_codecs_data}"
|
rm "${chromium_codecs_data}"
|
||||||
rm "${chromium_data}"
|
rm "${chromium_data}"
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
|
apt-get autoclean
|
||||||
|
rm -rf \
|
||||||
|
/var/lib/apt/lists/* \
|
||||||
|
/var/tmp/*
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if grep -q "ID=debian" /etc/os-release || grep -q "ID=kali" /etc/os-release || grep -q "ID=parrot" /etc/os-release; then
|
if grep -q "ID=debian" /etc/os-release || grep -q "ID=kali" /etc/os-release || grep -q "ID=parrot" /etc/os-release; then
|
||||||
|
56
src/ubuntu/install/cleanup/cleanup.sh
Normal file
56
src/ubuntu/install/cleanup/cleanup.sh
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
# Distro package cleanup
|
||||||
|
if [[ "${DISTRO}" == @(centos|oracle7) ]] ; then
|
||||||
|
yum clean all
|
||||||
|
elif [[ "${DISTRO}" == @(almalinux8|almalinux9|fedora37|oracle8|oracle9|rockylinux8|rockylinux9) ]]; then
|
||||||
|
dnf clean all
|
||||||
|
elif [ "${DISTRO}" == "opensuse" ]; then
|
||||||
|
zypper clean --all
|
||||||
|
elif [[ "${DISTRO}" == @(debian|kali|parrotos5|ubuntu) ]]; then
|
||||||
|
apt-get autoremove -y
|
||||||
|
apt-get autoclean -y
|
||||||
|
fi
|
||||||
|
|
||||||
|
# File cleanups
|
||||||
|
rm -Rf \
|
||||||
|
/home/kasm-default-profile/.cache \
|
||||||
|
/home/kasm-user/.cache \
|
||||||
|
/tmp \
|
||||||
|
/var/lib/apt/lists/* \
|
||||||
|
/var/tmp/*
|
||||||
|
mkdir -m 1777 /tmp
|
||||||
|
|
||||||
|
# Services we don't want to start disable in xfce init
|
||||||
|
rm -f \
|
||||||
|
/etc/xdg/autostart/blueman.desktop \
|
||||||
|
/etc/xdg/autostart/geoclue-demo-agent.desktop \
|
||||||
|
/etc/xdg/autostart/gnome-keyring-pkcs11.desktop \
|
||||||
|
/etc/xdg/autostart/gnome-keyring-secrets.desktop \
|
||||||
|
/etc/xdg/autostart/gnome-keyring-ssh.desktop \
|
||||||
|
/etc/xdg/autostart/gnome-shell-overrides-migration.desktop \
|
||||||
|
/etc/xdg/autostart/light-locker.desktop \
|
||||||
|
/etc/xdg/autostart/org.gnome.Evolution-alarm-notify.desktop \
|
||||||
|
/etc/xdg/autostart/org.gnome.SettingsDaemon.A11ySettings.desktop \
|
||||||
|
/etc/xdg/autostart/org.gnome.SettingsDaemon.Color.desktop \
|
||||||
|
/etc/xdg/autostart/org.gnome.SettingsDaemon.Datetime.desktop \
|
||||||
|
/etc/xdg/autostart/org.gnome.SettingsDaemon.Housekeeping.desktop \
|
||||||
|
/etc/xdg/autostart/org.gnome.SettingsDaemon.Keyboard.desktop \
|
||||||
|
/etc/xdg/autostart/org.gnome.SettingsDaemon.MediaKeys.desktop \
|
||||||
|
/etc/xdg/autostart/org.gnome.SettingsDaemon.Power.desktop \
|
||||||
|
/etc/xdg/autostart/org.gnome.SettingsDaemon.PrintNotifications.desktop \
|
||||||
|
/etc/xdg/autostart/org.gnome.SettingsDaemon.Rfkill.desktop \
|
||||||
|
/etc/xdg/autostart/org.gnome.SettingsDaemon.ScreensaverProxy.desktop \
|
||||||
|
/etc/xdg/autostart/org.gnome.SettingsDaemon.Sharing.desktop \
|
||||||
|
/etc/xdg/autostart/org.gnome.SettingsDaemon.Smartcard.desktop \
|
||||||
|
/etc/xdg/autostart/org.gnome.SettingsDaemon.Sound.desktop \
|
||||||
|
/etc/xdg/autostart/org.gnome.SettingsDaemon.UsbProtection.desktop \
|
||||||
|
/etc/xdg/autostart/org.gnome.SettingsDaemon.Wacom.desktop \
|
||||||
|
/etc/xdg/autostart/org.gnome.SettingsDaemon.Wwan.desktop \
|
||||||
|
/etc/xdg/autostart/org.gnome.SettingsDaemon.XSettings.desktop \
|
||||||
|
/etc/xdg/autostart/pulseaudio.desktop \
|
||||||
|
/etc/xdg/autostart/xfce4-power-manager.desktop \
|
||||||
|
/etc/xdg/autostart/xfce4-screensaver.desktop \
|
||||||
|
/etc/xdg/autostart/xfce-polkit.desktop \
|
||||||
|
/etc/xdg/autostart/xscreensaver.desktop
|
@ -2,8 +2,6 @@
|
|||||||
set -ex
|
set -ex
|
||||||
START_COMMAND="/usr/bin/supervisord"
|
START_COMMAND="/usr/bin/supervisord"
|
||||||
PGREP="supervisord"
|
PGREP="supervisord"
|
||||||
MAXIMIZE="false"
|
|
||||||
MAXIMIZE_SCRIPT=$STARTUPDIR/maximize_window.sh
|
|
||||||
DEFAULT_ARGS="-n"
|
DEFAULT_ARGS="-n"
|
||||||
ARGS=${APP_ARGS:-$DEFAULT_ARGS}
|
ARGS=${APP_ARGS:-$DEFAULT_ARGS}
|
||||||
|
|
||||||
@ -27,25 +25,6 @@ done
|
|||||||
|
|
||||||
FORCE=$2
|
FORCE=$2
|
||||||
|
|
||||||
kasm_exec() {
|
|
||||||
if [ -n "$OPT_URL" ] ; then
|
|
||||||
URL=$OPT_URL
|
|
||||||
elif [ -n "$1" ] ; then
|
|
||||||
URL=$1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Since we are execing into a container that already has the browser running from startup,
|
|
||||||
# when we don't have a URL to open we want to do nothing. Otherwise a second browser instance would open.
|
|
||||||
if [ -n "$URL" ] ; then
|
|
||||||
/usr/bin/filter_ready
|
|
||||||
/usr/bin/desktop_ready
|
|
||||||
bash ${MAXIMIZE_SCRIPT} &
|
|
||||||
sudo /usr/bin/supervisord -n &
|
|
||||||
else
|
|
||||||
echo "No URL specified for exec command. Doing nothing."
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
kasm_startup() {
|
kasm_startup() {
|
||||||
if [ -n "$KASM_URL" ] ; then
|
if [ -n "$KASM_URL" ] ; then
|
||||||
URL=$KASM_URL
|
URL=$KASM_URL
|
||||||
@ -64,7 +43,6 @@ kasm_startup() {
|
|||||||
/usr/bin/filter_ready
|
/usr/bin/filter_ready
|
||||||
/usr/bin/desktop_ready
|
/usr/bin/desktop_ready
|
||||||
set +e
|
set +e
|
||||||
bash ${MAXIMIZE_SCRIPT} &
|
|
||||||
sudo /usr/bin/supervisord -n &
|
sudo /usr/bin/supervisord -n &
|
||||||
set -e
|
set -e
|
||||||
fi
|
fi
|
||||||
@ -76,8 +54,4 @@ kasm_startup() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -n "$GO" ] || [ -n "$ASSIGN" ] ; then
|
|
||||||
kasm_exec
|
|
||||||
else
|
|
||||||
kasm_startup
|
kasm_startup
|
||||||
fi
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[program:dockerd]
|
[program:dockerd]
|
||||||
command=/usr/local/bin/dockerd
|
command=/usr/local/bin/dockerd-entrypoint.sh
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
stderr_logfile=/var/log/dockerd.err.log
|
stderr_logfile=/var/log/dockerd.err.log
|
||||||
|
@ -1,58 +1,63 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -ex
|
set -ex
|
||||||
|
ARCH=$(arch | sed 's/aarch64/arm64/g' | sed 's/x86_64/amd64/g')
|
||||||
|
|
||||||
|
# Enable Docker repo
|
||||||
|
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
|
||||||
|
echo "deb [arch=${ARCH}] https://download.docker.com/linux/ubuntu "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" > \
|
||||||
|
/etc/apt/sources.list.d/docker.list && \
|
||||||
|
|
||||||
|
# Install deps
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
curl \
|
curl \
|
||||||
dbus-user-session \
|
dbus-user-session \
|
||||||
|
docker-buildx-plugin \
|
||||||
|
docker-ce \
|
||||||
|
docker-ce-cli \
|
||||||
|
docker-compose-plugin \
|
||||||
fuse-overlayfs \
|
fuse-overlayfs \
|
||||||
kmod \
|
|
||||||
iptables \
|
iptables \
|
||||||
|
kmod \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
sudo \
|
sudo \
|
||||||
supervisor \
|
supervisor \
|
||||||
uidmap \
|
uidmap \
|
||||||
wget
|
wget
|
||||||
rm -rf /var/lib/apt/list/*
|
|
||||||
|
|
||||||
mkdir -p /var/log/supervisor
|
# Install dind init and hacks
|
||||||
chown -R 1000:1000 /var/log/supervisor
|
useradd -U dockremap
|
||||||
|
usermod -G dockremap dockremap
|
||||||
|
echo 'dockremap:165536:65536' >> /etc/subuid
|
||||||
|
echo 'dockremap:165536:65536' >> /etc/subgid
|
||||||
|
curl -o \
|
||||||
|
/usr/local/bin/dind -L \
|
||||||
|
https://raw.githubusercontent.com/moby/moby/master/hack/dind
|
||||||
|
chmod +x /usr/local/bin/dind
|
||||||
|
curl -o \
|
||||||
|
/usr/local/bin/dockerd-entrypoint.sh -L \
|
||||||
|
https://kasm-ci.s3.amazonaws.com/dockerd-entrypoint.sh
|
||||||
|
chmod +x /usr/local/bin/dockerd-entrypoint.sh
|
||||||
|
echo 'hosts: files dns' > /etc/nsswitch.conf
|
||||||
|
usermod -aG docker kasm-user
|
||||||
|
|
||||||
arch="$(uname --m)";
|
# Install k3d tools
|
||||||
case "$arch" in
|
wget -q -O - https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash
|
||||||
# amd64
|
curl -o \
|
||||||
x86_64) dockerArch='x86_64' ;;
|
/usr/local/bin/kubectl -L \
|
||||||
# arm32v6
|
"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/${ARCH}/kubectl"
|
||||||
armhf) dockerArch='armel' ;;
|
chmod +x /usr/local/bin/kubectl
|
||||||
# arm32v7
|
|
||||||
armv7) dockerArch='armhf' ;;
|
|
||||||
# arm64v8
|
|
||||||
aarch64) dockerArch='aarch64' ;;
|
|
||||||
*) echo >&2 "error: unsupported architecture ($arch)"; exit 1 ;;
|
|
||||||
esac;
|
|
||||||
|
|
||||||
curl -o docker.tgz "https://download.docker.com/linux/static/${DOCKER_CHANNEL}/${dockerArch}/docker-${DOCKER_VERSION}.tgz"
|
|
||||||
|
|
||||||
tar --extract \
|
|
||||||
--file docker.tgz \
|
|
||||||
--strip-components 1 \
|
|
||||||
--directory /usr/local/bin/
|
|
||||||
rm docker.tgz
|
|
||||||
|
|
||||||
dockerd --version
|
|
||||||
docker --version
|
|
||||||
|
|
||||||
echo "Installing Docker Compose"
|
|
||||||
mkdir -p /usr/local/lib/docker/cli-plugins
|
|
||||||
COMPOSE_RELEASE=$(curl -sX GET "https://api.github.com/repos/docker/compose/releases/latest" \
|
|
||||||
| awk '/tag_name/{print $4;exit}' FS='[""]');
|
|
||||||
COMPOSE_OS=$(uname -s)
|
|
||||||
curl -L https://github.com/docker/compose/releases/download/${COMPOSE_RELEASE}/docker-compose-${COMPOSE_OS,,}-$(uname -m) -o /usr/local/lib/docker/cli-plugins/docker-compose
|
|
||||||
chmod +x /usr/local/lib/docker/cli-plugins/docker-compose
|
|
||||||
|
|
||||||
|
# Passwordless Sudo
|
||||||
echo 'kasm-user:kasm-user' | chpasswd
|
echo 'kasm-user:kasm-user' | chpasswd
|
||||||
echo 'kasm-user ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
|
echo 'kasm-user ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
|
||||||
|
|
||||||
groupadd docker
|
# Cleanup
|
||||||
adduser kasm-user docker
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
|
apt-get autoclean
|
||||||
|
rm -rf \
|
||||||
|
/var/lib/apt/lists/* \
|
||||||
|
/var/tmp/* \
|
||||||
|
/tmp/*
|
||||||
|
fi
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
set -eu
|
|
||||||
|
|
||||||
# "modprobe" without modprobe
|
|
||||||
# https://twitter.com/lucabruno/status/902934379835662336
|
|
||||||
|
|
||||||
# this isn't 100% fool-proof, but it'll have a much higher success rate than simply using the "real" modprobe
|
|
||||||
|
|
||||||
# Docker often uses "modprobe -va foo bar baz"
|
|
||||||
# so we ignore modules that start with "-"
|
|
||||||
for module; do
|
|
||||||
if [ "${module#-}" = "$module" ]; then
|
|
||||||
ip link show "$module" || true
|
|
||||||
lsmod | grep "$module" || true
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
# remove /usr/local/... from PATH so we can exec the real modprobe as a last resort
|
|
||||||
export PATH='/usr/sbin:/usr/bin:/sbin:/bin'
|
|
||||||
exec modprobe "$@"
|
|
@ -45,3 +45,9 @@ EOL
|
|||||||
mkdir -p /etc/opt/chrome/policies/
|
mkdir -p /etc/opt/chrome/policies/
|
||||||
ln -s /etc/opt/edge/policies/managed /etc/opt/chrome/policies/
|
ln -s /etc/opt/edge/policies/managed /etc/opt/chrome/policies/
|
||||||
|
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
|
apt-get autoclean
|
||||||
|
rm -rf \
|
||||||
|
/var/lib/apt/lists/* \
|
||||||
|
/var/tmp/*
|
||||||
|
fi
|
||||||
|
@ -1,6 +1,11 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
|
# Add icon
|
||||||
|
if [ -f /dockerstartup/install/ubuntu/install/firefox/firefox.desktop ]; then
|
||||||
|
mv /dockerstartup/install/ubuntu/install/firefox/firefox.desktop $HOME/Desktop/
|
||||||
|
fi
|
||||||
|
|
||||||
ARCH=$(arch | sed 's/aarch64/arm64/g' | sed 's/x86_64/amd64/g')
|
ARCH=$(arch | sed 's/aarch64/arm64/g' | sed 's/x86_64/amd64/g')
|
||||||
|
|
||||||
set_desktop_icon() {
|
set_desktop_icon() {
|
||||||
@ -50,12 +55,18 @@ fi
|
|||||||
|
|
||||||
if [[ "${DISTRO}" == @(centos|oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
if [[ "${DISTRO}" == @(centos|oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
||||||
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
yum clean all
|
yum clean all
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
elif [ "${DISTRO}" == "opensuse" ]; then
|
elif [ "${DISTRO}" == "opensuse" ]; then
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
zypper clean --all
|
zypper clean --all
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
if [ "$ARCH" == "arm64" ] && [ "$(lsb_release -cs)" == "focal" ] ; then
|
if [ "$ARCH" == "arm64" ] && [ "$(lsb_release -cs)" == "focal" ] ; then
|
||||||
echo "Firefox flash player not supported on arm64 Ubuntu Focal Skipping"
|
echo "Firefox flash player not supported on arm64 Ubuntu Focal Skipping"
|
||||||
@ -66,7 +77,12 @@ else
|
|||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y browser-plugin-freshplayer-pepperflash
|
apt-get install -y browser-plugin-freshplayer-pepperflash
|
||||||
apt-mark hold firefox
|
apt-mark hold firefox
|
||||||
apt-get clean -y
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
|
apt-get autoclean
|
||||||
|
rm -rf \
|
||||||
|
/var/lib/apt/lists/* \
|
||||||
|
/var/tmp/*
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -12,6 +12,9 @@ if [ "${ARCH}" == "amd64" ] ; then
|
|||||||
rm /tmp/gamepadtool.deb
|
rm /tmp/gamepadtool.deb
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
apt-get autoclean
|
apt-get autoclean
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf \
|
||||||
|
/var/lib/apt/lists/* \
|
||||||
|
/var/tmp/*
|
||||||
|
fi
|
||||||
|
@ -25,8 +25,9 @@ apt-get purge -y \
|
|||||||
rm -f /usr/share/xfce4/panel/plugins/power-manager-plugin.desktop
|
rm -f /usr/share/xfce4/panel/plugins/power-manager-plugin.desktop
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
|
apt-get autoclean
|
||||||
rm -rf \
|
rm -rf \
|
||||||
/var/lib/apt/lists/* \
|
/var/lib/apt/lists/* \
|
||||||
/var/tmp/* \
|
/var/tmp/*
|
||||||
/tmp/*
|
fi
|
||||||
|
|
||||||
|
19
src/ubuntu/install/langpacks/install_langpacks.sh
Normal file
19
src/ubuntu/install/langpacks/install_langpacks.sh
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
if [ "${DISTRO}" == "opensuse" ]; then
|
||||||
|
zypper search -t package "*-lang" | awk '{print $2}' > /tmp/lang-packages
|
||||||
|
rpm -qa --queryformat "%{NAME}\n" > /tmp/installed-packages
|
||||||
|
to_install=""
|
||||||
|
while read p; do
|
||||||
|
if grep -qw "^${p}-lang$" /tmp/lang-packages; then
|
||||||
|
to_install="$to_install ${p}-lang"
|
||||||
|
fi
|
||||||
|
done </tmp/installed-packages
|
||||||
|
if [ -n "$to_install" ]; then
|
||||||
|
zypper -n install $to_install
|
||||||
|
fi
|
||||||
|
elif [ "${DISTRO}" == "alpine" ]; then
|
||||||
|
apk add --no-cache \
|
||||||
|
lang
|
||||||
|
fi
|
@ -21,8 +21,9 @@ EOL
|
|||||||
chmod +x /usr/bin/minetest
|
chmod +x /usr/bin/minetest
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
apt-get autoclean
|
apt-get autoclean
|
||||||
rm -rf \
|
rm -rf \
|
||||||
/var/lib/apt/lists/* \
|
/var/lib/apt/lists/* \
|
||||||
/var/tmp/* \
|
/var/tmp/*
|
||||||
/tmp/*
|
fi
|
||||||
|
@ -2,18 +2,34 @@
|
|||||||
set -ex
|
set -ex
|
||||||
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8) ]]; then
|
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8) ]]; then
|
||||||
dnf install -y nextcloud-client
|
dnf install -y nextcloud-client
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
fi
|
||||||
elif [ "${DISTRO}" == "opensuse" ]; then
|
elif [ "${DISTRO}" == "opensuse" ]; then
|
||||||
zypper install -yn nextcloud-desktop
|
zypper install -yn nextcloud-desktop
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
zypper clean --all
|
zypper clean --all
|
||||||
|
fi
|
||||||
elif grep -q "ID=debian" /etc/os-release; then
|
elif grep -q "ID=debian" /etc/os-release; then
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y nextcloud-desktop
|
apt-get install -y nextcloud-desktop
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
|
apt-get autoclean
|
||||||
|
rm -rf \
|
||||||
|
/var/lib/apt/lists/* \
|
||||||
|
/var/tmp/*
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
apt-get install -y software-properties-common
|
apt-get install -y software-properties-common
|
||||||
add-apt-repository -y ppa:nextcloud-devs/client
|
add-apt-repository -y ppa:nextcloud-devs/client
|
||||||
apt update
|
apt update
|
||||||
apt install -y nextcloud-client
|
apt install -y nextcloud-client
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
|
apt-get autoclean
|
||||||
|
rm -rf \
|
||||||
|
/var/lib/apt/lists/* \
|
||||||
|
/var/tmp/*
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat >$HOME/Desktop/nextcloud.desktop <<EOL
|
cat >$HOME/Desktop/nextcloud.desktop <<EOL
|
||||||
|
@ -27,8 +27,9 @@ apt-get install -y \
|
|||||||
rm -f /usr/share/xfce4/panel/plugins/power-manager-plugin.desktop
|
rm -f /usr/share/xfce4/panel/plugins/power-manager-plugin.desktop
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
|
apt-get autoclean
|
||||||
rm -rf \
|
rm -rf \
|
||||||
/var/lib/apt/lists/* \
|
/var/lib/apt/lists/* \
|
||||||
/var/tmp/* \
|
/var/tmp/*
|
||||||
/tmp/*
|
fi
|
||||||
|
|
||||||
|
@ -4,26 +4,46 @@ set -ex
|
|||||||
if [[ "${DISTRO}" == @(centos|oracle7|oracle8|oracle9|rockylinux9|rockylinux8|almalinux9|almalinux8|fedora37) ]]; then
|
if [[ "${DISTRO}" == @(centos|oracle7|oracle8|oracle9|rockylinux9|rockylinux8|almalinux9|almalinux8|fedora37) ]]; then
|
||||||
if [[ "${DISTRO}" == @(oracle8|rockylinux8|almalinux8) ]]; then
|
if [[ "${DISTRO}" == @(oracle8|rockylinux8|almalinux8) ]]; then
|
||||||
dnf install -y remmina remmina-plugins-rdp remmina-plugins-secret remmina-plugins-spice xdotool
|
dnf install -y remmina remmina-plugins-rdp remmina-plugins-secret remmina-plugins-spice xdotool
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
fi
|
||||||
elif [[ "${DISTRO}" == @(rockylinux9|oracle9|almalinux9|fedora37) ]]; then
|
elif [[ "${DISTRO}" == @(rockylinux9|oracle9|almalinux9|fedora37) ]]; then
|
||||||
dnf install -y remmina remmina-plugins-rdp remmina-plugins-secret xdotool
|
dnf install -y remmina remmina-plugins-rdp remmina-plugins-secret xdotool
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
yum install -y remmina remmina-plugins-rdp remmina-plugins-secret remmina-plugins-spice xdotool
|
yum install -y remmina remmina-plugins-rdp remmina-plugins-secret remmina-plugins-spice xdotool
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
yum clean all
|
yum clean all
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
elif [ "${DISTRO}" == "opensuse" ]; then
|
elif [ "${DISTRO}" == "opensuse" ]; then
|
||||||
zypper install -yn remmina remmina-plugin-rdp remmina-plugin-secret remmina-plugin-spice xdotool
|
zypper install -yn remmina remmina-plugin-rdp remmina-plugin-secret remmina-plugin-spice xdotool
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
zypper clean --all
|
zypper clean --all
|
||||||
|
fi
|
||||||
elif grep -q "ID=debian" /etc/os-release; then
|
elif grep -q "ID=debian" /etc/os-release; then
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y remmina remmina-plugin-rdp remmina-plugin-secret remmina-plugin-spice xdotool
|
apt-get install -y remmina remmina-plugin-rdp remmina-plugin-secret remmina-plugin-spice xdotool
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
|
apt-get autoclean
|
||||||
|
rm -rf \
|
||||||
|
/var/lib/apt/lists/* \
|
||||||
|
/var/tmp/*
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y software-properties-common
|
apt-get install -y software-properties-common
|
||||||
apt-add-repository -y ppa:remmina-ppa-team/remmina-next
|
apt-add-repository -y ppa:remmina-ppa-team/remmina-next
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y remmina remmina-plugin-rdp remmina-plugin-secret remmina-plugin-spice xdotool
|
apt-get install -y remmina remmina-plugin-rdp remmina-plugin-secret remmina-plugin-spice xdotool
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
|
apt-get autoclean
|
||||||
|
rm -rf \
|
||||||
|
/var/lib/apt/lists/* \
|
||||||
|
/var/tmp/*
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
cp /usr/share/applications/org.remmina.Remmina.desktop $HOME/Desktop/
|
cp /usr/share/applications/org.remmina.Remmina.desktop $HOME/Desktop/
|
||||||
chmod +x $HOME/Desktop/org.remmina.Remmina.desktop
|
chmod +x $HOME/Desktop/org.remmina.Remmina.desktop
|
||||||
|
@ -14,8 +14,12 @@ apt-get purge -y \
|
|||||||
rm -f /usr/share/xfce4/panel/plugins/power-manager-plugin.desktop
|
rm -f /usr/share/xfce4/panel/plugins/power-manager-plugin.desktop
|
||||||
rm -rf \
|
rm -rf \
|
||||||
/root \
|
/root \
|
||||||
/var/lib/apt/lists/* \
|
|
||||||
/var/tmp/* \
|
|
||||||
/tmp/*
|
/tmp/*
|
||||||
mkdir /root
|
mkdir /root
|
||||||
export HOME=/home/kasm-default-profile
|
export HOME=/home/kasm-default-profile
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
|
apt-get autoclean
|
||||||
|
rm -rf \
|
||||||
|
/var/lib/apt/lists/* \
|
||||||
|
/var/tmp/*
|
||||||
|
fi
|
||||||
|
@ -38,8 +38,9 @@ EOL
|
|||||||
chmod +x /usr/bin/desktop_ready
|
chmod +x /usr/bin/desktop_ready
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
apt-get autoclean
|
apt-get autoclean
|
||||||
rm -rf \
|
rm -rf \
|
||||||
/var/lib/apt/lists/* \
|
/var/lib/apt/lists/* \
|
||||||
/var/tmp/* \
|
/var/tmp/*
|
||||||
/tmp/*
|
fi
|
||||||
|
@ -5,17 +5,29 @@ set -ex
|
|||||||
if [[ "${DISTRO}" == @(centos|oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
if [[ "${DISTRO}" == @(centos|oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
||||||
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37) ]]; then
|
||||||
dnf install -y thunderbird
|
dnf install -y thunderbird
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
yum install -y thunderbird
|
yum install -y thunderbird
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
yum clean all
|
yum clean all
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
elif [ "${DISTRO}" == "opensuse" ]; then
|
elif [ "${DISTRO}" == "opensuse" ]; then
|
||||||
zypper install -yn MozillaThunderbird
|
zypper install -yn MozillaThunderbird
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
zypper clean --all
|
zypper clean --all
|
||||||
|
fi
|
||||||
elif grep -q "ID=debian" /etc/os-release; then
|
elif grep -q "ID=debian" /etc/os-release; then
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y thunderbird
|
apt-get install -y thunderbird
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
|
apt-get autoclean
|
||||||
|
rm -rf \
|
||||||
|
/var/lib/apt/lists/* \
|
||||||
|
/var/tmp/*
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
apt-get update
|
apt-get update
|
||||||
if [ ! -f '/etc/apt/preferences.d/mozilla-firefox' ]; then
|
if [ ! -f '/etc/apt/preferences.d/mozilla-firefox' ]; then
|
||||||
@ -27,10 +39,13 @@ Pin-Priority: 1001
|
|||||||
' > /etc/apt/preferences.d/mozilla-firefox
|
' > /etc/apt/preferences.d/mozilla-firefox
|
||||||
fi
|
fi
|
||||||
apt-get install -y thunderbird
|
apt-get install -y thunderbird
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
|
apt-get autoclean
|
||||||
rm -rf \
|
rm -rf \
|
||||||
/var/lib/apt/lists/* \
|
/var/lib/apt/lists/* \
|
||||||
/var/tmp/*
|
/var/tmp/*
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Desktop icon
|
# Desktop icon
|
||||||
if [ "${DISTRO}" == "fedora37" ]; then
|
if [ "${DISTRO}" == "fedora37" ]; then
|
||||||
|
@ -2,6 +2,23 @@
|
|||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
# Install kali tools
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y \
|
||||||
|
kali-tools-top10 \
|
||||||
|
autopsy \
|
||||||
|
cutycapt \
|
||||||
|
dirbuster \
|
||||||
|
faraday \
|
||||||
|
fern-wifi-cracker \
|
||||||
|
guymager \
|
||||||
|
hydra-gtk \
|
||||||
|
king-phisher \
|
||||||
|
legion \
|
||||||
|
ophcrack \
|
||||||
|
ophcrack-cli \
|
||||||
|
sqlitebrowser
|
||||||
|
|
||||||
cd /tmp/
|
cd /tmp/
|
||||||
git clone https://github.com/tracelabs/tlosint-live.git
|
git clone https://github.com/tracelabs/tlosint-live.git
|
||||||
cd /tmp/tlosint-live/
|
cd /tmp/tlosint-live/
|
||||||
@ -47,30 +64,15 @@ apt-get purge -y \
|
|||||||
chromium
|
chromium
|
||||||
rm -f /usr/share/xfce4/panel/plugins/power-manager-plugin.desktop
|
rm -f /usr/share/xfce4/panel/plugins/power-manager-plugin.desktop
|
||||||
|
|
||||||
# Install kali tools
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y \
|
|
||||||
kali-tools-top10 \
|
|
||||||
autopsy \
|
|
||||||
cutycapt \
|
|
||||||
dirbuster \
|
|
||||||
faraday \
|
|
||||||
fern-wifi-cracker \
|
|
||||||
guymager \
|
|
||||||
hydra-gtk \
|
|
||||||
king-phisher \
|
|
||||||
legion \
|
|
||||||
ophcrack \
|
|
||||||
ophcrack-cli \
|
|
||||||
sqlitebrowser
|
|
||||||
|
|
||||||
### Cleanup
|
### Cleanup
|
||||||
echo "exit 0" > /usr/bin/blueman-applet
|
echo "exit 0" > /usr/bin/blueman-applet
|
||||||
rm -f /usr/share/xfce4/panel/plugins/power-manager-plugin.desktop
|
rm -f /usr/share/xfce4/panel/plugins/power-manager-plugin.desktop
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
|
apt-get autoclean
|
||||||
rm -rf \
|
rm -rf \
|
||||||
/var/lib/apt/lists/* \
|
/var/lib/apt/lists/* \
|
||||||
/var/tmp/* \
|
/var/tmp/*
|
||||||
/tmp/*
|
fi
|
||||||
rm -Rf /root
|
rm -Rf /root
|
||||||
mkdir -p /root
|
mkdir -p /root
|
||||||
rm -rf /tmp/tlosint-live
|
rm -rf /tmp/tlosint-live
|
||||||
|
@ -51,8 +51,9 @@ cat >>/etc/opt/chrome/policies/managed/default_managed_policy.json <<EOL
|
|||||||
EOL
|
EOL
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
apt-get autoclean
|
apt-get autoclean
|
||||||
rm -rf \
|
rm -rf \
|
||||||
/var/lib/apt/lists/* \
|
/var/lib/apt/lists/* \
|
||||||
/var/tmp/* \
|
/var/tmp/*
|
||||||
/tmp/*
|
fi
|
||||||
|
@ -20,8 +20,9 @@ apt-get install -y python3-setuptools \
|
|||||||
python3-virtualenv
|
python3-virtualenv
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
|
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||||
apt-get autoclean
|
apt-get autoclean
|
||||||
rm -rf \
|
rm -rf \
|
||||||
/var/lib/apt/lists/* \
|
/var/lib/apt/lists/* \
|
||||||
/var/tmp/* \
|
/var/tmp/*
|
||||||
/tmp/*
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user