2021-06-16 15:41:01 +02:00
|
|
|
ARG BASE_TAG="develop"
|
2022-03-23 22:11:48 +01:00
|
|
|
ARG BASE_IMAGE="core-ubuntu-focal"
|
|
|
|
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
|
2021-06-16 15:41:01 +02:00
|
|
|
|
|
|
|
USER root
|
|
|
|
|
|
|
|
ENV HOME /home/kasm-default-profile
|
|
|
|
ENV STARTUPDIR /dockerstartup
|
|
|
|
WORKDIR $HOME
|
|
|
|
|
|
|
|
### Envrionment config
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
|
|
|
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
|
|
|
|
|
|
|
|
|
|
|
### Install Tools
|
|
|
|
COPY ./src/ubuntu/install/tools $INST_SCRIPTS/tools/
|
|
|
|
RUN bash $INST_SCRIPTS/tools/install_tools_deluxe.sh && rm -rf $INST_SCRIPTS/tools/
|
|
|
|
|
|
|
|
# Install Utilities
|
|
|
|
COPY ./src/ubuntu/install/misc $INST_SCRIPTS/misc/
|
|
|
|
RUN bash $INST_SCRIPTS/misc/install_tools.sh && rm -rf $INST_SCRIPTS/misc/
|
|
|
|
|
|
|
|
# Install Google Chrome
|
|
|
|
COPY ./src/ubuntu/install/chrome $INST_SCRIPTS/chrome/
|
|
|
|
RUN bash $INST_SCRIPTS/chrome/install_chrome.sh && rm -rf $INST_SCRIPTS/chrome/
|
|
|
|
|
2022-09-21 01:21:03 +02:00
|
|
|
# Install Chromium
|
|
|
|
COPY ./src/ubuntu/install/chromium $INST_SCRIPTS/chromium/
|
2022-09-23 23:51:54 +02:00
|
|
|
RUN if [ "$(uname -m)" = "aarch64" ]; then bash $INST_SCRIPTS/chromium/install_chromium.sh; fi && rm -rf $INST_SCRIPTS/chromium/
|
2022-09-21 01:21:03 +02:00
|
|
|
|
2021-06-16 15:41:01 +02:00
|
|
|
# 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/
|
|
|
|
|
2021-09-14 21:13:42 +02:00
|
|
|
### Install Telegram
|
|
|
|
COPY ./src/ubuntu/install/telegram $INST_SCRIPTS/telegram/
|
|
|
|
RUN bash $INST_SCRIPTS/telegram/install_telegram.sh && rm -rf $INST_SCRIPTS/telegram/
|
|
|
|
|
2022-05-04 06:57:58 +02:00
|
|
|
### Install Thunderbird
|
|
|
|
COPY ./src/ubuntu/install/thunderbird $INST_SCRIPTS/thunderbird/
|
|
|
|
RUN bash $INST_SCRIPTS/thunderbird/install_thunderbird.sh && rm -rf $INST_SCRIPTS/thunderbird/
|
|
|
|
|
2022-08-01 12:23:37 +02:00
|
|
|
# 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/
|
|
|
|
|
2021-06-16 15:41:01 +02:00
|
|
|
#ADD ./src/common/scripts $STARTUPDIR
|
|
|
|
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
|
|
|
|
|
|
|
RUN chown 1000:0 $HOME
|
|
|
|
|
|
|
|
ENV HOME /home/kasm-user
|
|
|
|
WORKDIR $HOME
|
|
|
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
|
|
|
|
|
|
|
USER 1000
|
|
|
|
|
|
|
|
CMD ["--tail-log"]
|