mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2024-11-21 23:53:10 +01:00
Initial Commit
This commit is contained in:
commit
4c2c5ce48a
100
.gitlab-ci.yml
Normal file
100
.gitlab-ci.yml
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
image: docker
|
||||||
|
services:
|
||||||
|
- docker:dind
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- readme
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
|
||||||
|
- export SANITIZED_BRANCH="$(echo $CI_COMMIT_REF_NAME | sed -r 's#^release/##' | sed 's/\//_/g')"
|
||||||
|
- export SANITIZED_ROLLING_BRANCH=${SANITIZED_BRANCH}-rolling
|
||||||
|
|
||||||
|
# Jobs for the develop and release branches. They should push to the private and public repos
|
||||||
|
build:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
# Ensure readme and description files are present
|
||||||
|
- ls docs/$KASM_IMAGE/README.md
|
||||||
|
- ls docs/$KASM_IMAGE/description.txt
|
||||||
|
|
||||||
|
- docker build -t ${ORG_NAME}/$KASM_IMAGE:$SANITIZED_BRANCH -t ${ORG_NAME}/$KASM_IMAGE:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/$KASM_IMAGE-private:$SANITIZED_BRANCH -t ${ORG_NAME}/$KASM_IMAGE-private:$SANITIZED_ROLLING_BRANCH -f dockerfile-kasm-$KASM_IMAGE --build-arg BASE_TAG="develop" .
|
||||||
|
|
||||||
|
- docker push ${ORG_NAME}/$KASM_IMAGE:$SANITIZED_BRANCH
|
||||||
|
- docker push ${ORG_NAME}/$KASM_IMAGE:$SANITIZED_ROLLING_BRANCH
|
||||||
|
- docker push ${ORG_NAME}/$KASM_IMAGE-private:$SANITIZED_BRANCH
|
||||||
|
- docker push ${ORG_NAME}/$KASM_IMAGE-private:$SANITIZED_ROLLING_BRANCH
|
||||||
|
|
||||||
|
only:
|
||||||
|
- develop
|
||||||
|
- /^release\/.*$/
|
||||||
|
except:
|
||||||
|
- schedules
|
||||||
|
|
||||||
|
parallel:
|
||||||
|
matrix:
|
||||||
|
- KASM_IMAGE: [chrome, firefox, desktop, desktop-deluxe, firefox-mobile, tor-browser, doom, edge, terminal, vmware-horizon, remmina, rdesktop, brave, discord, sublime-text, gimp, vs-code, slack, teams, only-office, zoom, signal, steam, postman, insomnia, zsnes, vlc, ubuntu-bionic-desktop, maltego, centos-7-desktop ]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# These jobs should run on the feature/bugfix branches - anything that is not the develop or release branches. It should only push images to the private repos
|
||||||
|
|
||||||
|
build_dev:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
# Ensure readme and description files are present
|
||||||
|
- ls docs/$KASM_IMAGE/README.md
|
||||||
|
- ls docs/$KASM_IMAGE/description.txt
|
||||||
|
|
||||||
|
- docker build -t ${ORG_NAME}/$KASM_IMAGE-private:$SANITIZED_BRANCH -f dockerfile-kasm-$KASM_IMAGE --build-arg BASE_TAG="develop" .
|
||||||
|
|
||||||
|
- docker push ${ORG_NAME}/$KASM_IMAGE-private:$SANITIZED_BRANCH
|
||||||
|
except:
|
||||||
|
- develop
|
||||||
|
- /^release\/.*$/
|
||||||
|
parallel:
|
||||||
|
matrix:
|
||||||
|
- KASM_IMAGE: [chrome, firefox, desktop, desktop-deluxe, firefox-mobile, tor-browser, doom, edge, terminal, vmware-horizon, remmina, rdesktop, brave, discord, sublime-text, gimp, vs-code, slack, teams, only-office, zoom, signal, steam, postman, insomnia, zsnes, vlc, ubuntu-bionic-desktop, maltego, centos-7-desktop ]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# These jobs are for the "rolling" release of the images. They should only run for scheduled jobs and should only push the rolling tags
|
||||||
|
build_schedules:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
# Ensure readme and description files are present
|
||||||
|
- ls docs/$KASM_IMAGE/README.md
|
||||||
|
- ls docs/$KASM_IMAGE/description.txt
|
||||||
|
|
||||||
|
- docker build -t ${ORG_NAME}/$KASM_IMAGE:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/$KASM_IMAGE-private:$SANITIZED_ROLLING_BRANCH -f dockerfile-kasm-$KASM_IMAGE --build-arg BASE_TAG="$SANITIZED_ROLLING_BRANCH" .
|
||||||
|
|
||||||
|
- docker push ${ORG_NAME}/$KASM_IMAGE:$SANITIZED_ROLLING_BRANCH
|
||||||
|
- docker push ${ORG_NAME}/$KASM_IMAGE-private:$SANITIZED_ROLLING_BRANCH
|
||||||
|
only:
|
||||||
|
- schedules
|
||||||
|
parallel:
|
||||||
|
matrix:
|
||||||
|
- KASM_IMAGE: [chrome, firefox, desktop, desktop-deluxe, firefox-mobile, tor-browser, doom, edge, terminal, vmware-horizon, remmina, rdesktop, brave, discord, sublime-text, gimp, vs-code, slack, teams, only-office, zoom, signal, steam, postman, insomnia, zsnes, vlc, ubuntu-bionic-desktop, maltego, centos-7-desktop ]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
update_readmes:
|
||||||
|
stage: readme
|
||||||
|
script:
|
||||||
|
- apk add git
|
||||||
|
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@${README_TEMPLATE_REPO}
|
||||||
|
- sed -e "/{about}/r docs/$KASM_IMAGE/README.md" -e "/{about}/d" dockerhub-readme-template/TEMPLATE.md > docs/$KASM_IMAGE/FULL_README.md
|
||||||
|
- cat docs/$KASM_IMAGE/FULL_README.md
|
||||||
|
- docker run -v $PWD:/workspace -e DOCKER_USERNAME="$README_USERNAME" -e DOCKER_PASSWORD="$README_PASSWORD" -e DOCKERHUB_REPOSITORY="${ORG_NAME}/$KASM_IMAGE-private" -e README_FILEPATH="/workspace/docs/$KASM_IMAGE/FULL_README.md" -e DESCRIPTION_FILEPATH="/workspace/docs/$KASM_IMAGE/description.txt" kasmweb/dockerhub-updater:latest
|
||||||
|
- docker run -v $PWD:/workspace -e DOCKER_USERNAME="$README_USERNAME" -e DOCKER_PASSWORD="$README_PASSWORD" -e DOCKERHUB_REPOSITORY="${ORG_NAME}/$KASM_IMAGE" -e README_FILEPATH="/workspace/docs/$KASM_IMAGE/FULL_README.md" -e DESCRIPTION_FILEPATH="/workspace/docs/$KASM_IMAGE/description.txt" kasmweb/dockerhub-updater:latest
|
||||||
|
|
||||||
|
only:
|
||||||
|
variables:
|
||||||
|
- $README_USERNAME
|
||||||
|
- $README_PASSWORD
|
||||||
|
parallel:
|
||||||
|
matrix:
|
||||||
|
- KASM_IMAGE: [chrome, firefox, desktop, desktop-deluxe, firefox-mobile, tor-browser, doom, edge, terminal, vmware-horizon, remmina, rdesktop, brave, discord, sublime-text, gimp, vs-code, slack, teams, only-office, zoom, signal, steam, postman, insomnia, zsnes, vlc, ubuntu-bionic-desktop, maltego, centos-7-desktop ]
|
||||||
|
|
44
README.md
Normal file
44
README.md
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
![Logo][logo]
|
||||||
|
# Workspaces Images
|
||||||
|
This repository contains several example of desktop and application Workspaces images.
|
||||||
|
Administrators may leverage these images directly or use them as a starting point for their own custom images.
|
||||||
|
Each of these images is based off one of the [**Workspaces Core Images**](https://github.com/kasmtech/workspaces-core-images?utm_campaign=Github&utm_source=github) which contain the necessary wiring to work within the Kasm Workspaces platform.
|
||||||
|
|
||||||
|
|
||||||
|
For more information about building custom images please review the [**How To Guide**](https://kasmweb.com/docs/latest/how_to/building_images.html?utm_campaign=Github&utm_source=github)
|
||||||
|
|
||||||
|
The Kasm team publishes applications and desktop images for use inside the platform. More information, including source can be found in the [**Default Images List**](https://kasmweb.com/docs/latest/guide/custom_images.html?utm_campaign=Github&utm_source=github)
|
||||||
|
|
||||||
|
|
||||||
|
# Manual Deployment
|
||||||
|
|
||||||
|
To build the provided images:
|
||||||
|
|
||||||
|
sudo docker build -t kasmweb/firefox:dev -f dockerfile-kasm-firefox .
|
||||||
|
|
||||||
|
|
||||||
|
While these image are primarily built to run inside the Workspaces platform, they can also be executed manually. Please note that certain functionality, such as audio, uploads, downloads, and microphone pass-through are only available within the Kasm platform.
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo docker run --rm -it --shm-size=512m -p 6901:6901 -e VNC_PW=password kasmweb/firefox:dev
|
||||||
|
```
|
||||||
|
|
||||||
|
The container is now accessible via a browser : `https://<IP>:6901`
|
||||||
|
|
||||||
|
- **User** : `kasm_user`
|
||||||
|
- **Password**: `password`
|
||||||
|
|
||||||
|
|
||||||
|
# About Workspaces
|
||||||
|
Kasm Workspaces is a docker container streaming platform that enables you to deliver browser-based access to desktops, applications, and web services. Kasm uses a modern DevOps approach for programmatic delivery of services via Containerized Desktop Infrastructure (CDI) technology to create on-demand, disposable, docker containers that are accessible via web browser. The rendering of the graphical-based containers is powered by the open-source project [**KasmVNC**](https://github.com/kasmtech/KasmVNC?utm_campaign=Github&utm_source=github)
|
||||||
|
|
||||||
|
![Screenshot][Kasm_Workflow]
|
||||||
|
|
||||||
|
Kasm Workspaces was developed to meet the most demanding secure collaboration requirements that is highly scalable, customizable, and easy to maintain. Most importantly, Kasm provides a solution, rather than a service, so it is infinitely customizable to your unique requirements and includes a developer API so that it can be integrated with, rather than replace, your existing applications and workflows. Kasm can be deployed in the cloud (Public or Private), on-premise (Including Air-Gapped Networks), or in a hybrid configuration.
|
||||||
|
|
||||||
|
# Live Demo
|
||||||
|
A self-guided on-demand demo is available at [**kasmweb.com**](https://www.kasmweb.com/demo.html?utm_campaign=Github&utm_source=github)
|
||||||
|
|
||||||
|
|
||||||
|
[logo]: https://cdn2.hubspot.net/hubfs/5856039/dockerhub/kasm_logo.png "Kasm Logo"
|
||||||
|
[Kasm_Workflow]: https://cdn2.hubspot.net/hubfs/5856039/dockerhub/kasm_workflow_1440.gif "Kasm Workflow"
|
38
dockerfile-kasm-brave
Normal file
38
dockerfile-kasm-brave
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
# Install Brave
|
||||||
|
COPY ./src/ubuntu/install/brave $INST_SCRIPTS/brave/
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
# Setup the custom startup script that will be invoked when the container starts
|
||||||
|
ENV LAUNCH_URL http://kasmweb.com
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/brave/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
||||||
|
|
37
dockerfile-kasm-centos-7-desktop
Normal file
37
dockerfile-kasm-centos-7-desktop
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-centos-7-private:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV DISTRO=centos
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
# 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/
|
||||||
|
|
||||||
|
# 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/
|
||||||
|
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
RUN "$STARTUPDIR/set_user_permission.sh" $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
43
dockerfile-kasm-chrome
Normal file
43
dockerfile-kasm-chrome
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
# Install Google Chrome
|
||||||
|
COPY ./src/ubuntu/install/chrome $INST_SCRIPTS/chrome/
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
# Setup the custom startup script that will be invoked when the container starts
|
||||||
|
ENV LAUNCH_URL http://kasmweb.com
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/chrome/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
|
||||||
|
# Install Custom Certificate Authority
|
||||||
|
# COPY ./src/ubuntu/install/certificates $INST_SCRIPTS/certificates/
|
||||||
|
# RUN bash $INST_SCRIPTS/certificates/install_ca_cert.sh && rm -rf $INST_SCRIPTS/certificates/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
41
dockerfile-kasm-chrome-flash
Normal file
41
dockerfile-kasm-chrome-flash
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
# Install Google Chrome
|
||||||
|
COPY ./src/ubuntu/install/chrome $INST_SCRIPTS/chrome/
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
# Setup the custom startup script that will be invoked when the container starts
|
||||||
|
ENV LAUNCH_URL http://kasmweb.com
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/chrome/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/chrome_flash $INST_SCRIPTS/chrome_flash/
|
||||||
|
RUN bash $INST_SCRIPTS/chrome_flash/install_flash.sh && rm -rf $INST_SCRIPTS/chrome_flash/
|
||||||
|
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
45
dockerfile-kasm-desktop
Normal file
45
dockerfile-kasm-desktop
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
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/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
|
||||||
|
|
||||||
|
# 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/
|
||||||
|
|
||||||
|
# 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 Custom Certificate Authority
|
||||||
|
# COPY ./src/ubuntu/install/certificates $INST_SCRIPTS/certificates/
|
||||||
|
# RUN bash $INST_SCRIPTS/certificates/install_ca_cert.sh && rm -rf $INST_SCRIPTS/certificates/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
107
dockerfile-kasm-desktop-deluxe
Normal file
107
dockerfile-kasm-desktop-deluxe
Normal file
@ -0,0 +1,107 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
# Add Kasm Branding
|
||||||
|
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/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
|
||||||
|
|
||||||
|
### 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/
|
||||||
|
|
||||||
|
# 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 Slack
|
||||||
|
COPY ./src/ubuntu/install/slack $INST_SCRIPTS/slack/
|
||||||
|
RUN bash $INST_SCRIPTS/slack/install_slack.sh && rm -rf $INST_SCRIPTS/slack/
|
||||||
|
|
||||||
|
|
||||||
|
### 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 Teams
|
||||||
|
COPY ./src/ubuntu/install/teams $INST_SCRIPTS/teams/
|
||||||
|
RUN bash $INST_SCRIPTS/teams/install_teams.sh && rm -rf $INST_SCRIPTS/teams/
|
||||||
|
|
||||||
|
### 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/
|
||||||
|
|
||||||
|
### Remove maxmius
|
||||||
|
RUN apt-get remove -y maximus
|
||||||
|
|
||||||
|
#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"]
|
35
dockerfile-kasm-discord
Normal file
35
dockerfile-kasm-discord
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/discord $INST_SCRIPTS/discord/
|
||||||
|
RUN bash $INST_SCRIPTS/discord/install_discord.sh && rm -rf $INST_SCRIPTS/discord/
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/discord/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
33
dockerfile-kasm-doom
Normal file
33
dockerfile-kasm-doom
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/doom $INST_SCRIPTS/doom/
|
||||||
|
RUN bash $INST_SCRIPTS/doom/install_doom.sh && rm -rf $INST_SCRIPTS/doom/
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/doom/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
37
dockerfile-kasm-edge
Normal file
37
dockerfile-kasm-edge
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
# Install Microsoft Edge
|
||||||
|
COPY ./src/ubuntu/install/edge $INST_SCRIPTS/edge/
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
# Setup the custom startup script that will be invoked when the container starts
|
||||||
|
ENV LAUNCH_URL http://kasmweb.com
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/edge/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
42
dockerfile-kasm-firefox
Normal file
42
dockerfile-kasm-firefox
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
# 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/
|
||||||
|
|
||||||
|
# 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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
ENV LAUNCH_URL http://kasmweb.com
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/firefox/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
|
||||||
|
# Install Custom Certificate Authority
|
||||||
|
# COPY ./src/ubuntu/install/certificates $INST_SCRIPTS/certificates/
|
||||||
|
# RUN bash $INST_SCRIPTS/certificates/install_ca_cert.sh && rm -rf $INST_SCRIPTS/certificates/
|
||||||
|
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
39
dockerfile-kasm-firefox-flash
Normal file
39
dockerfile-kasm-firefox-flash
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
# 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/
|
||||||
|
|
||||||
|
# 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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
ENV LAUNCH_URL http://kasmweb.com
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/firefox/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/firefox_flash $INST_SCRIPTS/firefox_flash/
|
||||||
|
RUN bash $INST_SCRIPTS/firefox_flash/install_flash.sh && rm -rf $INST_SCRIPTS/firefox_flash/
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
53
dockerfile-kasm-firefox-mobile
Normal file
53
dockerfile-kasm-firefox-mobile
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
|
||||||
|
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 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/
|
||||||
|
|
||||||
|
# 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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
### Configure Firefox Mobile Settings
|
||||||
|
COPY ./src/ubuntu/install/firefox_mobile $INST_SCRIPTS/firefox_mobile/
|
||||||
|
RUN bash $INST_SCRIPTS/firefox_mobile/configure_firefox_mobile.sh && rm -rf $INST_SCRIPTS/firefox_mobile/
|
||||||
|
|
||||||
|
|
||||||
|
### Configure Mobile Settings
|
||||||
|
COPY ./src/ubuntu/install/mobile $INST_SCRIPTS/mobile/
|
||||||
|
RUN bash $INST_SCRIPTS/mobile/configure_mobile.sh && rm -rf $INST_SCRIPTS/mobile/
|
||||||
|
|
||||||
|
|
||||||
|
# Setup the custom startup script that will be invoked when the container starts
|
||||||
|
ENV LAUNCH_URL http://kasmweb.com
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/firefox_mobile/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
34
dockerfile-kasm-gimp
Normal file
34
dockerfile-kasm-gimp
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/gimp $INST_SCRIPTS/gimp/
|
||||||
|
RUN bash $INST_SCRIPTS/gimp/install_gimp.sh && rm -rf $INST_SCRIPTS/gimp/
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/gimp/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
34
dockerfile-kasm-insomnia
Normal file
34
dockerfile-kasm-insomnia
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/insomnia $INST_SCRIPTS/insomnia/
|
||||||
|
RUN bash $INST_SCRIPTS/insomnia/install_insomnia.sh && rm -rf $INST_SCRIPTS/insomnia/
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/insomnia/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
35
dockerfile-kasm-maltego
Normal file
35
dockerfile-kasm-maltego
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/maltego $INST_SCRIPTS/maltego/
|
||||||
|
RUN bash $INST_SCRIPTS/maltego/install_maltego.sh && rm -rf $INST_SCRIPTS/maltego/
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/maltego/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
34
dockerfile-kasm-only-office
Normal file
34
dockerfile-kasm-only-office
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
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/
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/only_office/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
35
dockerfile-kasm-postman
Normal file
35
dockerfile-kasm-postman
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/postman $INST_SCRIPTS/postman/
|
||||||
|
RUN bash $INST_SCRIPTS/postman/install_postman.sh && rm -rf $INST_SCRIPTS/postman/
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/postman/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
33
dockerfile-kasm-rdesktop
Normal file
33
dockerfile-kasm-rdesktop
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/rdesktop $INST_SCRIPTS/rdesktop/
|
||||||
|
RUN bash $INST_SCRIPTS/rdesktop/install_rdesktop.sh && rm -rf $INST_SCRIPTS/rdesktop/
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/rdesktop/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
38
dockerfile-kasm-remmina
Normal file
38
dockerfile-kasm-remmina
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/remmina $INST_SCRIPTS/remmina/
|
||||||
|
RUN bash $INST_SCRIPTS/remmina/install_remmina.sh && rm -rf $INST_SCRIPTS/remmina/
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/remmina/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod 755 $STARTUPDIR/custom_startup.sh
|
||||||
|
|
||||||
|
RUN mkdir $HOME/.config/remmina/
|
||||||
|
COPY ./src/ubuntu/install/remmina/remmina.pref $HOME/.config/remmina/remmina.pref
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
35
dockerfile-kasm-signal
Normal file
35
dockerfile-kasm-signal
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/signal $INST_SCRIPTS/signal/
|
||||||
|
RUN bash $INST_SCRIPTS/signal/install_signal.sh && rm -rf $INST_SCRIPTS/signal/
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/signal/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
37
dockerfile-kasm-slack
Normal file
37
dockerfile-kasm-slack
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
# Install Google Chrome
|
||||||
|
COPY ./src/ubuntu/install/chrome $INST_SCRIPTS/chrome/
|
||||||
|
RUN bash $INST_SCRIPTS/chrome/install_chrome.sh && rm -rf $INST_SCRIPTS/chrome/
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/slack $INST_SCRIPTS/slack/
|
||||||
|
RUN bash $INST_SCRIPTS/slack/install_slack.sh && rm -rf $INST_SCRIPTS/slack/
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/slack/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
34
dockerfile-kasm-steam
Normal file
34
dockerfile-kasm-steam
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/steam $INST_SCRIPTS/steam/
|
||||||
|
RUN bash $INST_SCRIPTS/steam/install_steam.sh && rm -rf $INST_SCRIPTS/steam/
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/steam/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
35
dockerfile-kasm-sublime-text
Normal file
35
dockerfile-kasm-sublime-text
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
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/
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/sublime_text/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
35
dockerfile-kasm-teams
Normal file
35
dockerfile-kasm-teams
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/teams $INST_SCRIPTS/teams/
|
||||||
|
RUN bash $INST_SCRIPTS/teams/install_teams.sh && rm -rf $INST_SCRIPTS/teams/
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/teams/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
43
dockerfile-kasm-terminal
Normal file
43
dockerfile-kasm-terminal
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y tmux screen nano dnsutils zip
|
||||||
|
|
||||||
|
RUN echo "set -g mouse on" > $HOME/.tmux.conf && chown 1000:1000 $HOME/.tmux.conf
|
||||||
|
|
||||||
|
### 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/
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/terminal/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
58
dockerfile-kasm-tor-browser
Normal file
58
dockerfile-kasm-tor-browser
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
# Install Tor Browser
|
||||||
|
COPY ./src/ubuntu/install/torbrowser $INST_SCRIPTS/torbrowser/
|
||||||
|
RUN bash $INST_SCRIPTS/torbrowser/install_torbrowser.sh && rm -rf $INST_SCRIPTS/torbrowser/
|
||||||
|
|
||||||
|
# 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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
# Setup the custom startup script that will be invoked when the container starts
|
||||||
|
ENV LAUNCH_URL about:blank
|
||||||
|
RUN echo $' \n\
|
||||||
|
set -x \n\
|
||||||
|
FORCE=$2 \n\
|
||||||
|
URL=${1:-$LAUNCH_URL} \n\
|
||||||
|
if [ -n "$URL" ] && ( [ -z "$DISABLE_CUSTOM_STARTUP" ] || [ -n "$FORCE" ] ) ; then \n\
|
||||||
|
if [ -f /tmp/custom_startup.lck ] ; then \n\
|
||||||
|
echo "custom_startup already running!" \n\
|
||||||
|
exit 1 \n\
|
||||||
|
fi \n\
|
||||||
|
touch /tmp/custom_startup.lck \n\
|
||||||
|
while true \n\
|
||||||
|
do \n\
|
||||||
|
if ! pgrep firefox > /dev/null \n\
|
||||||
|
then \n\
|
||||||
|
/usr/bin/desktop_ready \n\
|
||||||
|
/tmp/tor-browser_en-US/Browser/start-tor-browser --detach --allow-remote --new-tab $URL \n\
|
||||||
|
fi \n\
|
||||||
|
sleep 1 \n\
|
||||||
|
done \n\
|
||||||
|
rm /tmp/custom_startup.lck \n\
|
||||||
|
fi \n\
|
||||||
|
' >$STARTUPDIR/custom_startup.sh
|
||||||
|
|
||||||
|
# Ensure the startup script is executable
|
||||||
|
RUN chmod 755 $STARTUPDIR/custom_startup.sh
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
103
dockerfile-kasm-ubuntu-bionic-desktop
Normal file
103
dockerfile-kasm-ubuntu-bionic-desktop
Normal file
@ -0,0 +1,103 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
|
||||||
|
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/
|
||||||
|
|
||||||
|
# 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 Slack
|
||||||
|
COPY ./src/ubuntu/install/slack $INST_SCRIPTS/slack/
|
||||||
|
RUN bash $INST_SCRIPTS/slack/install_slack.sh && rm -rf $INST_SCRIPTS/slack/
|
||||||
|
|
||||||
|
|
||||||
|
### 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 Teams
|
||||||
|
COPY ./src/ubuntu/install/teams $INST_SCRIPTS/teams/
|
||||||
|
RUN bash $INST_SCRIPTS/teams/install_teams.sh && rm -rf $INST_SCRIPTS/teams/
|
||||||
|
|
||||||
|
### 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/
|
||||||
|
|
||||||
|
### Remove maxmius
|
||||||
|
RUN apt-get remove -y maximus
|
||||||
|
|
||||||
|
#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"]
|
35
dockerfile-kasm-vlc
Normal file
35
dockerfile-kasm-vlc
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/vlc $INST_SCRIPTS/vlc/
|
||||||
|
RUN bash $INST_SCRIPTS/vlc/install_vlc.sh && rm -rf $INST_SCRIPTS/vlc/
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/vlc/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
33
dockerfile-kasm-vmware-horizon
Normal file
33
dockerfile-kasm-vmware-horizon
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/horizon $INST_SCRIPTS/horizon/
|
||||||
|
RUN bash $INST_SCRIPTS/horizon/install_horizons.sh && rm -rf $INST_SCRIPTS/horizon/
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/horizon/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
34
dockerfile-kasm-vs-code
Normal file
34
dockerfile-kasm-vs-code
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
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/
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/vs_code/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
35
dockerfile-kasm-zoom
Normal file
35
dockerfile-kasm-zoom
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/zoom $INST_SCRIPTS/zoom/
|
||||||
|
RUN bash $INST_SCRIPTS/zoom/install_zoom.sh && rm -rf $INST_SCRIPTS/zoom/
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/zoom/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
34
dockerfile-kasm-zsnes
Normal file
34
dockerfile-kasm-zsnes
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
ARG BASE_TAG="develop"
|
||||||
|
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-default-profile
|
||||||
|
ENV STARTUPDIR /dockerstartup
|
||||||
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
|
WORKDIR $HOME
|
||||||
|
|
||||||
|
######### Customize Container Here ###########
|
||||||
|
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/zsnes $INST_SCRIPTS/zsnes/
|
||||||
|
RUN bash $INST_SCRIPTS/zsnes/install_zsnes.sh && rm -rf $INST_SCRIPTS/zsnes/
|
||||||
|
|
||||||
|
COPY ./src/ubuntu/install/zsnes/custom_startup.sh $STARTUPDIR/custom_startup.sh
|
||||||
|
RUN chmod +x $STARTUPDIR/custom_startup.sh
|
||||||
|
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 apt-get remove -y xfce4-panel
|
||||||
|
|
||||||
|
######### End Customizations ###########
|
||||||
|
|
||||||
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
|
ENV HOME /home/kasm-user
|
||||||
|
WORKDIR $HOME
|
||||||
|
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||||
|
|
||||||
|
USER 1000
|
12
docs/brave/README.md
Normal file
12
docs/brave/README.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [Brave](https://brave.com/).
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/brave.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `LAUNCH_URL` - The default URL the browser launches to when created.
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the browser when launched.
|
1
docs/brave/description.txt
Normal file
1
docs/brave/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Brave browser for Kasm Workspaces
|
7
docs/centos-7-desktop/README.md
Normal file
7
docs/centos-7-desktop/README.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible CentOS 7 XFCE Desktop with Chrome and Firefox installed..
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/centos-7-desktop.png "Image Screenshot"
|
1
docs/centos-7-desktop/description.txt
Normal file
1
docs/centos-7-desktop/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
CentOS 7 desktop for Kasm Workspaces
|
12
docs/chrome/README.md
Normal file
12
docs/chrome/README.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [Google Chrome](https://www.google.com/chrome/).
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/chrome.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `LAUNCH_URL` - The default URL the browser launches to when created.
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the browser when launched.
|
1
docs/chrome/description.txt
Normal file
1
docs/chrome/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Google Chrome for Kasm Workspaces
|
7
docs/desktop-deluxe/README.md
Normal file
7
docs/desktop-deluxe/README.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible Ubuntu Bionic Desktop with various productivity and development apps installed.
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/desktop-deluxe.png "Image Screenshot"
|
1
docs/desktop-deluxe/description.txt
Normal file
1
docs/desktop-deluxe/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Ubuntu productivity desktop for Kasm Workspaces
|
7
docs/desktop/README.md
Normal file
7
docs/desktop/README.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible Ubuntu Bionic Desktop with Chrome and Firefox installed.
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/desktop.png "Image Screenshot"
|
1
docs/desktop/description.txt
Normal file
1
docs/desktop/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Ubuntu desktop for Kasm Workspaces
|
11
docs/discord/README.md
Normal file
11
docs/discord/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of the [Discord](https://discord.com/) app.
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/discord.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the application when launched.
|
1
docs/discord/description.txt
Normal file
1
docs/discord/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Discord for Kasm Workspaces
|
11
docs/doom/README.md
Normal file
11
docs/doom/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [Chocolate Doom](https://www.chocolate-doom.org/).
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/doom.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the application when launched.
|
1
docs/doom/description.txt
Normal file
1
docs/doom/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Doom for Kasm Workspaces
|
12
docs/edge/README.md
Normal file
12
docs/edge/README.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [Microsoft Edge Insider Preview](https://www.microsoftedgeinsider.com/en-us/download?platform=linux-deb).
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/edge.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `LAUNCH_URL` - The default URL the browser launches to when created.
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the browser when launched.
|
1
docs/edge/description.txt
Normal file
1
docs/edge/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Microsoft Edge Insider Preview for Kasm Workspaces
|
13
docs/firefox-mobile/README.md
Normal file
13
docs/firefox-mobile/README.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This experimental Image contains a browser-accessible version of [Firefox](https://www.mozilla.org/) tailed for mobile screens.
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/firefox-mobile.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `LAUNCH_URL` - The default URL the browser launches to when created.
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the browser when launched.
|
||||||
|
|
1
docs/firefox-mobile/description.txt
Normal file
1
docs/firefox-mobile/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Firefox browser for Kasm Workspaces
|
12
docs/firefox/README.md
Normal file
12
docs/firefox/README.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [Mozilla Firefox](https://www.mozilla.org/).
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/firefox.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `LAUNCH_URL` - The default URL the browser launches to when created.
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the browser when launched.
|
1
docs/firefox/description.txt
Normal file
1
docs/firefox/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Mozilla Firefox for Kasm Workspaces
|
11
docs/gimp/README.md
Normal file
11
docs/gimp/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [GIMP](https://www.gimp.org/).
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/gimp.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the application when launched.
|
1
docs/gimp/description.txt
Normal file
1
docs/gimp/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
GIMP for Kasm Workspaces
|
11
docs/insomnia/README.md
Normal file
11
docs/insomnia/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [Insomnia](https://insomnia.rest/).
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/insomnia.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the application when launched.
|
1
docs/insomnia/description.txt
Normal file
1
docs/insomnia/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Insomnia for Kasm Workspaces
|
11
docs/maltego/README.md
Normal file
11
docs/maltego/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [Maltego](https://www.maltego.com/).
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/maltego.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the application when launched.
|
1
docs/maltego/description.txt
Normal file
1
docs/maltego/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Maltego for Kasm Workspaces
|
11
docs/only-office/README.md
Normal file
11
docs/only-office/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [OnlyOffice](https://www.onlyoffice.com/).
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/only-office.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the application when launched.
|
1
docs/only-office/description.txt
Normal file
1
docs/only-office/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
OnlyOffice for Kasm Workspaces
|
11
docs/postman/README.md
Normal file
11
docs/postman/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [Postman](https://www.postman.com/).
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/postman.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the application when launched.
|
1
docs/postman/description.txt
Normal file
1
docs/postman/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Postman for Kasm Workspaces
|
13
docs/rdesktop/README.md
Normal file
13
docs/rdesktop/README.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [rdesktop](http://www.rdesktop.org/).
|
||||||
|
|
||||||
|
Utilize the `APP_ARGS` environment variable to specify the server and additional connection properties to have rdesktop automatically connect with the container starts.
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/rdesktop.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the application when launched.
|
1
docs/rdesktop/description.txt
Normal file
1
docs/rdesktop/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
rdesktop for Kasm Workspaces
|
11
docs/remmina/README.md
Normal file
11
docs/remmina/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [Remmina](https://remmina.org/).
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/remmina.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the application when launched.
|
1
docs/remmina/description.txt
Normal file
1
docs/remmina/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Remmina for Kasm Workspaces
|
11
docs/signal/README.md
Normal file
11
docs/signal/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [Signal](https://signal.org/).
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/signal.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the application when launched.
|
1
docs/signal/description.txt
Normal file
1
docs/signal/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Signal for Kasm Workspaces
|
11
docs/slack/README.md
Normal file
11
docs/slack/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [Slack](https://slack.com/).
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/slack.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the application when launched.
|
1
docs/slack/description.txt
Normal file
1
docs/slack/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Slack for Kasm Workspaces
|
11
docs/steam/README.md
Normal file
11
docs/steam/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [Steam](https://store.steampowered.com/).
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/steam.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the application when launched.
|
1
docs/steam/description.txt
Normal file
1
docs/steam/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Steam for Kasm Workspaces
|
11
docs/sublime-text/README.md
Normal file
11
docs/sublime-text/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [Sublime Text](https://www.sublimetext.com/).
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/sublime-text.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the application when launched.
|
1
docs/sublime-text/description.txt
Normal file
1
docs/sublime-text/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Sublime Text for Kasm Workspaces
|
11
docs/teams/README.md
Normal file
11
docs/teams/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [Microsoft Teams](https://www.microsoft.com/en-us/microsoft-teams/group-chat-software).
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/teams.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the application when launched.
|
1
docs/teams/description.txt
Normal file
1
docs/teams/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Steam for Kasm Workspaces
|
11
docs/terminal/README.md
Normal file
11
docs/terminal/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [xfce4-terminal](https://docs.xfce.org/apps/terminal/start).
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/terminal.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the application when launched.
|
1
docs/terminal/description.txt
Normal file
1
docs/terminal/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
xfce4-terminal for Kasm Workspaces
|
11
docs/tor-browser/README.md
Normal file
11
docs/tor-browser/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [Tor Browser](https://www.torproject.org/).
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/tor-browser.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the application when launched.
|
1
docs/tor-browser/description.txt
Normal file
1
docs/tor-browser/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Tor Browser for Kasm Workspaces
|
7
docs/ubuntu-bionic-desktop/README.md
Normal file
7
docs/ubuntu-bionic-desktop/README.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible Ubuntu Bionic Desktop with various productivity and development apps installed.
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/ubuntu-bionic-desktop.png "Image Screenshot"
|
1
docs/ubuntu-bionic-desktop/description.txt
Normal file
1
docs/ubuntu-bionic-desktop/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Ubuntu productivity desktop for Kasm Workspaces
|
11
docs/vlc/README.md
Normal file
11
docs/vlc/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [VLC](https://www.videolan.org/).
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/vlc.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the application when launched.
|
1
docs/vlc/description.txt
Normal file
1
docs/vlc/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
VLC for Kasm Workspaces
|
12
docs/vmware-horizon/README.md
Normal file
12
docs/vmware-horizon/README.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [VMWare Horizon Client](https://www.vmware.com/products/horizon.html).
|
||||||
|
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/vmware-horizon.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the application when launched.
|
1
docs/vmware-horizon/description.txt
Normal file
1
docs/vmware-horizon/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
VMWare Horizon Client for Kasm Workspaces
|
11
docs/vs-code/README.md
Normal file
11
docs/vs-code/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of [Visual Studio Code](https://code.visualstudio.com/).
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/vs-code.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the application when launched.
|
1
docs/vs-code/description.txt
Normal file
1
docs/vs-code/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Visual Studio Code for Kasm Workspaces
|
11
docs/zoom/README.md
Normal file
11
docs/zoom/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of the [Zoom](https://zoom.us/) app.
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/zoom.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the application when launched.
|
1
docs/zoom/description.txt
Normal file
1
docs/zoom/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Zoom Client for Kasm Workspaces
|
11
docs/zsnes/README.md
Normal file
11
docs/zsnes/README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# About This Image
|
||||||
|
|
||||||
|
This Image contains a browser-accessible version of the [zsnes](https://www.zsnes.com/) emulator.
|
||||||
|
|
||||||
|
![Screenshot][Image_Screenshot]
|
||||||
|
|
||||||
|
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/zsnes.png "Image Screenshot"
|
||||||
|
|
||||||
|
# Environment Variables
|
||||||
|
|
||||||
|
* `APP_ARGS` - Additional arguments to pass to the application when launched.
|
1
docs/zsnes/description.txt
Normal file
1
docs/zsnes/description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
zsnes emulator for Kasm Workspaces
|
14
src/common/install/configure_firefox.sh
Normal file
14
src/common/install/configure_firefox.sh
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
### every exit != 0 fails the script
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
# Add this user pref so the tabs dont crash regularly
|
||||||
|
cp /usr/lib/firefox/browser/defaults/profile/user.js /usr/lib/firefox/browser/defaults/profile/user.js.bak
|
||||||
|
echo "user_pref(\"browser.startup.firstrunSkipsHomepage\", false);" >> /usr/lib/firefox/browser/defaults/profile/user.js
|
||||||
|
echo "user_pref(\"browser.shell.skipDefaultBrowserCheckOnFirstRun\", true);" >> /usr/lib/firefox/browser/defaults/profile/user.js
|
||||||
|
echo "user_pref(\"startup.homepage_welcome_url\", \"about:blank\");" >> /usr/lib/firefox/browser/defaults/profile/user.js
|
||||||
|
echo "user_pref(\"datareporting.policy.firstRunURL\", \"\");" >> /usr/lib/firefox/browser/defaults/profile/user.js
|
||||||
|
echo "user_pref(\"startup.homepage_welcome_url.additional\", \"\");" >> /usr/lib/firefox/browser/defaults/profile/user.js
|
||||||
|
echo "user_pref(\"browser.shell.checkDefaultBrowser\", false);" >> /usr/lib/firefox/browser/defaults/profile/user.js
|
||||||
|
echo "user_pref(\"app.update.auto\", false);" >> /usr/lib/firefox/browser/defaults/profile/user.js
|
||||||
|
echo "user_pref(\"app.update.enabled\", false);" >> /usr/lib/firefox/browser/defaults/profile/user.js
|
7
src/ubuntu/install/ansible/install_ansible.sh
Normal file
7
src/ubuntu/install/ansible/install_ansible.sh
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y software-properties-common
|
||||||
|
apt-add-repository --yes --update ppa:ansible/ansible
|
||||||
|
apt-get install -y ansible
|
32
src/ubuntu/install/brave/custom_startup.sh
Normal file
32
src/ubuntu/install/brave/custom_startup.sh
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -ex
|
||||||
|
FORCE=$2
|
||||||
|
if [ -n "$1" ] ; then
|
||||||
|
URL=$1
|
||||||
|
else
|
||||||
|
URL=$LAUNCH_URL
|
||||||
|
fi
|
||||||
|
|
||||||
|
DEFAULT_ARGS="--start-maximized"
|
||||||
|
ARGS=${APP_ARGS:-$DEFAULT_ARGS}
|
||||||
|
|
||||||
|
if [ -n "$URL" ] && ( [ -z "$DISABLE_CUSTOM_STARTUP" ] || [ -n "$FORCE" ] ) ; then
|
||||||
|
if [ -f /tmp/custom_startup.lck ] ; then
|
||||||
|
echo "custom_startup already running!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
touch /tmp/custom_startup.lck
|
||||||
|
while true
|
||||||
|
do
|
||||||
|
if ! pgrep -x brave > /dev/null
|
||||||
|
then
|
||||||
|
/usr/bin/filter_ready
|
||||||
|
/usr/bin/desktop_ready
|
||||||
|
set +e
|
||||||
|
brave-browser $ARGS $URL
|
||||||
|
set -e
|
||||||
|
fi
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
rm /tmp/custom_startup.lck
|
||||||
|
fi
|
46
src/ubuntu/install/brave/install_brave.sh
Normal file
46
src/ubuntu/install/brave/install_brave.sh
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
CHROME_ARGS="--password-store=basic --no-sandbox --disable-gpu --user-data-dir --no-first-run"
|
||||||
|
|
||||||
|
apt-get update
|
||||||
|
apt install -y apt-transport-https curl
|
||||||
|
|
||||||
|
curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add -
|
||||||
|
|
||||||
|
echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" | tee /etc/apt/sources.list.d/brave-browser-release.list
|
||||||
|
|
||||||
|
apt update
|
||||||
|
|
||||||
|
apt install -y brave-browser
|
||||||
|
|
||||||
|
sed -i 's/-stable//g' /usr/share/applications/brave-browser.desktop
|
||||||
|
|
||||||
|
cp /usr/share/applications/brave-browser.desktop $HOME/Desktop/
|
||||||
|
chown 1000:1000 $HOME/Desktop/brave-browser.desktop
|
||||||
|
|
||||||
|
mv /usr/bin/brave-browser /usr/bin/brave-browser-orig
|
||||||
|
cat >/usr/bin/brave-browser <<EOL
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
/opt/brave.com/brave/brave-browser ${CHROME_ARGS} "\$@"
|
||||||
|
EOL
|
||||||
|
chmod +x /usr/bin/brave-browser
|
||||||
|
cp /usr/bin/brave-browser /usr/bin/brave
|
||||||
|
|
||||||
|
sed -i 's@exec -a "$0" "$HERE/brave" "$\@"@@g' /usr/bin/x-www-browser
|
||||||
|
cat >>/usr/bin/x-www-browser <<EOL
|
||||||
|
exec -a "\$0" "\$HERE/brave" "${CHROME_ARGS}" "\$@"
|
||||||
|
EOL
|
||||||
|
|
||||||
|
mkdir -p /etc/chromium/policies/managed/
|
||||||
|
# Vanilla Chrome looks for policies in /etc/opt/chrome/policies/managed which is used by web filtering.
|
||||||
|
# Create a symlink here so filter is applied to brave as well.
|
||||||
|
mkdir -p /etc/opt/chrome/policies/
|
||||||
|
ln -s /etc/chromium/policies/managed /etc/opt/chrome/policies/
|
||||||
|
cat >>/etc/chromium/policies/managed/default_managed_policy.json <<EOL
|
||||||
|
{"CommandLineFlagSecurityWarningsEnabled": false, "DefaultBrowserSettingEnabled": false}
|
||||||
|
EOL
|
||||||
|
cat >>/etc/chromium/policies/managed/disable_tor.json <<EOL
|
||||||
|
{"TorDisabled": true}
|
||||||
|
EOL
|
||||||
|
|
3
src/ubuntu/install/certificates/ca.crt
Normal file
3
src/ubuntu/install/certificates/ca.crt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
REPLACE ME
|
||||||
|
-----END CERTIFICATE-----
|
28
src/ubuntu/install/certificates/install_ca_cert.sh
Normal file
28
src/ubuntu/install/certificates/install_ca_cert.sh
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -ex
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y libnss3-tools
|
||||||
|
|
||||||
|
CERT_FILE="${INST_SCRIPTS}/certificates/ca.crt"
|
||||||
|
CERT_NAME="Custom Root CA"
|
||||||
|
|
||||||
|
# Install the cert into the system cert store
|
||||||
|
cp ${CERT_FILE} /usr/local/share/ca-certificates/
|
||||||
|
update-ca-certificates
|
||||||
|
|
||||||
|
|
||||||
|
# Create an empty cert9.db. This will be used by applications like Chrome
|
||||||
|
if [ ! -d $HOME/.pki/nssdb/ ]; then
|
||||||
|
mkdir -p $HOME/.pki/nssdb/
|
||||||
|
certutil -N -d sql:$HOME/.pki/nssdb/ --empty-password
|
||||||
|
chown 1000:1000 $HOME/.pki/nssdb/
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Update all cert9.db instances with the CA
|
||||||
|
for certDB in $(find / -name "cert9.db")
|
||||||
|
do
|
||||||
|
certdir=$(dirname ${certDB});
|
||||||
|
echo "Updating $certdir"
|
||||||
|
certutil -A -n "${CERT_NAME}" -t "TCu,," -i ${CERT_FILE} -d sql:${certdir}
|
||||||
|
done
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user