Merge branch 'develop' into feature/KASM-5299_nessus

This commit is contained in:
Justin Travis 2024-01-29 05:58:18 -05:00
commit 335eef2fcb
No known key found for this signature in database
150 changed files with 1333 additions and 232 deletions

View File

@ -11,7 +11,7 @@ variables:
BASE_TAG: "develop"
USE_PRIVATE_IMAGES: 0
KASM_RELEASE: "1.14.0"
TEST_INSTALLER: "https://kasm-static-content.s3.amazonaws.com/kasm_release_1.14.0.7f3582.tar.gz"
TEST_INSTALLER: "https://kasmweb-build-artifacts.s3.amazonaws.com/kasm_backend/1e99090dadb026f1e37e34e53334da20061bc21c/kasm_workspaces_feature_tester-1.15-pre-release_1.15.0.1e9909.tar.gz"
before_script:
- export SANITIZED_BRANCH="$(echo $CI_COMMIT_REF_NAME | sed -r 's#^release/##' | sed 's/\//_/g')"

89
ci-scripts/app-layer.sh Normal file
View File

@ -0,0 +1,89 @@
#! /bin/bash
# Ingest cli variables
## Parse input ##
NAME=$1
TYPE=$2
BASE=$3
IS_ROLLING=$4
# Determine if this is a private or public build
if [[ "${CI_COMMIT_REF_NAME}" == release/* ]] || [[ "${CI_COMMIT_REF_NAME}" == "develop" ]]; then
ENDPOINT="${NAME}"
APPS="kasm-apps"
else
ENDPOINT="${NAME}-private"
APPS="kasm-apps-private"
fi
# Determine if this is a rolling build
if [[ "${CI_PIPELINE_SOURCE}" == "schedule" ]] || [[ "${IS_ROLLING}" == "true" ]]; then
SANITIZED_BRANCH=${SANITIZED_BRANCH}-rolling
fi
# Create workspace and base dockerfile
mkdir -p applayer
cd applayer
echo "FROM scratch" > Dockerfile
echo "ADD ./layer.tar /" >> Dockerfile
# Clean up layer tar to not include overlay info
clean_tar () {
mkdir cleantar
tar xf layer.tar -C cleantar/ --exclude="**.wh**"
rm layer.tar
cd cleantar
tar -cf layer.tar *
mv layer.tar ../
cd ..
rm -Rf cleantar/
}
# Multi arch
if [ "${TYPE}" == "multi" ]; then
for ARCH in x86_64 aarch64; do
# Create image tarballs
docker save -o $ARCH.tar ${ORG_NAME}/${ENDPOINT}:${ARCH}-${SANITIZED_BRANCH}
# Pull out the layer we are looking for
mkdir $ARCH
mv $ARCH.tar $ARCH
cd $ARCH
tar xf $ARCH.tar
LAYER_FOLDER=$(du -sk * |sort -nr | sed '3q;d' | awk '{print $2}')
mv $LAYER_FOLDER/layer.tar ../
cd ../
rm -Rf $ARCH
clean_tar
# build the image based on this single layer
docker build -t ${ORG_NAME}/${APPS}:${ARCH}-${BASE}-${NAME}-${SANITIZED_BRANCH} .
docker push ${ORG_NAME}/${APPS}:${ARCH}-${BASE}-${NAME}-${SANITIZED_BRANCH}
rm -f layer.tar
done
# Manifest
docker manifest push --purge ${ORG_NAME}/${APPS}:${BASE}-${NAME}-${SANITIZED_BRANCH} || :
docker manifest create ${ORG_NAME}/${APPS}:${BASE}-${NAME}-${SANITIZED_BRANCH} ${ORG_NAME}/${APPS}:x86_64-${BASE}-${NAME}-${SANITIZED_BRANCH} ${ORG_NAME}/${APPS}:aarch64-${BASE}-${NAME}-${SANITIZED_BRANCH}
docker manifest annotate ${ORG_NAME}/${APPS}:${BASE}-${NAME}-${SANITIZED_BRANCH} ${ORG_NAME}/${APPS}:aarch64-${BASE}-${NAME}-${SANITIZED_BRANCH} --os linux --arch arm64 --variant v8
docker manifest push --purge ${ORG_NAME}/${APPS}:${BASE}-${NAME}-${SANITIZED_BRANCH}
# Single arch
else
# Create image tarballs
docker save -o image.tar ${ORG_NAME}/${ENDPOINT}:${SANITIZED_BRANCH}
# Pull out the layer we are looking for
mkdir image
mv image.tar image
cd image
tar xf image.tar
LAYER_FOLDER=$(du -sk * |sort -nr | sed '3q;d' | awk '{print $2}')
mv $LAYER_FOLDER/layer.tar ../
cd ../
rm -Rf image
clean_tar
# build the image based on this single layer
docker build -t ${ORG_NAME}/${APPS}:${BASE}-${NAME}-${SANITIZED_BRANCH} .
docker push ${ORG_NAME}/${APPS}:${BASE}-${NAME}-${SANITIZED_BRANCH}
rm -f layer.tar
fi
# Cleanup
cd ..
rm -Rf applayer

View File

@ -137,8 +137,9 @@ manifest_{{ IMAGE.name }}:
stage: manifest
when: always
script:
- apk add bash
- bash ci-scripts/manifest.sh "{{ IMAGE.name }}" "multi"
- apk add bash tar
- bash ci-scripts/manifest.sh "{{ IMAGE.name }}" "multi"{% if IMAGE.singleapp %}
- bash ci-scripts/app-layer.sh "{{ IMAGE.name }}" "multi" "{{ IMAGE.base }}"{% endif %}
{% if FILE_LIMITS %}only:
changes:
{% for FILE in files %}- {{ FILE }}
@ -162,8 +163,9 @@ manifest_{{ IMAGE.name }}:
stage: manifest
when: always
script:
- apk add bash
- bash ci-scripts/manifest.sh "{{ IMAGE.name }}" "single"
- apk add bash tar
- bash ci-scripts/manifest.sh "{{ IMAGE.name }}" "single"{% if IMAGE.singleapp %}
- bash ci-scripts/app-layer.sh "{{ IMAGE.name }}" "single" "{{ IMAGE.base }}"{% endif %}
{% if FILE_LIMITS %}only:
changes:
{% for FILE in files %}- {{ FILE }}

View File

@ -5,12 +5,14 @@ files: &UNIVERSAL_CHANGE_FILES
multiImages:
- name: audacity
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-audacity
changeFiles:
- dockerfile-kasm-audacity
- src/ubuntu/install/audacity/**
- name: chromium
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-chromium
changeFiles:
@ -19,24 +21,28 @@ multiImages:
- src/ubuntu/install/chromium/**
- src/ubuntu/install/certificates/**
- name: deluge
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-deluge
changeFiles:
- dockerfile-kasm-deluge
- src/ubuntu/install/deluge/**
- name: doom
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-doom
changeFiles:
- dockerfile-kasm-doom
- src/ubuntu/install/doom/**
- name: filezilla
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-filezilla
changeFiles:
- dockerfile-kasm-filezilla
- src/ubuntu/install/filezilla/**
- name: firefox
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-firefox
changeFiles:
@ -45,18 +51,21 @@ multiImages:
- src/ubuntu/install/firefox/**
- src/ubuntu/install/certificates/**
- name: gimp
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-gimp
changeFiles:
- dockerfile-kasm-gimp
- src/ubuntu/install/gimp/**
- name: inkscape
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-inkscape
changeFiles:
- dockerfile-kasm-inkscape
- src/ubuntu/install/inkscape/**
- name: java-dev
singleapp: false
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-java-dev
changeFiles:
@ -70,6 +79,7 @@ multiImages:
- src/ubuntu/install/chrome/**
- src/ubuntu/install/eclipse/**
- name: libre-office
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-libre-office
changeFiles:
@ -84,6 +94,7 @@ multiImages:
- src/ubuntu/install/nessus/**
- src/ubuntu/install/cleanup/**
- name: opensuse-15-desktop
singleapp: false
base: core-opensuse-15
dockerfile: dockerfile-kasm-opensuse-15-desktop
changeFiles:
@ -99,6 +110,7 @@ multiImages:
- src/ubuntu/install/slack/**
- src/opensuse/install/**
- name: oracle-8-desktop
singleapp: false
base: core-oracle-8
dockerfile: dockerfile-kasm-oracle-8-desktop
changeFiles:
@ -112,33 +124,43 @@ multiImages:
- src/ubuntu/install/chromium/**
- src/ubuntu/install/slack/**
- name: pinta
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-pinta
changeFiles:
- dockerfile-kasm-pinta
- src/ubuntu/install/pinta/**
- name: qbittorrent
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-qbittorrent
changeFiles:
- dockerfile-kasm-qbittorrent
- src/ubuntu/install/qbittorrent/**
- name: redroid
singleapp: false
base: core-ubuntu-jammy
dockerfile: dockerfile-kasm-redroid
changeFiles:
- dockerfile-kasm-redroid
- src/ubuntu/install/redroid/**
- src/ubuntu/install/android_studio/**
- src/ubuntu/install/misc/**
- src/ubuntu/install/sublime_text/**
- src/ubuntu/install/vs_code/**
- src/ubuntu/install/chrome/**
- src/ubuntu/install/chromium/**
- src/ubuntu/install/tools/**
- src/ubuntu/install/cleanup/**
- name: remmina
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-remmina
changeFiles:
- dockerfile-kasm-remmina
- src/ubuntu/install/remmina/**
- name: slack
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-slack
changeFiles:
- dockerfile-kasm-slack
- src/ubuntu/install/slack/**
- src/ubuntu/install/chrone/**
- src/ubuntu/install/tools/**
- src/ubuntu/install/cleanup/**
- name: spiderfoot
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-spiderfoot
changeFiles:
@ -148,18 +170,21 @@ multiImages:
- src/ubuntu/install/tools/**
- src/ubuntu/install/cleanup/**
- name: sublime-text
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-sublime-text
changeFiles:
- dockerfile-kasm-sublime-text
- src/ubuntu/install/sublime_text/**
- name: telegram
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-telegram
changeFiles:
- dockerfile-kasm-telegram
- src/ubuntu/install/telegram/**
- name: terminal
singleapp: false
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-terminal
changeFiles:
@ -168,12 +193,14 @@ multiImages:
- src/ubuntu/install/ansible/**
- src/ubuntu/install/terminal/**
- name: thunderbird
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-thunderbird
changeFiles:
- dockerfile-kasm-thunderbird
- src/ubuntu/install/thunderbird/**
- name: tor-browser
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-tor-browser
changeFiles:
@ -181,6 +208,7 @@ multiImages:
- src/ubuntu/install/gtk/**
- src/ubuntu/install/torbrowser/**
- name: ubuntu-focal-desktop
singleapp: false
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-ubuntu-focal-desktop
changeFiles:
@ -207,6 +235,7 @@ multiImages:
- src/ubuntu/install/chrome/**
- src/ubuntu/install/slack/**
- name: ubuntu-focal-desktop-vpn
singleapp: false
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-ubuntu-focal-desktop-vpn
changeFiles:
@ -234,6 +263,7 @@ multiImages:
- src/ubuntu/install/slack/**
- src/ubuntu/install/vpn/**
- name: ubuntu-jammy-desktop
singleapp: false
base: core-ubuntu-jammy
dockerfile: dockerfile-kasm-ubuntu-jammy-desktop
changeFiles:
@ -260,18 +290,21 @@ multiImages:
- src/ubuntu/install/chrome/**
- src/ubuntu/install/slack/**
- name: vlc
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-vlc
changeFiles:
- dockerfile-kasm-vlc
- src/ubuntu/install/vlc/**
- name: vs-code
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-vs-code
changeFiles:
- dockerfile-kasm-vs-code
- src/ubuntu/install/vs_code/**
- name: almalinux-8-desktop
singleapp: false
base: core-almalinux-8
dockerfile: dockerfile-kasm-almalinux-8-desktop
changeFiles:
@ -285,6 +318,7 @@ multiImages:
- src/ubuntu/install/chromium/**
- src/ubuntu/install/slack/**
- name: almalinux-9-desktop
singleapp: false
base: core-almalinux-9
dockerfile: dockerfile-kasm-almalinux-9-desktop
changeFiles:
@ -297,6 +331,7 @@ multiImages:
- src/ubuntu/install/chromium/**
- src/ubuntu/install/slack/**
- name: alpine-317-desktop
singleapp: false
base: core-alpine-317
dockerfile: dockerfile-kasm-alpine-317-desktop
changeFiles:
@ -305,6 +340,7 @@ multiImages:
- src/ubuntu/install/cleanup/**
- src/alpine/install/**
- name: alpine-318-desktop
singleapp: false
base: core-alpine-318
dockerfile: dockerfile-kasm-alpine-318-desktop
changeFiles:
@ -312,7 +348,17 @@ multiImages:
- src/ubuntu/install/langpacks/**
- src/ubuntu/install/cleanup/**
- src/alpine/install/**
- name: alpine-319-desktop
singleapp: false
base: core-alpine-319
dockerfile: dockerfile-kasm-alpine-319-desktop
changeFiles:
- dockerfile-kasm-alpine-319-desktop
- src/ubuntu/install/langpacks/**
- src/ubuntu/install/cleanup/**
- src/alpine/install/**
- name: brave
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-brave
changeFiles:
@ -320,6 +366,7 @@ multiImages:
- src/ubuntu/install/gtk/**
- src/ubuntu/install/brave/**
- name: debian-bullseye-desktop
singleapp: false
base: core-debian-bullseye
dockerfile: dockerfile-kasm-debian-bullseye-desktop
changeFiles:
@ -344,6 +391,7 @@ multiImages:
- src/ubuntu/install/chrome/**
- src/ubuntu/install/slack/**
- name: debian-bookworm-desktop
singleapp: false
base: core-debian-bookworm
dockerfile: dockerfile-kasm-debian-bookworm-desktop
changeFiles:
@ -368,6 +416,7 @@ multiImages:
- src/ubuntu/install/chrome/**
- src/ubuntu/install/slack/**
- name: fedora-37-desktop
singleapp: false
base: core-fedora-37
dockerfile: dockerfile-kasm-fedora-37-desktop
changeFiles:
@ -380,6 +429,7 @@ multiImages:
- src/ubuntu/install/chromium/**
- src/ubuntu/install/slack/**
- name: fedora-38-desktop
singleapp: false
base: core-fedora-38
dockerfile: dockerfile-kasm-fedora-38-desktop
changeFiles:
@ -391,7 +441,21 @@ multiImages:
- src/ubuntu/install/cleanup/**
- src/ubuntu/install/chromium/**
- src/ubuntu/install/slack/**
- name: fedora-39-desktop
singleapp: false
base: core-fedora-39
dockerfile: dockerfile-kasm-fedora-39-desktop
changeFiles:
- dockerfile-kasm-fedora-39-desktop
- src/oracle/install/**
- src/ubuntu/install/thunderbird/**
- src/ubuntu/install/remmina/**
- src/ubuntu/install/firefox/**
- src/ubuntu/install/cleanup/**
- src/ubuntu/install/chromium/**
- src/ubuntu/install/slack/**
- name: kali-rolling-desktop
singleapp: false
base: core-kali-rolling
dockerfile: dockerfile-kasm-kali-rolling-desktop
changeFiles:
@ -400,12 +464,14 @@ multiImages:
- src/ubuntu/install/cleanup/**
- src/ubuntu/install/chromium/**
- name: minetest
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-minetest
changeFiles:
- dockerfile-kasm-minetest
- src/ubuntu/install/minetest/**
- name: oracle-9-desktop
singleapp: false
base: core-oracle-9
dockerfile: dockerfile-kasm-oracle-9-desktop
changeFiles:
@ -417,22 +483,25 @@ multiImages:
- src/ubuntu/install/cleanup/**
- src/ubuntu/install/chromium/**
- src/ubuntu/install/slack/**
- name: parrotos-5-desktop
base: core-parrotos-5
dockerfile: dockerfile-kasm-parrotos-5-desktop
- name: parrotos-6-desktop
singleapp: false
base: core-parrotos-6
dockerfile: dockerfile-kasm-parrotos-6-desktop
changeFiles:
- dockerfile-kasm-parrotos-5-desktop
- dockerfile-kasm-parrotos-6-desktop
- src/ubuntu/install/parrot/**
- src/ubuntu/install/firefox/**
- src/ubuntu/install/cleanup/**
- src/ubuntu/install/chromium/**
- name: retroarch
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-retroarch
changeFiles:
- dockerfile-kasm-retroarch
- src/ubuntu/install/retroarch/**
- name: rockylinux-8-desktop
singleapp: false
base: core-rockylinux-8
dockerfile: dockerfile-kasm-rockylinux-8-desktop
changeFiles:
@ -446,6 +515,7 @@ multiImages:
- src/ubuntu/install/chromium/**
- src/ubuntu/install/slack/**
- name: rockylinux-9-desktop
singleapp: false
base: core-rockylinux-9
dockerfile: dockerfile-kasm-rockylinux-9-desktop
changeFiles:
@ -458,12 +528,14 @@ multiImages:
- src/ubuntu/install/chromium/**
- src/ubuntu/install/slack/**
- name: super-tux-kart
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-super-tux-kart
changeFiles:
- dockerfile-kasm-super-tux-kart
- src/ubuntu/install/super_tux_kart/**
- name: ubuntu-focal-dind
singleapp: false
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-ubuntu-focal-dind
changeFiles:
@ -477,6 +549,7 @@ multiImages:
- src/ubuntu/install/chromium/**
- src/ubuntu/install/chrome/**
- name: ubuntu-focal-dind-rootless
singleapp: false
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-ubuntu-focal-dind-rootless
changeFiles:
@ -490,6 +563,7 @@ multiImages:
- src/ubuntu/install/chromium/**
- src/ubuntu/install/chrome/**
- name: ubuntu-jammy-dind
singleapp: false
base: core-ubuntu-jammy
dockerfile: dockerfile-kasm-ubuntu-jammy-dind
changeFiles:
@ -503,6 +577,7 @@ multiImages:
- src/ubuntu/install/chromium/**
- src/ubuntu/install/chrome/**
- name: ubuntu-jammy-dind-rootless
singleapp: false
base: core-ubuntu-jammy
dockerfile: dockerfile-kasm-ubuntu-jammy-dind-rootless
changeFiles:
@ -517,6 +592,7 @@ multiImages:
- src/ubuntu/install/chromium/**
- src/ubuntu/install/chrome/**
- name: vivaldi
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-vivaldi
changeFiles:
@ -526,18 +602,21 @@ multiImages:
- src/ubuntu/install/vivaldi/**
singleImages:
- name: atom
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-atom
changeFiles:
- dockerfile-kasm-atom
- src/ubuntu/install/atom/**
- name: blender
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-blender
changeFiles:
- dockerfile-kasm-blender
- src/ubuntu/install/blender/**
- name: centos-7-desktop
singleapp: false
base: core-centos-7
dockerfile: dockerfile-kasm-centos-7-desktop
changeFiles:
@ -547,6 +626,7 @@ singleImages:
- src/ubuntu/install/cleanup/**
- src/ubuntu/install/chrome/**
- name: chrome
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-chrome
changeFiles:
@ -555,6 +635,7 @@ singleImages:
- src/ubuntu/install/certificates/**
- src/ubuntu/install/chrome/**
- name: desktop
singleapp: false
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-desktop
changeFiles:
@ -563,6 +644,7 @@ singleImages:
- src/ubuntu/install/certificates/**
- src/ubuntu/install/chrome/**
- name: desktop-deluxe
singleapp: false
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-desktop-deluxe
changeFiles:
@ -585,12 +667,14 @@ singleImages:
- src/ubuntu/install/ansible/**
- src/ubuntu/install/chrome/**
- name: discord
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-discord
changeFiles:
- dockerfile-kasm-discord
- src/ubuntu/install/discord/**
- name: edge
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-edge
changeFiles:
@ -598,6 +682,7 @@ singleImages:
- src/ubuntu/install/gtk/**
- src/ubuntu/install/edge/**
- name: hunchly
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-hunchly
changeFiles:
@ -605,12 +690,14 @@ singleImages:
- src/ubuntu/install/chrome/**
- src/ubuntu/install/hunchly/**
- name: insomnia
singleapp: true
base: core-ubuntu-jammy
dockerfile: dockerfile-kasm-insomnia
changeFiles:
- dockerfile-kasm-insomnia
- src/ubuntu/install/insomnia/**
- name: maltego
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-maltego
changeFiles:
@ -618,11 +705,13 @@ singleImages:
- src/ubuntu/install/maltego/**
- src/ubuntu/install/firefox/**
- name: only-office
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-only-office
changeFiles:
- dockerfile-kasm-only-office
- name: oracle-7-desktop
singleapp: false
base: core-oracle-7
dockerfile: dockerfile-kasm-oracle-7-desktop
changeFiles:
@ -634,6 +723,7 @@ singleImages:
- src/ubuntu/install/cleanup/**
- src/ubuntu/install/chrome/**
- name: postman
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-postman
changeFiles:
@ -641,6 +731,7 @@ singleImages:
- src/ubuntu/install/chrome/**
- src/ubuntu/install/postman/**
- name: remnux-focal-desktop
singleapp: false
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-remnux-focal-desktop
changeFiles:
@ -648,18 +739,31 @@ singleImages:
- src/ubuntu/install/firefox/**
- src/ubuntu/install/remnux/**
- name: signal
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-signal
changeFiles:
- dockerfile-kasm-signal
- src/ubuntu/install/signal/**
- name: slack
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-slack
changeFiles:
- dockerfile-kasm-slack
- src/ubuntu/install/slack/**
- src/ubuntu/install/chrome/**
- src/ubuntu/install/tools/**
- src/ubuntu/install/cleanup/**
- name: steam
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-steam
changeFiles:
- dockerfile-kasm-steam
- src/ubuntu/install/steam/**
- name: tracelabs
singleapp: false
base: core-kali-rolling
dockerfile: dockerfile-kasm-tracelabs
changeFiles:
@ -668,6 +772,7 @@ singleImages:
- src/ubuntu/install/firefox/**
- src/ubuntu/install/tracelabs/**
- name: unityhub
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-unityhub
changeFiles:
@ -676,6 +781,7 @@ singleImages:
- src/ubuntu/install/chrome/**
- src/ubuntu/install/unityhub/**
- name: zoom
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-zoom
changeFiles:
@ -683,6 +789,7 @@ singleImages:
- src/ubuntu/install/zoom/**
- src/ubuntu/install/chrome/**
- name: zsnes
singleapp: true
base: core-ubuntu-focal
dockerfile: dockerfile-kasm-zsnes
changeFiles:

View File

@ -188,7 +188,7 @@ ssh \
ready_check
# Pull tester image
docker pull ${ORG_NAME}/kasm-tester:1.14.2
docker pull ${ORG_NAME}/kasm-tester:1.15.0
# Run test
cp /root/.ssh/id_rsa $(dirname ${CI_PROJECT_DIR})/sshkey
@ -210,7 +210,7 @@ docker run --rm \
-e REPO=workspaces-images \
-e AUTOMATED=true \
-v $(dirname ${CI_PROJECT_DIR})/sshkey:/sshkey:ro ${SLIM_FLAG} \
kasmweb/kasm-tester:1.14.2
kasmweb/kasm-tester:1.15.0
# Shutdown Instances
turnoff

View File

@ -39,7 +39,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -37,7 +37,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -14,10 +14,9 @@ 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/gimp/install_gimp.sh \
/alpine/install/ansible/install_ansible.sh \
/alpine/install/terraform/install_terraform.sh \
/alpine/install/thunderbird/install_thunderbird.sh \
@ -38,7 +37,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -14,10 +14,9 @@ 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/gimp/install_gimp.sh \
/alpine/install/ansible/install_ansible.sh \
/alpine/install/terraform/install_terraform.sh \
/alpine/install/thunderbird/install_thunderbird.sh \
@ -38,7 +37,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -0,0 +1,54 @@
ARG BASE_TAG="develop"
ARG BASE_IMAGE="core-alpine-319"
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
USER root
ENV DISTRO=alpine319
ENV HOME /home/kasm-default-profile
ENV STARTUPDIR /dockerstartup
WORKDIR $HOME
### Envrionment config
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/firefox/install_firefox.sh \
/alpine/install/remmina/install_remmina.sh \
/alpine/install/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"
# Copy install scripts
COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \
chown 1000:0 $HOME && \
mkdir -p /home/kasm-user && \
chown -R 1000:0 /home/kasm-user && \
rm -Rf ${INST_DIR}
# Userspace Runtime
ENV HOME /home/kasm-user
WORKDIR $HOME
USER 1000
CMD ["--tail-log"]

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -20,7 +20,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -17,7 +17,7 @@ RUN bash $INST_SCRIPTS/brave/install_brave.sh && rm -rf $INST_SCRIPTS/brave/
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
# Security modifications

View File

@ -25,7 +25,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -17,7 +17,7 @@ RUN bash $INST_SCRIPTS/chrome/install_chrome.sh && rm -rf $INST_SCRIPTS/chrome/
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
# Security modifications

View File

@ -16,7 +16,7 @@ RUN bash $INST_SCRIPTS/chromium/install_chromium.sh && rm -rf $INST_SCRIPTS/chro
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
# Security modifications

View File

@ -41,7 +41,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -41,7 +41,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -11,7 +11,7 @@ WORKDIR $HOME
######### Customize Container Here ###########
# Add Kasm Branding
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN cp /usr/share/extra/icons/icon_kasm.png /usr/share/extra/icons/icon_default.png
RUN sed -i 's/ubuntu-mono-dark/elementary-xfce/g' $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml

View File

@ -15,7 +15,7 @@ ENV INST_SCRIPTS $STARTUPDIR/install
ENV DONT_PROMPT_WSL_INSTALL "No_Prompt_please"
# Add Kasm Branding
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN cp /usr/share/extra/icons/icon_kasm.png /usr/share/extra/icons/icon_default.png
RUN sed -i 's/ubuntu-mono-dark/elementary-xfce/g' $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel

View File

@ -20,7 +20,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -17,7 +17,7 @@ RUN bash $INST_SCRIPTS/edge/install_edge.sh && rm -rf $INST_SCRIPTS/edge/
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
ENV KASM_RESTRICTED_FILE_CHOOSER=1

View File

@ -25,7 +25,6 @@ ENV SKIP_CLEAN=true \
/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/slack/install_slack.sh \
@ -37,7 +36,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -4,7 +4,7 @@ FROM kasmweb/$BASE_IMAGE:$BASE_TAG
USER root
ENV DISTRO=fedora37
ENV DISTRO=fedora38
ENV HOME /home/kasm-default-profile
ENV STARTUPDIR /dockerstartup
WORKDIR $HOME
@ -37,7 +37,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -0,0 +1,54 @@
ARG BASE_TAG="develop"
ARG BASE_IMAGE="core-fedora-39"
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
USER root
ENV DISTRO=fedora39
ENV HOME /home/kasm-default-profile
ENV STARTUPDIR /dockerstartup
WORKDIR $HOME
### Envrionment config
ENV SKIP_CLEAN=true \
KASM_RX_HOME=$STARTUPDIR/kasmrx \
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/slack/install_slack.sh \
/ubuntu/install/cleanup/cleanup.sh"
# Copy install scripts
COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \
chown 1000:0 $HOME && \
mkdir -p /home/kasm-user && \
chown -R 1000:0 /home/kasm-user && \
rm -Rf ${INST_DIR}
# Userspace Runtime
ENV HOME /home/kasm-user
WORKDIR $HOME
USER 1000
CMD ["--tail-log"]

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -18,7 +18,7 @@ RUN bash $INST_SCRIPTS/firefox/install_firefox.sh && rm -rf $INST_SCRIPTS/firefo
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
# Security modifications

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -24,7 +24,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -25,7 +25,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel

View File

@ -20,7 +20,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -39,7 +39,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -25,7 +25,6 @@ ENV SKIP_CLEAN=true \
/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"
@ -36,7 +35,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -39,7 +39,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -38,7 +38,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -1,5 +1,5 @@
ARG BASE_TAG="develop"
ARG BASE_IMAGE="core-parrotos-5"
ARG BASE_IMAGE="core-parrotos-6"
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
USER root
@ -15,6 +15,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
INST_DIR=$STARTUPDIR/install \
INST_SCRIPTS="/ubuntu/install/parrot/install_parrot.sh \
/ubuntu/install/chromium/install_chromium.sh \
/ubuntu/install/vs_code/install_vs_code.sh \
/ubuntu/install/firefox/install_firefox.sh \
/ubuntu/install/cleanup/cleanup.sh"
@ -24,7 +25,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -25,7 +25,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

55
dockerfile-kasm-redroid Normal file
View File

@ -0,0 +1,55 @@
ARG BASE_TAG="develop"
ARG BASE_IMAGE="core-ubuntu-jammy"
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
USER root
ENV HOME /home/kasm-default-profile
ENV STARTUPDIR /dockerstartup
WORKDIR $HOME
### Envrionment config
ENV DEBUG=false \
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/dind/install_dind.sh \
/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/redroid/install_redroid.sh \
/ubuntu/install/android_studio/install_android_studio.sh \
/ubuntu/install/cleanup/cleanup.sh"
# Startup Scripts
COPY ./src/ubuntu/install/redroid/custom_startup.sh $STARTUPDIR/custom_startup.sh
RUN chmod 755 $STARTUPDIR/custom_startup.sh
COPY ./src/ubuntu/install/dind/dockerd.conf /etc/supervisor/conf.d/
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
# Copy install scripts
COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \
chown 1000:0 $HOME && \
mkdir -p /home/kasm-user && \
chown -R 1000:0 /home/kasm-user && \
rm -Rf ${INST_DIR}
# Userspace Runtime
ENV HOME /home/kasm-user
WORKDIR $HOME
USER 1000
CMD ["--tail-log"]

View File

@ -25,7 +25,7 @@ RUN chown -R 1000:1000 $HOME/.config/remmina/
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -11,7 +11,7 @@ WORKDIR $HOME
######### Customize Container Here ###########
# Add Background
ADD /src/common/resources/images/bg_remnux.png /usr/share/extra/backgrounds/bg_default.png
ADD /src/common/resources/images/bg_remnux.png /usr/share/backgrounds/bg_default.png
# Install Remnux Utils
COPY ./src/ubuntu/install/remnux $INST_SCRIPTS/remnux/

View File

@ -20,7 +20,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -39,7 +39,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -37,7 +37,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel

View File

@ -24,7 +24,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -15,7 +15,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
KASM_RX_HOME=$STARTUPDIR/kasmrx \
DONT_PROMPT_WSL_INSTALL="No_Prompt_please" \
INST_DIR=$STARTUPDIR/install \
INST_SCRIPTS="/ubuntu/install/tools/install_tools.sh \
INST_SCRIPTS="/ubuntu/install/tools/install_tools_deluxe.sh \
/ubuntu/install/firefox/install_firefox.sh \
/ubuntu/install/spiderfoot/install_spiderfoot.sh \
/ubuntu/install/cleanup/cleanup.sh"
@ -23,7 +23,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
# Copy install scripts
COPY ./src/ $INST_DIR
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
COPY ./src/ubuntu/install/spiderfoot/custom_startup.sh $STARTUPDIR/custom_startup.sh
RUN chmod +x $STARTUPDIR/custom_startup.sh
RUN chmod 755 $STARTUPDIR/custom_startup.sh
@ -31,7 +31,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel

View File

@ -1,5 +1,5 @@
ARG BASE_TAG="develop"
ARG BASE_IMAGE="core-ubuntu-jammy"
ARG BASE_IMAGE="core-ubuntu-focal"
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
USER root
@ -19,7 +19,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel

View File

@ -35,7 +35,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -17,7 +17,7 @@ RUN bash $INST_SCRIPTS/torbrowser/install_torbrowser.sh && rm -rf $INST_SCRIPTS
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
# Security modifications

View File

@ -42,7 +42,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -43,7 +43,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -34,7 +34,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -49,7 +49,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -42,7 +42,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -34,7 +34,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -49,7 +49,7 @@ COPY ./src/ $INST_DIR
# Run installations
RUN \
for SCRIPT in $INST_SCRIPTS; do \
bash ${INST_DIR}${SCRIPT}; \
bash ${INST_DIR}${SCRIPT} || exit 1; \
done && \
$STARTUPDIR/set_user_permission.sh $HOME && \
rm -f /etc/X11/xinit/Xclients && \

View File

@ -17,7 +17,7 @@ RUN bash $INST_SCRIPTS/vivaldi/install_vivaldi.sh && rm -rf $INST_SCRIPTS/vival
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
# Security modifications

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel

View File

@ -20,7 +20,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -23,7 +23,7 @@ RUN bash $INST_SCRIPTS/chrome/install_chrome.sh && rm -rf $INST_SCRIPTS/chrome/
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -21,7 +21,7 @@ RUN chmod 755 $STARTUPDIR/custom_startup.sh
# Update the desktop environment to be optimized for a single application
RUN cp $HOME/.config/xfce4/xfconf/single-application-xfce-perchannel-xml/* $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
RUN cp /usr/share/backgrounds/bg_kasm.png /usr/share/backgrounds/bg_default.png
RUN apt-get remove -y xfce4-panel
######### End Customizations ###########

View File

@ -0,0 +1,7 @@
# About This Image
This Image contains a browser-accessible Alpine 3.19 Desktop with various productivity and development apps installed.
![Screenshot][Image_Screenshot]
[Image_Screenshot]: https://info.kasmweb.com/hubfs/dockerhub/image-screenshots/alpine-317-desktop.png "Image Screenshot"

View File

@ -0,0 +1 @@
Alpine 3.19 desktop for Kasm Workspaces

View File

@ -0,0 +1,7 @@
# About This Image
This Image contains a browser-accessible Fedora 39 Desktop with various productivity and development apps installed.
![Screenshot][Image_Screenshot]
[Image_Screenshot]: https://info.kasmweb.com/hubfs/dockerhub/image-screenshots/fedora-37-desktop.png "Image Screenshot"

View File

@ -0,0 +1,9 @@
# Live Demo
<a href="https://app.kasmweb.com/#/cast/6708319219" target="_blank"><img src="https://info.kasmweb.com/hubfs/dockerhub/GIFs/ubuntu-jammy-desktop.gif" width="640" height="360"></a>
**Launch a real-time demo in a new browser window:** <a href="https://app.kasmweb.com/#/cast/6708319219" target="_blank">Live Demo</a>.
<a href="https://app.kasmweb.com/#/cast/6708319219" target="_blank"><img src="https://5856039.fs1.hubspotusercontent-na1.net/hub/5856039/hubfs/dockerhub/casting-buttons/UbuntuJammyDesktop.png" width="300" height="104"></a>
&lowast;*Note: Demo is limited to 3 minutes and has upload/downloads restricted for security purposes.*

View File

@ -0,0 +1 @@
Fedora 39 desktop for Kasm Workspaces

View File

@ -1 +0,0 @@
Parrot OS 5 desktop for Kasm Workspaces

View File

@ -1,6 +1,6 @@
# About This Image
This Image contains a browser-accessible Parrot OS 5 Desktop with various productivity and development apps installed.
This Image contains a browser-accessible Parrot OS 6 Desktop with various productivity and development apps installed.
![Screenshot][Image_Screenshot]

View File

@ -0,0 +1,9 @@
# Live Demo
<a href="https://app.kasmweb.com/#/cast/6708319219" target="_blank"><img src="https://info.kasmweb.com/hubfs/dockerhub/GIFs/ubuntu-jammy-desktop.gif" width="640" height="360"></a>
**Launch a real-time demo in a new browser window:** <a href="https://app.kasmweb.com/#/cast/6708319219" target="_blank">Live Demo</a>.
<a href="https://app.kasmweb.com/#/cast/6708319219" target="_blank"><img src="https://5856039.fs1.hubspotusercontent-na1.net/hub/5856039/hubfs/dockerhub/casting-buttons/UbuntuJammyDesktop.png" width="300" height="104"></a>
&lowast;*Note: Demo is limited to 3 minutes and has upload/downloads restricted for security purposes.*

View File

@ -0,0 +1 @@
Parrot OS 6 desktop for Kasm Workspaces

58
docs/redroid/README.md Normal file
View File

@ -0,0 +1,58 @@
# About This Image
This experimental image contains a browser-accessible version of [Redroid](https://github.com/remote-android/redroid-doc).
redroid (Remote-Android) is a multi-arch, GPU enabled, Android in Cloud solution.
The image utilizes Docker in Docker (DinD) to automate launching Redroid and [scrcpy docs](https://github.com/Genymobile/scrcpy).
![Screenshot][Image_Screenshot]
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/redroid.png "Image Screenshot"
## Host Dependencies
This image requires the "binder_linux" host level kernel modules installed and enabled.
Below is an example for installing binder_linux on Ubuntu 22.04 LTS host
```
sudo apt install linux-modules-extra-`uname -r`
sudo modprobe binder_linux devices="binder,hwbinder,vndbinder"
```
See [Redroid Docs](https://github.com/remote-android/redroid-doc?tab=readme-ov-file#getting-started) for more details.
## Container Permissions
Using this container requires the `--privileged` flag to power both the Docker in Docker processes and the permissions
needed by the redroid containers
```
sudo docker run --rm -it --privileged --shm-size=512m -p 6901:6901 -e VNC_PW=password kasmweb/redroid:develop
```
## Example for installing binder_linux on Ubuntu 22.04 LTS host
```
sudo apt install linux-modules-extra-`uname -r`
sudo modprobe binder_linux devices="binder,hwbinder,vndbinder"
```
The left ALT key is mapped as the hotkey for scrcpy
- Alt+R - rotate the android device
- Alt+F - fullscreen the android device
- Alt+Up/Alt+Down - Increase the volume of the device
See [scrcpy docs](https://github.com/Genymobile/scrcpy) for more details.
# Environment Variables
* `REDROID_GPU_GUEST_MODE` - Used to instruct redroid to utilize GPU rendering. Options are `auto`, `guest`, and `host`
* `REDROID_FPS` - Set the maximum FPS for redroid and scrcpy.
* `REDROID_WIDTH` - Set the desired width of the redroid device.
* `REDROID_HEIGHT` - Set the desired height of the redroid device.
* `REDROID_DPI` - Set the desired DPI of the redroid device.
* `REDROID_SHOW_CONSOLE` - Display the scrcpy console after launching the redroid device.
* `REDROID_DISABLE_AUTOSTART` - If set to "1", the container will not automatically pull and start the redroid container and scrcpy.
* `REDROID_DISABLE_HOST_CHECKS` - If set to "1", the container will not check for the presence of required host level kernel modules.
* `ANDROID_VERSION` - The version of android (redroid) image to automatically load. Options are `14.0.0`, `13.0.0` (Default), `12.0.0`, `11.0.0`, `10.0.0`, `9.0.0`, `8.1.0`.

9
docs/redroid/demo.txt Normal file
View File

@ -0,0 +1,9 @@
# Live Demo
<a href="https://app.kasmweb.com/#/cast/87592435803135" target="_blank"><img src="https://info.kasmweb.com/hubfs/dockerhub/GIFs/redroid.gif" width="640" height="360"></a>
**Launch a real-time demo in a new browser window:** <a href="https://app.kasmweb.com/#/cast/87592435803135" target="_blank">Live Demo</a>.
<a href="https://app.kasmweb.com/#/cast/87592435803135" target="_blank"><img src="https://5856039.fs1.hubspotusercontent-na1.net/hub/5856039/hubfs/dockerhub/casting-buttons/redroid.png" width="300" height="104"></a>
&lowast;*Note: Demo is limited to 3 minutes and has upload/downloads restricted for security purposes.*

View File

@ -0,0 +1 @@
Redroid (Remote-Android) for Kasm Workspaces

View File

@ -1,5 +1,10 @@
#!/usr/bin/env bash
set -ex
if grep -q v3.19 /etc/os-release; then
apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
opentofu
else
apk add --no-cache \
terraform
fi

View File

@ -6,8 +6,7 @@ zypper install -yn \
terraform-provider-aws \
terraform-provider-azurerm \
terraform-provider-google \
terraform-provider-kubernetes \
terraform-provider-openstack
terraform-provider-kubernetes
if [ -z ${SKIP_CLEAN+x} ]; then
zypper clean --all
fi

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -ex
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37|fedora38) ]]; then
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37|fedora38|fedora39) ]]; then
dnf install -y ansible
if [ -z ${SKIP_CLEAN+x} ]; then
dnf clean all

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -ex
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37|fedora38) ]]; then
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37|fedora38|fedora39) ]]; then
dnf install -y gimp
if [ -z ${SKIP_CLEAN+x} ]; then
dnf clean all

View File

@ -7,7 +7,7 @@ if [ "$ARCH" == "amd64" ] ; then
exit 0
fi
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37|fedora38) ]]; then
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37|fedora38|fedora39) ]]; then
dnf install -y \
libreoffice-core \
libreoffice-writer \

View File

@ -8,7 +8,7 @@ if [ "$ARCH" == "arm64" ] ; then
fi
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|fedora38) ]]; then
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37|fedora38|fedora39) ]]; then
dnf localinstall -y only_office.rpm
if [ -z ${SKIP_CLEAN+x} ]; then
dnf clean all

View File

@ -21,7 +21,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-${version}-0.1.fc21.x86_64.rpm -O slack.rpm
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37|fedora38) ]]; then
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37|fedora38|fedora39) ]]; then
dnf localinstall -y slack.rpm
if [ -z ${SKIP_CLEAN+x} ]; then
dnf clean all

View File

@ -8,7 +8,7 @@ fi
rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37|fedora38) ]]; then
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37|fedora38|fedora39) ]]; then
dnf config-manager --add-repo https://download.sublimetext.com/rpm/stable/$(arch)/sublime-text.repo
dnf install -y sublime-text
if [ -z ${SKIP_CLEAN+x} ]; then

View File

@ -14,7 +14,7 @@ if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almali
if [ -z ${SKIP_CLEAN+x} ]; then
dnf clean all
fi
elif [[ "${DISTRO}" == @(fedora37|fedora38) ]]; then
elif [[ "${DISTRO}" == @(fedora37|fedora38|fedora39) ]]; then
dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
dnf install -y terraform
if [ -z ${SKIP_CLEAN+x} ]; then

View File

@ -3,11 +3,11 @@ set -ex
ARCH=$(arch | sed 's/aarch64/arm64/g' | sed 's/x86_64/x64/g')
wget -q https://update.code.visualstudio.com/latest/linux-rpm-${ARCH}/stable -O vs_code.rpm
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37|fedora38) ]]; then
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37|fedora38|fedora39) ]]; then
wget -q https://update.code.visualstudio.com/latest/linux-rpm-${ARCH}/stable -O vs_code.rpm
dnf localinstall -y vs_code.rpm
else
wget -q https://packages.microsoft.com/yumrepos/vscode/code-1.65.2-1646927812.el7.x86_64.rpm -O vs_code.rpm
wget -q https://packages.microsoft.com/yumrepos/vscode/code-1.85.1-1702462241.el7.x86_64.rpm -O vs_code.rpm
yum localinstall -y vs_code.rpm
fi
mkdir -p /usr/share/icons/hicolor/apps
@ -20,7 +20,7 @@ chown 1000:1000 $HOME/Desktop/code.desktop
rm vs_code.rpm
# Conveniences for python development
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37|fedora38) ]]; then
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37|fedora38|fedora39) ]]; then
dnf install -y python3-setuptools python3-virtualenv
if [ -z ${SKIP_CLEAN+x} ]; then
dnf clean all

Some files were not shown because too many files have changed in this diff Show More