diff --git a/dockerfile-kasm-desktop-deluxe b/dockerfile-kasm-desktop-deluxe index f3fa79e..2aaf146 100644 --- a/dockerfile-kasm-desktop-deluxe +++ b/dockerfile-kasm-desktop-deluxe @@ -96,9 +96,6 @@ RUN bash $INST_SCRIPTS/terraform/install_terraform.sh && rm -rf $INST_SCRIPTS/t COPY ./src/ubuntu/install/telegram $INST_SCRIPTS/telegram/ RUN bash $INST_SCRIPTS/telegram/install_telegram.sh && rm -rf $INST_SCRIPTS/telegram/ -### Remove maxmius -RUN if [[ ${BASE_IMAGE} =~ "bionic" ]]; then apt-get remove -y maximus; fi; - #ADD ./src/common/scripts $STARTUPDIR RUN $STARTUPDIR/set_user_permission.sh $HOME diff --git a/dockerfile-kasm-java-dev b/dockerfile-kasm-java-dev index f81cfb8..ed4bc59 100644 --- a/dockerfile-kasm-java-dev +++ b/dockerfile-kasm-java-dev @@ -55,9 +55,6 @@ RUN apt-get update && apt-get install -y default-jdk default-jre COPY ./src/ubuntu/install/eclipse $INST_SCRIPTS/eclipse RUN bash $INST_SCRIPTS/eclipse/install_eclipse.sh && rm -rf $INST_SCRIPTS/eclipse/ -### Remove maxmius -RUN if [[ ${BASE_IMAGE} =~ "bionic" ]]; then apt-get remove -y maximus; fi; - #ADD ./src/common/scripts $STARTUPDIR RUN $STARTUPDIR/set_user_permission.sh $HOME diff --git a/dockerfile-kasm-ubuntu-focal-desktop b/dockerfile-kasm-ubuntu-focal-desktop index 8ff043f..5d140cc 100644 --- a/dockerfile-kasm-ubuntu-focal-desktop +++ b/dockerfile-kasm-ubuntu-focal-desktop @@ -92,9 +92,6 @@ RUN bash $INST_SCRIPTS/terraform/install_terraform.sh && rm -rf $INST_SCRIPTS/t COPY ./src/ubuntu/install/telegram $INST_SCRIPTS/telegram/ RUN bash $INST_SCRIPTS/telegram/install_telegram.sh && rm -rf $INST_SCRIPTS/telegram/ -### Remove maxmius -RUN if [[ ${BASE_IMAGE} =~ "bionic" ]]; then apt-get remove -y maximus; fi; - #ADD ./src/common/scripts $STARTUPDIR RUN $STARTUPDIR/set_user_permission.sh $HOME diff --git a/dockerfile-kasm-ubuntu-focal-dind b/dockerfile-kasm-ubuntu-focal-dind index 7b5d698..8334d38 100644 --- a/dockerfile-kasm-ubuntu-focal-dind +++ b/dockerfile-kasm-ubuntu-focal-dind @@ -49,9 +49,6 @@ RUN bash $INST_SCRIPTS/vs_code/install_vs_code.sh && rm -rf $INST_SCRIPTS/vs_co COPY ./src/ubuntu/install/chrome $INST_SCRIPTS/chrome/ RUN bash $INST_SCRIPTS/chrome/install_chrome.sh && rm -rf $INST_SCRIPTS/chrome/ -### Remove maxmius -RUN if [[ ${BASE_IMAGE} =~ "bionic" ]]; then apt-get remove -y maximus; fi; - ######### End Customizations ########### RUN chown 1000:0 $HOME diff --git a/dockerfile-kasm-ubuntu-focal-dind-rootless b/dockerfile-kasm-ubuntu-focal-dind-rootless index a4ceaeb..68b8523 100644 --- a/dockerfile-kasm-ubuntu-focal-dind-rootless +++ b/dockerfile-kasm-ubuntu-focal-dind-rootless @@ -46,9 +46,6 @@ RUN bash $INST_SCRIPTS/vs_code/install_vs_code.sh && rm -rf $INST_SCRIPTS/vs_co COPY ./src/ubuntu/install/chrome $INST_SCRIPTS/chrome/ RUN bash $INST_SCRIPTS/chrome/install_chrome.sh && rm -rf $INST_SCRIPTS/chrome/ -### Remove maxmius -RUN if [[ ${BASE_IMAGE} =~ "bionic" ]]; then apt-get remove -y maximus; fi; - RUN chown 1000:0 $HOME USER 1000 diff --git a/src/ubuntu/install/dind_rootless/custom_startup.sh b/src/ubuntu/install/dind_rootless/custom_startup.sh index e655bc6..fab288d 100644 --- a/src/ubuntu/install/dind_rootless/custom_startup.sh +++ b/src/ubuntu/install/dind_rootless/custom_startup.sh @@ -55,10 +55,6 @@ kasm_startup() { if [ -z "$DISABLE_CUSTOM_STARTUP" ] || [ -n "$FORCE" ] ; then - if [[ $MAXIMUS == 'true' ]] ; then - maximus & - fi - while true do if ! pgrep -x $PGREP > /dev/null diff --git a/src/ubuntu/install/discord/install_discord.sh b/src/ubuntu/install/discord/install_discord.sh index fbe37ed..131226e 100644 --- a/src/ubuntu/install/discord/install_discord.sh +++ b/src/ubuntu/install/discord/install_discord.sh @@ -1,10 +1,7 @@ #!/usr/bin/env bash set -ex apt-get update -if [[ "$(lsb_release -cs)" == "bionic" ]]; -then - apt-get install -y maximus -fi + curl -L -o discord.deb "https://discord.com/api/download?platform=linux&format=deb" apt-get install -y ./discord.deb rm discord.deb diff --git a/src/ubuntu/install/gimp/install_gimp.sh b/src/ubuntu/install/gimp/install_gimp.sh index 3cecb4d..c0068c8 100644 --- a/src/ubuntu/install/gimp/install_gimp.sh +++ b/src/ubuntu/install/gimp/install_gimp.sh @@ -1,10 +1,7 @@ #!/usr/bin/env bash set -ex apt-get update -if [[ "$(lsb_release -cs)" == "bionic" ]]; -then - apt-get install -y maximus -fi + apt-get install -y gimp cp /usr/share/applications/gimp.desktop $HOME/Desktop/ chmod +x $HOME/Desktop/gimp.desktop \ No newline at end of file diff --git a/src/ubuntu/install/insomnia/install_insomnia.sh b/src/ubuntu/install/insomnia/install_insomnia.sh index af92123..bf29c6c 100644 --- a/src/ubuntu/install/insomnia/install_insomnia.sh +++ b/src/ubuntu/install/insomnia/install_insomnia.sh @@ -9,9 +9,3 @@ cp /usr/share/applications/insomnia.desktop $HOME/Desktop chmod +x $HOME/Desktop/insomnia.desktop chown 1000:1000 $HOME/Desktop/insomnia.desktop rm insomnia.deb - -# Conveniences for python development -if [[ "$(lsb_release -cs)" == "bionic" ]]; -then - apt-get install -y maximus -fi diff --git a/src/ubuntu/install/only_office/install_only_office.sh b/src/ubuntu/install/only_office/install_only_office.sh index 57eab8b..e5cc2e9 100644 --- a/src/ubuntu/install/only_office/install_only_office.sh +++ b/src/ubuntu/install/only_office/install_only_office.sh @@ -17,9 +17,3 @@ sed -i 's/ONLYOFFICE Desktop Editors/ONLYOFFICE/g' $HOME/Desktop/onlyoffice-desk chmod +x $HOME/Desktop/onlyoffice-desktopeditors.desktop # KASM-1541 sed -i 's#/usr/bin/onlyoffice-desktopeditors %U$#bash -c "source ~/.bashrc \&\& /usr/bin/onlyoffice-desktopeditors %U"#' /usr/share/applications/onlyoffice-desktopeditors.desktop - -if [[ "$(lsb_release -cs)" == "bionic" ]]; -then - apt-get update - apt-get install -y maximus -fi diff --git a/src/ubuntu/install/postman/install_postman.sh b/src/ubuntu/install/postman/install_postman.sh index ab2c6e1..5aaebb2 100644 --- a/src/ubuntu/install/postman/install_postman.sh +++ b/src/ubuntu/install/postman/install_postman.sh @@ -19,9 +19,3 @@ chmod +x /usr/share/applications/postman.desktop cp /usr/share/applications/postman.desktop $HOME/Desktop/postman.desktop chmod +x $HOME/Desktop/postman.desktop chown 1000:1000 $HOME/Desktop/postman.desktop - -if [[ "$(lsb_release -cs)" == "bionic" ]]; -then - apt-get update - apt-get install -y maximus -fi diff --git a/src/ubuntu/install/signal/install_signal.sh b/src/ubuntu/install/signal/install_signal.sh index 90cd6f3..f562e68 100644 --- a/src/ubuntu/install/signal/install_signal.sh +++ b/src/ubuntu/install/signal/install_signal.sh @@ -12,10 +12,7 @@ fi wget -O- https://updates.signal.org/desktop/apt/keys.asc | apt-key add - echo "deb [arch=${ARCH}] https://updates.signal.org/desktop/apt xenial main" | tee -a /etc/apt/sources.list.d/signal-xenial.list apt-get update -if [[ "$(lsb_release -cs)" == "bionic" ]]; -then - apt-get install -y maximus -fi + apt-get install -y signal-desktop cp /usr/share/applications/signal-desktop.desktop $HOME/Desktop/ chmod +x $HOME/Desktop/signal-desktop.desktop diff --git a/src/ubuntu/install/slack/install_slack.sh b/src/ubuntu/install/slack/install_slack.sh index 40a4c7c..b4f4e23 100644 --- a/src/ubuntu/install/slack/install_slack.sh +++ b/src/ubuntu/install/slack/install_slack.sh @@ -22,10 +22,7 @@ version=4.12.2 # This path may not be accurate once arm64 support arrives. Specifically I don't know if it will still be under x64 wget -q https://downloads.slack-edge.com/releases/linux/${version}/prod/x64/slack-desktop-${version}-${ARCH}.deb apt-get update -if [[ "$(lsb_release -cs)" == "bionic" ]]; -then - apt-get install -y maximus -fi + apt-get install -y ./slack-desktop-${version}-${ARCH}.deb rm slack-desktop-${version}-${ARCH}.deb sed -i 's,/usr/bin/slack,/usr/bin/slack --no-sandbox,g' /usr/share/applications/slack.desktop diff --git a/src/ubuntu/install/steam/install_steam.sh b/src/ubuntu/install/steam/install_steam.sh index e9228ff..2a4f4a5 100644 --- a/src/ubuntu/install/steam/install_steam.sh +++ b/src/ubuntu/install/steam/install_steam.sh @@ -2,10 +2,7 @@ set -ex dpkg --add-architecture i386 apt-get update -if [[ "$(lsb_release -cs)" == "bionic" ]]; -then - apt-get install -y maximus -fi + apt-get install -y steam-installer cp /usr/share/applications/steam.desktop $HOME/Desktop/ chmod +x $HOME/Desktop/steam.desktop diff --git a/src/ubuntu/install/sublime_text/install_sublime_text.sh b/src/ubuntu/install/sublime_text/install_sublime_text.sh index d0c4313..4d042b0 100644 --- a/src/ubuntu/install/sublime_text/install_sublime_text.sh +++ b/src/ubuntu/install/sublime_text/install_sublime_text.sh @@ -13,10 +13,6 @@ apt-get install -y apt-transport-https echo "deb https://download.sublimetext.com/ apt/stable/" | tee /etc/apt/sources.list.d/sublime-text.list apt-get update -if [[ "$(lsb_release -cs)" == "bionic" ]]; -then - apt-get install -y maximus -fi apt-get install -y sublime-text cp /usr/share/applications/sublime_text.desktop $HOME/Desktop/ diff --git a/src/ubuntu/install/vlc/install_vlc.sh b/src/ubuntu/install/vlc/install_vlc.sh index eab3a87..c49dc51 100644 --- a/src/ubuntu/install/vlc/install_vlc.sh +++ b/src/ubuntu/install/vlc/install_vlc.sh @@ -1,8 +1,4 @@ #!/usr/bin/env bash set -ex apt-get update -if [[ "$(lsb_release -cs)" == "bionic" ]]; -then - apt-get install -y maximus -fi apt-get install -y vlc \ No newline at end of file diff --git a/src/ubuntu/install/vs_code/install_vs_code.sh b/src/ubuntu/install/vs_code/install_vs_code.sh index e59545a..f9e24a5 100644 --- a/src/ubuntu/install/vs_code/install_vs_code.sh +++ b/src/ubuntu/install/vs_code/install_vs_code.sh @@ -15,8 +15,3 @@ apt-get update apt-get install -y python3-setuptools \ python3-venv \ python3-virtualenv - -if [[ "$(lsb_release -cs)" == "bionic" ]]; -then - apt-get install -y maximus -fi diff --git a/src/ubuntu/install/zoom/install_zoom.sh b/src/ubuntu/install/zoom/install_zoom.sh index 1d1d7b1..4cc11d1 100644 --- a/src/ubuntu/install/zoom/install_zoom.sh +++ b/src/ubuntu/install/zoom/install_zoom.sh @@ -11,10 +11,6 @@ fi wget -q https://zoom.us/client/latest/zoom_${ARCH}.deb apt-get update -if [[ "$(lsb_release -cs)" == "bionic" ]]; -then - apt-get install -y maximus -fi apt-get install -y ./zoom_${ARCH}.deb rm zoom_amd64.deb cp /usr/share/applications/Zoom.desktop $HOME/Desktop/ diff --git a/src/ubuntu/install/zsnes/install_zsnes.sh b/src/ubuntu/install/zsnes/install_zsnes.sh index a5e03f1..98a56c4 100644 --- a/src/ubuntu/install/zsnes/install_zsnes.sh +++ b/src/ubuntu/install/zsnes/install_zsnes.sh @@ -2,10 +2,6 @@ set -ex dpkg --add-architecture i386 apt-get update -if [[ "$(lsb_release -cs)" == "bionic" ]]; -then - apt-get install -y maximus -fi apt-get install -y zsnes