mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2024-11-25 09:33:08 +01:00
Merge branch 'feature/KASM-2193-turn-off-zoom-sandbox' into 'develop'
KASM-2193 Add --no-sandbox to zoom to allow app startup (6th review) Closes KASM-2193 See merge request kasm-technologies/internal/workspaces-images!33
This commit is contained in:
commit
3d3a51a1e0
@ -34,7 +34,7 @@ build_browser_images:
|
|||||||
- ls docs/$KASM_IMAGE/README.md
|
- ls docs/$KASM_IMAGE/README.md
|
||||||
- ls docs/$KASM_IMAGE/description.txt
|
- ls docs/$KASM_IMAGE/description.txt
|
||||||
# Check for private variable to build against private core images
|
# Check for private variable to build against private core images
|
||||||
- if [[ $USE_PRIVATE_IMAGES ]]; then CORE_IMAGE=$CORE_IMAGE-private; fi;
|
- if [[ $USE_PRIVATE_IMAGES -eq 1 ]]; then CORE_IMAGE=$CORE_IMAGE-private; fi;
|
||||||
|
|
||||||
- docker buildx build --push --platform $BUILD_PLATFORM -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 --build-arg BASE_IMAGE=$CORE_IMAGE --build-arg BASE_TAG=$CORE_IMAGE_TAG -f dockerfile-kasm-$KASM_IMAGE .
|
- docker buildx build --push --platform $BUILD_PLATFORM -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 --build-arg BASE_IMAGE=$CORE_IMAGE --build-arg BASE_TAG=$CORE_IMAGE_TAG -f dockerfile-kasm-$KASM_IMAGE .
|
||||||
only:
|
only:
|
||||||
@ -63,7 +63,7 @@ build_app_images:
|
|||||||
- ls docs/$KASM_IMAGE/README.md
|
- ls docs/$KASM_IMAGE/README.md
|
||||||
- ls docs/$KASM_IMAGE/description.txt
|
- ls docs/$KASM_IMAGE/description.txt
|
||||||
# Check for private variable to build against private core images
|
# Check for private variable to build against private core images
|
||||||
- if [[ $USE_PRIVATE_IMAGES ]]; then CORE_IMAGE=$CORE_IMAGE-private; fi;
|
- if [[ $USE_PRIVATE_IMAGES -eq 1 ]]; then CORE_IMAGE=$CORE_IMAGE-private; fi;
|
||||||
|
|
||||||
- docker buildx build --push --platform $BUILD_PLATFORM -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 --build-arg BASE_IMAGE=$CORE_IMAGE --build-arg BASE_TAG=$CORE_IMAGE_TAG -f dockerfile-kasm-$KASM_IMAGE .
|
- docker buildx build --push --platform $BUILD_PLATFORM -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 --build-arg BASE_IMAGE=$CORE_IMAGE --build-arg BASE_TAG=$CORE_IMAGE_TAG -f dockerfile-kasm-$KASM_IMAGE .
|
||||||
only:
|
only:
|
||||||
@ -92,9 +92,9 @@ build_ubuntu_desktop_images:
|
|||||||
- ls docs/$KASM_IMAGE/README.md
|
- ls docs/$KASM_IMAGE/README.md
|
||||||
- ls docs/$KASM_IMAGE/description.txt
|
- ls docs/$KASM_IMAGE/description.txt
|
||||||
# Check for private variable to build against private core images
|
# Check for private variable to build against private core images
|
||||||
- if [[ $USE_PRIVATE_IMAGES ]]; then PRIVATE=-private; CORE_IMAGE=$CORE_IMAGE-private; else PRIVATE=""; fi;
|
- if [[ $USE_PRIVATE_IMAGES -eq 1 ]]; then CORE_IMAGE=$CORE_IMAGE-private; fi;
|
||||||
|
|
||||||
- docker buildx build --push --platform $BUILD_PLATFORM -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 --build-arg BASE_IMAGE=$CORE_IMAGE --build-arg PRIVATE=$PRIVATE --build-arg BASE_TAG=$CORE_IMAGE_TAG -f dockerfile-kasm-$KASM_IMAGE .
|
- docker buildx build --push --platform $BUILD_PLATFORM -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 --build-arg BASE_IMAGE=$CORE_IMAGE --build-arg BASE_TAG=$CORE_IMAGE_TAG -f dockerfile-kasm-$KASM_IMAGE .
|
||||||
only:
|
only:
|
||||||
- develop
|
- develop
|
||||||
- /^release\/.*$/
|
- /^release\/.*$/
|
||||||
@ -120,10 +120,13 @@ build_non_ubuntu:
|
|||||||
# Ensure readme and description files are present
|
# Ensure readme and description files are present
|
||||||
- ls docs/$KASM_IMAGE/README.md
|
- ls docs/$KASM_IMAGE/README.md
|
||||||
- ls docs/$KASM_IMAGE/description.txt
|
- ls docs/$KASM_IMAGE/description.txt
|
||||||
|
# Set base image based on kasm_image variable
|
||||||
|
- if [[ $KASM_IMAGE =~ 'centos-7-desktop' ]]; then CORE_IMAGE=core-centos-7; fi
|
||||||
|
- if [[ $KASM_IMAGE =~ 'tracelabs' ]]; then CORE_IMAGE=core-kali-rolling; fi
|
||||||
# Check for private variable to build against private core images
|
# Check for private variable to build against private core images
|
||||||
- if [[ $USE_PRIVATE_IMAGES ]]; then PRIVATE=-private; else PRIVATE=""; fi;
|
- if [[ $USE_PRIVATE_IMAGES -eq 1 ]]; then CORE_IMAGE=$CORE_IMAGE-private; fi;
|
||||||
|
|
||||||
- docker buildx build --push --platform $BUILD_PLATFORM -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 --build-arg PRIVATE=$PRIVATE --build-arg BASE_TAG=$CORE_IMAGE_TAG -f dockerfile-kasm-$KASM_IMAGE .
|
- docker buildx build --push --platform $BUILD_PLATFORM -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 --build-arg BASE_IMAGE=$CORE_IMAGE --build-arg BASE_TAG=$CORE_IMAGE_TAG -f dockerfile-kasm-$KASM_IMAGE .
|
||||||
only:
|
only:
|
||||||
- develop
|
- develop
|
||||||
- /^release\/.*$/
|
- /^release\/.*$/
|
||||||
@ -154,7 +157,7 @@ build_dev_browser_images:
|
|||||||
- ls docs/$KASM_IMAGE/README.md
|
- ls docs/$KASM_IMAGE/README.md
|
||||||
- ls docs/$KASM_IMAGE/description.txt
|
- ls docs/$KASM_IMAGE/description.txt
|
||||||
# Check for private variable to build against private core images
|
# Check for private variable to build against private core images
|
||||||
- if [[ $USE_PRIVATE_IMAGES ]]; then CORE_IMAGE=$CORE_IMAGE-private; fi;
|
- if [[ $USE_PRIVATE_IMAGES -eq 1 ]]; then CORE_IMAGE=$CORE_IMAGE-private; fi;
|
||||||
|
|
||||||
# Equivalent to docker build and docker push. Builds amd64 natively uses qemu for arm64.
|
# Equivalent to docker build and docker push. Builds amd64 natively uses qemu for arm64.
|
||||||
# The only way to push multiple architectures to the same tag is to use buildx.
|
# The only way to push multiple architectures to the same tag is to use buildx.
|
||||||
@ -183,7 +186,7 @@ build_dev_app_images:
|
|||||||
- ls docs/$KASM_IMAGE/README.md
|
- ls docs/$KASM_IMAGE/README.md
|
||||||
- ls docs/$KASM_IMAGE/description.txt
|
- ls docs/$KASM_IMAGE/description.txt
|
||||||
# Check for private variable to build against private core images
|
# Check for private variable to build against private core images
|
||||||
- if [[ $USE_PRIVATE_IMAGES ]]; then CORE_IMAGE=$CORE_IMAGE-private; fi;
|
- if [[ $USE_PRIVATE_IMAGES -eq 1 ]]; then CORE_IMAGE=$CORE_IMAGE-private; fi;
|
||||||
|
|
||||||
# Equivalent to docker build and docker push. Builds amd64 natively uses qemu for arm64.
|
# Equivalent to docker build and docker push. Builds amd64 natively uses qemu for arm64.
|
||||||
# The only way to push multiple architectures to the same tag is to use buildx.
|
# The only way to push multiple architectures to the same tag is to use buildx.
|
||||||
@ -212,11 +215,11 @@ build_dev_ubuntu_desktop_images:
|
|||||||
- ls docs/$KASM_IMAGE/README.md
|
- ls docs/$KASM_IMAGE/README.md
|
||||||
- ls docs/$KASM_IMAGE/description.txt
|
- ls docs/$KASM_IMAGE/description.txt
|
||||||
# Check for private variable to build against private core images
|
# Check for private variable to build against private core images
|
||||||
- if [[ $USE_PRIVATE_IMAGES ]]; then PRIVATE=-private; CORE_IMAGE=$CORE_IMAGE-private; else PRIVATE=""; fi;
|
- if [[ $USE_PRIVATE_IMAGES -eq 1 ]]; then CORE_IMAGE=$CORE_IMAGE-private; fi;
|
||||||
|
|
||||||
# Equivalent to docker build and docker push. Builds amd64 natively uses qemu for arm64.
|
# Equivalent to docker build and docker push. Builds amd64 natively uses qemu for arm64.
|
||||||
# The only way to push multiple architectures to the same tag is to use buildx.
|
# The only way to push multiple architectures to the same tag is to use buildx.
|
||||||
- docker buildx build --push --platform $BUILD_PLATFORM -t ${ORG_NAME}/$KASM_IMAGE-private:$SANITIZED_BRANCH --build-arg PRIVATE=$PRIVATE --build-arg BASE_IMAGE=$CORE_IMAGE --build-arg BASE_TAG=$CORE_IMAGE_TAG -f dockerfile-kasm-$KASM_IMAGE .
|
- docker buildx build --push --platform $BUILD_PLATFORM -t ${ORG_NAME}/$KASM_IMAGE-private:$SANITIZED_BRANCH --build-arg BASE_IMAGE=$CORE_IMAGE --build-arg BASE_TAG=$CORE_IMAGE_TAG -f dockerfile-kasm-$KASM_IMAGE .
|
||||||
except:
|
except:
|
||||||
- develop
|
- develop
|
||||||
- /^release\/.*$/
|
- /^release\/.*$/
|
||||||
@ -240,11 +243,15 @@ build_dev_non_ubuntu:
|
|||||||
# Ensure readme and description files are present
|
# Ensure readme and description files are present
|
||||||
- ls docs/$KASM_IMAGE/README.md
|
- ls docs/$KASM_IMAGE/README.md
|
||||||
- ls docs/$KASM_IMAGE/description.txt
|
- ls docs/$KASM_IMAGE/description.txt
|
||||||
- if [[ $USE_PRIVATE_IMAGES ]]; then PRIVATE=-private; else PRIVATE=""; fi;
|
# Set base image based on kasm_image variable
|
||||||
|
- if [[ $KASM_IMAGE =~ 'centos-7-desktop' ]]; then CORE_IMAGE=core-centos-7; fi
|
||||||
|
- if [[ $KASM_IMAGE =~ 'tracelabs' ]]; then CORE_IMAGE=core-kali-rolling; fi
|
||||||
|
# Check for private variable to build against private core images
|
||||||
|
- if [[ $USE_PRIVATE_IMAGES -eq 1 ]]; then CORE_IMAGE=$CORE_IMAGE-private; fi;
|
||||||
|
|
||||||
# Equivalent to docker build and docker push. Builds amd64 natively uses qemu for arm64.
|
# Equivalent to docker build and docker push. Builds amd64 natively uses qemu for arm64.
|
||||||
# The only way to push multiple architectures to the same tag is to use buildx.
|
# The only way to push multiple architectures to the same tag is to use buildx.
|
||||||
- docker buildx build --push --platform $BUILD_PLATFORM -t ${ORG_NAME}/$KASM_IMAGE-private:$SANITIZED_BRANCH --build-arg PRIVATE=$PRIVATE --build-arg BASE_TAG=$CORE_IMAGE_TAG -f dockerfile-kasm-$KASM_IMAGE .
|
- docker buildx build --push --platform $BUILD_PLATFORM -t ${ORG_NAME}/$KASM_IMAGE-private:$SANITIZED_BRANCH --build-arg BASE_IMAGE=$CORE_IMAGE --build-arg BASE_TAG=$CORE_IMAGE_TAG -f dockerfile-kasm-$KASM_IMAGE .
|
||||||
except:
|
except:
|
||||||
- develop
|
- develop
|
||||||
- /^release\/.*$/
|
- /^release\/.*$/
|
||||||
@ -271,7 +278,7 @@ build_schedules_browser_images:
|
|||||||
- ls docs/$KASM_IMAGE/README.md
|
- ls docs/$KASM_IMAGE/README.md
|
||||||
- ls docs/$KASM_IMAGE/description.txt
|
- ls docs/$KASM_IMAGE/description.txt
|
||||||
# Check for private variable to build against private core images
|
# Check for private variable to build against private core images
|
||||||
- if [[ $USE_PRIVATE_IMAGES ]]; then CORE_IMAGE=$CORE_IMAGE-private; fi;
|
- if [[ $USE_PRIVATE_IMAGES -eq 1 ]]; then CORE_IMAGE=$CORE_IMAGE-private; fi;
|
||||||
|
|
||||||
# Equivalent to docker build and docker push. Builds amd64 natively uses qemu for arm64.
|
# Equivalent to docker build and docker push. Builds amd64 natively uses qemu for arm64.
|
||||||
# The only way to push multiple architectures to the same tag is to use buildx.
|
# The only way to push multiple architectures to the same tag is to use buildx.
|
||||||
@ -300,7 +307,7 @@ build_schedules_app_images:
|
|||||||
- ls docs/$KASM_IMAGE/README.md
|
- ls docs/$KASM_IMAGE/README.md
|
||||||
- ls docs/$KASM_IMAGE/description.txt
|
- ls docs/$KASM_IMAGE/description.txt
|
||||||
# Check for private variable to build against private core images
|
# Check for private variable to build against private core images
|
||||||
- if [[ $USE_PRIVATE_IMAGES ]]; then CORE_IMAGE=$CORE_IMAGE-private; fi;
|
- if [[ $USE_PRIVATE_IMAGES -eq 1 ]]; then CORE_IMAGE=$CORE_IMAGE-private; fi;
|
||||||
|
|
||||||
# Equivalent to docker build and docker push. Builds amd64 natively uses qemu for arm64.
|
# Equivalent to docker build and docker push. Builds amd64 natively uses qemu for arm64.
|
||||||
# The only way to push multiple architectures to the same tag is to use buildx.
|
# The only way to push multiple architectures to the same tag is to use buildx.
|
||||||
@ -329,11 +336,11 @@ build_schedules_ubuntu_desktop_images:
|
|||||||
- ls docs/$KASM_IMAGE/README.md
|
- ls docs/$KASM_IMAGE/README.md
|
||||||
- ls docs/$KASM_IMAGE/description.txt
|
- ls docs/$KASM_IMAGE/description.txt
|
||||||
# Check for private variable to build against private core images
|
# Check for private variable to build against private core images
|
||||||
- if [[ $USE_PRIVATE_IMAGES ]]; then PRIVATE=-private; CORE_IMAGE=$CORE_IMAGE-private; else PRIVATE=""; fi;
|
- if [[ $USE_PRIVATE_IMAGES -eq 1 ]]; then CORE_IMAGE=$CORE_IMAGE-private; fi;
|
||||||
|
|
||||||
# Equivalent to docker build and docker push. Builds amd64 natively uses qemu for arm64.
|
# Equivalent to docker build and docker push. Builds amd64 natively uses qemu for arm64.
|
||||||
# The only way to push multiple architectures to the same tag is to use buildx.
|
# The only way to push multiple architectures to the same tag is to use buildx.
|
||||||
- docker buildx build --push --platform $BUILD_PLATFORM -t ${ORG_NAME}/$KASM_IMAGE:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/$KASM_IMAGE-private:$SANITIZED_ROLLING_BRANCH --build-arg BASE_IMAGE=$CORE_IMAGE --build-arg PRIVATE=$PRIVATE --build-arg BASE_TAG="$SANITIZED_ROLLING_BRANCH" -f dockerfile-kasm-$KASM_IMAGE .
|
- docker buildx build --push --platform $BUILD_PLATFORM -t ${ORG_NAME}/$KASM_IMAGE:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/$KASM_IMAGE-private:$SANITIZED_ROLLING_BRANCH --build-arg BASE_IMAGE=$CORE_IMAGE --build-arg BASE_TAG="$SANITIZED_ROLLING_BRANCH" -f dockerfile-kasm-$KASM_IMAGE .
|
||||||
only:
|
only:
|
||||||
- schedules
|
- schedules
|
||||||
tags:
|
tags:
|
||||||
@ -356,11 +363,15 @@ build_schedules_non_ubuntu:
|
|||||||
# Ensure readme and description files are present
|
# Ensure readme and description files are present
|
||||||
- ls docs/$KASM_IMAGE/README.md
|
- ls docs/$KASM_IMAGE/README.md
|
||||||
- ls docs/$KASM_IMAGE/description.txt
|
- ls docs/$KASM_IMAGE/description.txt
|
||||||
- if [[ $USE_PRIVATE_IMAGES ]]; then PRIVATE=-private; else PRIVATE=""; fi;
|
# Set base image based on kasm_image variable
|
||||||
|
- if [[ $KASM_IMAGE =~ 'centos-7-desktop' ]]; then CORE_IMAGE=core-centos-7; fi
|
||||||
|
- if [[ $KASM_IMAGE =~ 'tracelabs' ]]; then CORE_IMAGE=core-kali-rolling; fi
|
||||||
|
# Check for private variable to build against private core images
|
||||||
|
- if [[ $USE_PRIVATE_IMAGES -eq 1 ]]; then CORE_IMAGE=$CORE_IMAGE-private; fi;
|
||||||
|
|
||||||
# Equivalent to docker build and docker push. Builds amd64 natively uses qemu for arm64.
|
# Equivalent to docker build and docker push. Builds amd64 natively uses qemu for arm64.
|
||||||
# The only way to push multiple architectures to the same tag is to use buildx.
|
# The only way to push multiple architectures to the same tag is to use buildx.
|
||||||
- docker buildx build --push --platform $BUILD_PLATFORM -t ${ORG_NAME}/$KASM_IMAGE:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/$KASM_IMAGE-private:$SANITIZED_ROLLING_BRANCH --build-arg PRIVATE=$PRIVATE --build-arg BASE_TAG="$SANITIZED_ROLLING_BRANCH" -f dockerfile-kasm-$KASM_IMAGE .
|
- docker buildx build --push --platform $BUILD_PLATFORM -t ${ORG_NAME}/$KASM_IMAGE:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/$KASM_IMAGE-private:$SANITIZED_ROLLING_BRANCH --build-arg BASE_IMAGE=$CORE_IMAGE --build-arg BASE_TAG="$SANITIZED_ROLLING_BRANCH" -f dockerfile-kasm-$KASM_IMAGE .
|
||||||
only:
|
only:
|
||||||
- schedules
|
- schedules
|
||||||
tags:
|
tags:
|
||||||
@ -386,4 +397,4 @@ update_readmes:
|
|||||||
- $README_PASSWORD
|
- $README_PASSWORD
|
||||||
parallel:
|
parallel:
|
||||||
matrix:
|
matrix:
|
||||||
- KASM_IMAGE: [chrome, chromium, 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, telegram, hunchly, ubuntu-bionic-dind, ubuntu-bionic-dind-rootless, tracelabs, java-dev ]
|
- KASM_IMAGE: [chrome, chromium, 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-focal-desktop, maltego, centos-7-desktop, telegram, hunchly, ubuntu-focal-dind, ubuntu-focal-dind-rootless, tracelabs, java-dev ]
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
ARG BASE_TAG="develop"
|
ARG BASE_TAG="develop"
|
||||||
ARG PRIVATE=""
|
ARG BASE_IMAGE="core-centos-7"
|
||||||
FROM kasmweb/core-centos-7$PRIVATE:$BASE_TAG
|
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
ENV DISTRO=centos
|
ENV DISTRO=centos
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -7,7 +7,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -12,7 +12,6 @@ WORKDIR $HOME
|
|||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
|
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
|
|
||||||
# Add Kasm Branding
|
# Add Kasm Branding
|
||||||
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
|
RUN cp /usr/share/extra/backgrounds/bg_kasm.png /usr/share/extra/backgrounds/bg_default.png
|
||||||
@ -96,9 +95,6 @@ RUN bash $INST_SCRIPTS/terraform/install_terraform.sh && rm -rf $INST_SCRIPTS/t
|
|||||||
COPY ./src/ubuntu/install/telegram $INST_SCRIPTS/telegram/
|
COPY ./src/ubuntu/install/telegram $INST_SCRIPTS/telegram/
|
||||||
RUN bash $INST_SCRIPTS/telegram/install_telegram.sh && rm -rf $INST_SCRIPTS/telegram/
|
RUN bash $INST_SCRIPTS/telegram/install_telegram.sh && rm -rf $INST_SCRIPTS/telegram/
|
||||||
|
|
||||||
### Remove maxmius
|
|
||||||
RUN if [[ ${BASE_IMAGE} =~ "bionic" ]]; then apt-get remove -y maximus; fi;
|
|
||||||
|
|
||||||
#ADD ./src/common/scripts $STARTUPDIR
|
#ADD ./src/common/scripts $STARTUPDIR
|
||||||
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
||||||
|
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -7,7 +7,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -12,7 +12,6 @@ WORKDIR $HOME
|
|||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
|
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
|
|
||||||
# Install Firefox
|
# Install Firefox
|
||||||
COPY ./src/ubuntu/install/firefox/ $INST_SCRIPTS/firefox/
|
COPY ./src/ubuntu/install/firefox/ $INST_SCRIPTS/firefox/
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/
|
ENV INST_SCRIPTS $STARTUPDIR/
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -12,7 +12,6 @@ WORKDIR $HOME
|
|||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
|
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
|
|
||||||
|
|
||||||
### Install Tools
|
### Install Tools
|
||||||
@ -55,9 +54,6 @@ RUN apt-get update && apt-get install -y default-jdk default-jre
|
|||||||
COPY ./src/ubuntu/install/eclipse $INST_SCRIPTS/eclipse
|
COPY ./src/ubuntu/install/eclipse $INST_SCRIPTS/eclipse
|
||||||
RUN bash $INST_SCRIPTS/eclipse/install_eclipse.sh && rm -rf $INST_SCRIPTS/eclipse/
|
RUN bash $INST_SCRIPTS/eclipse/install_eclipse.sh && rm -rf $INST_SCRIPTS/eclipse/
|
||||||
|
|
||||||
### Remove maxmius
|
|
||||||
RUN if [[ ${BASE_IMAGE} =~ "bionic" ]]; then apt-get remove -y maximus; fi;
|
|
||||||
|
|
||||||
#ADD ./src/common/scripts $STARTUPDIR
|
#ADD ./src/common/scripts $STARTUPDIR
|
||||||
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
||||||
|
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
ARG BASE_TAG="develop"
|
ARG BASE_TAG="develop"
|
||||||
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
ARG BASE_IMAGE="core-ubuntu-focal"
|
||||||
|
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
# TODO: Once we satisfy KASM-1423, move these to the core images instead
|
# TODO: Once we satisfy KASM-1423, move these to the core images instead
|
||||||
ENV PULSE_RUNTIME_PATH "/tmp/pulse"
|
ENV PULSE_RUNTIME_PATH "/tmp/pulse"
|
||||||
ENV PULSE_STATE_PATH "/tmp/pulse"
|
ENV PULSE_STATE_PATH "/tmp/pulse"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
ARG BASE_TAG="develop"
|
ARG BASE_TAG="develop"
|
||||||
ARG PRIVATE=""
|
ARG BASE_IMAGE="core-kali-rolling"
|
||||||
FROM kasmweb/core-kali-rolling$PRIVATE:$BASE_TAG
|
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
ARG BASE_TAG="develop"
|
ARG BASE_TAG="develop"
|
||||||
ARG PRIVATE=""
|
ARG BASE_IMAGE="core-ubuntu-focal"
|
||||||
FROM kasmweb/core-ubuntu-focal$PRIVATE:$BASE_TAG
|
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
@ -12,7 +12,6 @@ WORKDIR $HOME
|
|||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
|
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
|
|
||||||
|
|
||||||
### Install Tools
|
### Install Tools
|
||||||
@ -92,9 +91,6 @@ RUN bash $INST_SCRIPTS/terraform/install_terraform.sh && rm -rf $INST_SCRIPTS/t
|
|||||||
COPY ./src/ubuntu/install/telegram $INST_SCRIPTS/telegram/
|
COPY ./src/ubuntu/install/telegram $INST_SCRIPTS/telegram/
|
||||||
RUN bash $INST_SCRIPTS/telegram/install_telegram.sh && rm -rf $INST_SCRIPTS/telegram/
|
RUN bash $INST_SCRIPTS/telegram/install_telegram.sh && rm -rf $INST_SCRIPTS/telegram/
|
||||||
|
|
||||||
### Remove maxmius
|
|
||||||
RUN if [[ ${BASE_IMAGE} =~ "bionic" ]]; then apt-get remove -y maximus; fi;
|
|
||||||
|
|
||||||
#ADD ./src/common/scripts $STARTUPDIR
|
#ADD ./src/common/scripts $STARTUPDIR
|
||||||
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
||||||
|
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
ARG BASE_TAG="develop"
|
ARG BASE_TAG="develop"
|
||||||
ARG PRIVATE=""
|
ARG BASE_IMAGE="core-ubuntu-focal"
|
||||||
FROM kasmweb/core-ubuntu-focal$PRIVATE:$BASE_TAG
|
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
@ -49,9 +48,6 @@ RUN bash $INST_SCRIPTS/vs_code/install_vs_code.sh && rm -rf $INST_SCRIPTS/vs_co
|
|||||||
COPY ./src/ubuntu/install/chrome $INST_SCRIPTS/chrome/
|
COPY ./src/ubuntu/install/chrome $INST_SCRIPTS/chrome/
|
||||||
RUN bash $INST_SCRIPTS/chrome/install_chrome.sh && rm -rf $INST_SCRIPTS/chrome/
|
RUN bash $INST_SCRIPTS/chrome/install_chrome.sh && rm -rf $INST_SCRIPTS/chrome/
|
||||||
|
|
||||||
### Remove maxmius
|
|
||||||
RUN if [[ ${BASE_IMAGE} =~ "bionic" ]]; then apt-get remove -y maximus; fi;
|
|
||||||
|
|
||||||
######### End Customizations ###########
|
######### End Customizations ###########
|
||||||
|
|
||||||
RUN chown 1000:0 $HOME
|
RUN chown 1000:0 $HOME
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
ARG BASE_TAG="develop"
|
ARG BASE_TAG="develop"
|
||||||
ARG PRIVATE=""
|
ARG BASE_IMAGE="core-ubuntu-focal"
|
||||||
FROM kasmweb/core-ubuntu-focal$PRIVATE:$BASE_TAG
|
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
@ -46,9 +45,6 @@ RUN bash $INST_SCRIPTS/vs_code/install_vs_code.sh && rm -rf $INST_SCRIPTS/vs_co
|
|||||||
COPY ./src/ubuntu/install/chrome $INST_SCRIPTS/chrome/
|
COPY ./src/ubuntu/install/chrome $INST_SCRIPTS/chrome/
|
||||||
RUN bash $INST_SCRIPTS/chrome/install_chrome.sh && rm -rf $INST_SCRIPTS/chrome/
|
RUN bash $INST_SCRIPTS/chrome/install_chrome.sh && rm -rf $INST_SCRIPTS/chrome/
|
||||||
|
|
||||||
### Remove maxmius
|
|
||||||
RUN if [[ ${BASE_IMAGE} =~ "bionic" ]]; then apt-get remove -y maximus; fi;
|
|
||||||
|
|
||||||
RUN chown 1000:0 $HOME
|
RUN chown 1000:0 $HOME
|
||||||
|
|
||||||
USER 1000
|
USER 1000
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -6,7 +6,6 @@ USER root
|
|||||||
ENV HOME /home/kasm-default-profile
|
ENV HOME /home/kasm-default-profile
|
||||||
ENV STARTUPDIR /dockerstartup
|
ENV STARTUPDIR /dockerstartup
|
||||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||||
ENV BASE_IMAGE $BASE_IMAGE
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
######### Customize Container Here ###########
|
######### Customize Container Here ###########
|
||||||
|
@ -55,10 +55,6 @@ kasm_startup() {
|
|||||||
|
|
||||||
if [ -z "$DISABLE_CUSTOM_STARTUP" ] || [ -n "$FORCE" ] ; then
|
if [ -z "$DISABLE_CUSTOM_STARTUP" ] || [ -n "$FORCE" ] ; then
|
||||||
|
|
||||||
if [[ $MAXIMUS == 'true' ]] ; then
|
|
||||||
maximus &
|
|
||||||
fi
|
|
||||||
|
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
if ! pgrep -x $PGREP > /dev/null
|
if ! pgrep -x $PGREP > /dev/null
|
||||||
|
@ -1,10 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -ex
|
set -ex
|
||||||
apt-get update
|
apt-get update
|
||||||
if [[ "$(lsb_release -cs)" == "bionic" ]];
|
|
||||||
then
|
|
||||||
apt-get install -y maximus
|
|
||||||
fi
|
|
||||||
curl -L -o discord.deb "https://discord.com/api/download?platform=linux&format=deb"
|
curl -L -o discord.deb "https://discord.com/api/download?platform=linux&format=deb"
|
||||||
apt-get install -y ./discord.deb
|
apt-get install -y ./discord.deb
|
||||||
rm discord.deb
|
rm discord.deb
|
||||||
|
@ -1,10 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -ex
|
set -ex
|
||||||
apt-get update
|
apt-get update
|
||||||
if [[ "$(lsb_release -cs)" == "bionic" ]];
|
|
||||||
then
|
|
||||||
apt-get install -y maximus
|
|
||||||
fi
|
|
||||||
apt-get install -y gimp
|
apt-get install -y gimp
|
||||||
cp /usr/share/applications/gimp.desktop $HOME/Desktop/
|
cp /usr/share/applications/gimp.desktop $HOME/Desktop/
|
||||||
chmod +x $HOME/Desktop/gimp.desktop
|
chmod +x $HOME/Desktop/gimp.desktop
|
@ -9,9 +9,3 @@ cp /usr/share/applications/insomnia.desktop $HOME/Desktop
|
|||||||
chmod +x $HOME/Desktop/insomnia.desktop
|
chmod +x $HOME/Desktop/insomnia.desktop
|
||||||
chown 1000:1000 $HOME/Desktop/insomnia.desktop
|
chown 1000:1000 $HOME/Desktop/insomnia.desktop
|
||||||
rm insomnia.deb
|
rm insomnia.deb
|
||||||
|
|
||||||
# Conveniences for python development
|
|
||||||
if [[ "$(lsb_release -cs)" == "bionic" ]];
|
|
||||||
then
|
|
||||||
apt-get install -y maximus
|
|
||||||
fi
|
|
||||||
|
@ -17,9 +17,3 @@ sed -i 's/ONLYOFFICE Desktop Editors/ONLYOFFICE/g' $HOME/Desktop/onlyoffice-desk
|
|||||||
chmod +x $HOME/Desktop/onlyoffice-desktopeditors.desktop
|
chmod +x $HOME/Desktop/onlyoffice-desktopeditors.desktop
|
||||||
# KASM-1541
|
# KASM-1541
|
||||||
sed -i 's#/usr/bin/onlyoffice-desktopeditors %U$#bash -c "source ~/.bashrc \&\& /usr/bin/onlyoffice-desktopeditors %U"#' /usr/share/applications/onlyoffice-desktopeditors.desktop
|
sed -i 's#/usr/bin/onlyoffice-desktopeditors %U$#bash -c "source ~/.bashrc \&\& /usr/bin/onlyoffice-desktopeditors %U"#' /usr/share/applications/onlyoffice-desktopeditors.desktop
|
||||||
|
|
||||||
if [[ "$(lsb_release -cs)" == "bionic" ]];
|
|
||||||
then
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y maximus
|
|
||||||
fi
|
|
||||||
|
@ -19,9 +19,3 @@ chmod +x /usr/share/applications/postman.desktop
|
|||||||
cp /usr/share/applications/postman.desktop $HOME/Desktop/postman.desktop
|
cp /usr/share/applications/postman.desktop $HOME/Desktop/postman.desktop
|
||||||
chmod +x $HOME/Desktop/postman.desktop
|
chmod +x $HOME/Desktop/postman.desktop
|
||||||
chown 1000:1000 $HOME/Desktop/postman.desktop
|
chown 1000:1000 $HOME/Desktop/postman.desktop
|
||||||
|
|
||||||
if [[ "$(lsb_release -cs)" == "bionic" ]];
|
|
||||||
then
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y maximus
|
|
||||||
fi
|
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
set -ex
|
set -ex
|
||||||
START_COMMAND="/usr/bin/vncviewer"
|
START_COMMAND="/usr/bin/vncviewer"
|
||||||
PGREP="vncviewer"
|
PGREP="vncviewer"
|
||||||
MAXIMUS="false"
|
export MAXIMIZE="false"
|
||||||
|
MAXIMIZE_SCRIPT=$STARTUPDIR/maximize_window.sh
|
||||||
DEFAULT_ARGS=""
|
DEFAULT_ARGS=""
|
||||||
ARGS=${APP_ARGS:-$DEFAULT_ARGS}
|
ARGS=${APP_ARGS:-$DEFAULT_ARGS}
|
||||||
|
|
||||||
@ -38,6 +39,7 @@ kasm_exec() {
|
|||||||
if [ -n "$URL" ] ; then
|
if [ -n "$URL" ] ; then
|
||||||
/usr/bin/filter_ready
|
/usr/bin/filter_ready
|
||||||
/usr/bin/desktop_ready
|
/usr/bin/desktop_ready
|
||||||
|
bash ${MAXIMIZE_SCRIPT} &
|
||||||
$START_COMMAND $ARGS $OPT_URL
|
$START_COMMAND $ARGS $OPT_URL
|
||||||
else
|
else
|
||||||
echo "No URL specified for exec command. Doing nothing."
|
echo "No URL specified for exec command. Doing nothing."
|
||||||
@ -53,10 +55,6 @@ kasm_startup() {
|
|||||||
|
|
||||||
if [ -z "$DISABLE_CUSTOM_STARTUP" ] || [ -n "$FORCE" ] ; then
|
if [ -z "$DISABLE_CUSTOM_STARTUP" ] || [ -n "$FORCE" ] ; then
|
||||||
|
|
||||||
if [[ $MAXIMUS == 'true' ]] ; then
|
|
||||||
maximus &
|
|
||||||
fi
|
|
||||||
|
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
if ! pgrep -x $PGREP > /dev/null
|
if ! pgrep -x $PGREP > /dev/null
|
||||||
@ -64,6 +62,7 @@ kasm_startup() {
|
|||||||
/usr/bin/filter_ready
|
/usr/bin/filter_ready
|
||||||
/usr/bin/desktop_ready
|
/usr/bin/desktop_ready
|
||||||
set +e
|
set +e
|
||||||
|
bash ${MAXIMIZE_SCRIPT} &
|
||||||
$START_COMMAND $ARGS $URL
|
$START_COMMAND $ARGS $URL
|
||||||
set -e
|
set -e
|
||||||
fi
|
fi
|
||||||
|
@ -12,10 +12,7 @@ fi
|
|||||||
wget -O- https://updates.signal.org/desktop/apt/keys.asc | apt-key add -
|
wget -O- https://updates.signal.org/desktop/apt/keys.asc | apt-key add -
|
||||||
echo "deb [arch=${ARCH}] https://updates.signal.org/desktop/apt xenial main" | tee -a /etc/apt/sources.list.d/signal-xenial.list
|
echo "deb [arch=${ARCH}] https://updates.signal.org/desktop/apt xenial main" | tee -a /etc/apt/sources.list.d/signal-xenial.list
|
||||||
apt-get update
|
apt-get update
|
||||||
if [[ "$(lsb_release -cs)" == "bionic" ]];
|
|
||||||
then
|
|
||||||
apt-get install -y maximus
|
|
||||||
fi
|
|
||||||
apt-get install -y signal-desktop
|
apt-get install -y signal-desktop
|
||||||
cp /usr/share/applications/signal-desktop.desktop $HOME/Desktop/
|
cp /usr/share/applications/signal-desktop.desktop $HOME/Desktop/
|
||||||
chmod +x $HOME/Desktop/signal-desktop.desktop
|
chmod +x $HOME/Desktop/signal-desktop.desktop
|
||||||
|
@ -22,10 +22,7 @@ version=4.12.2
|
|||||||
# This path may not be accurate once arm64 support arrives. Specifically I don't know if it will still be under x64
|
# This path may not be accurate once arm64 support arrives. Specifically I don't know if it will still be under x64
|
||||||
wget -q https://downloads.slack-edge.com/releases/linux/${version}/prod/x64/slack-desktop-${version}-${ARCH}.deb
|
wget -q https://downloads.slack-edge.com/releases/linux/${version}/prod/x64/slack-desktop-${version}-${ARCH}.deb
|
||||||
apt-get update
|
apt-get update
|
||||||
if [[ "$(lsb_release -cs)" == "bionic" ]];
|
|
||||||
then
|
|
||||||
apt-get install -y maximus
|
|
||||||
fi
|
|
||||||
apt-get install -y ./slack-desktop-${version}-${ARCH}.deb
|
apt-get install -y ./slack-desktop-${version}-${ARCH}.deb
|
||||||
rm slack-desktop-${version}-${ARCH}.deb
|
rm slack-desktop-${version}-${ARCH}.deb
|
||||||
sed -i 's,/usr/bin/slack,/usr/bin/slack --no-sandbox,g' /usr/share/applications/slack.desktop
|
sed -i 's,/usr/bin/slack,/usr/bin/slack --no-sandbox,g' /usr/share/applications/slack.desktop
|
||||||
|
@ -2,10 +2,7 @@
|
|||||||
set -ex
|
set -ex
|
||||||
dpkg --add-architecture i386
|
dpkg --add-architecture i386
|
||||||
apt-get update
|
apt-get update
|
||||||
if [[ "$(lsb_release -cs)" == "bionic" ]];
|
|
||||||
then
|
|
||||||
apt-get install -y maximus
|
|
||||||
fi
|
|
||||||
apt-get install -y steam-installer
|
apt-get install -y steam-installer
|
||||||
cp /usr/share/applications/steam.desktop $HOME/Desktop/
|
cp /usr/share/applications/steam.desktop $HOME/Desktop/
|
||||||
chmod +x $HOME/Desktop/steam.desktop
|
chmod +x $HOME/Desktop/steam.desktop
|
||||||
|
@ -13,10 +13,6 @@ apt-get install -y apt-transport-https
|
|||||||
echo "deb https://download.sublimetext.com/ apt/stable/" | tee /etc/apt/sources.list.d/sublime-text.list
|
echo "deb https://download.sublimetext.com/ apt/stable/" | tee /etc/apt/sources.list.d/sublime-text.list
|
||||||
apt-get update
|
apt-get update
|
||||||
|
|
||||||
if [[ "$(lsb_release -cs)" == "bionic" ]];
|
|
||||||
then
|
|
||||||
apt-get install -y maximus
|
|
||||||
fi
|
|
||||||
apt-get install -y sublime-text
|
apt-get install -y sublime-text
|
||||||
|
|
||||||
cp /usr/share/applications/sublime_text.desktop $HOME/Desktop/
|
cp /usr/share/applications/sublime_text.desktop $HOME/Desktop/
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -ex
|
set -ex
|
||||||
apt-get update
|
apt-get update
|
||||||
if [[ "$(lsb_release -cs)" == "bionic" ]];
|
|
||||||
then
|
|
||||||
apt-get install -y maximus
|
|
||||||
fi
|
|
||||||
apt-get install -y vlc
|
apt-get install -y vlc
|
@ -15,8 +15,3 @@ apt-get update
|
|||||||
apt-get install -y python3-setuptools \
|
apt-get install -y python3-setuptools \
|
||||||
python3-venv \
|
python3-venv \
|
||||||
python3-virtualenv
|
python3-virtualenv
|
||||||
|
|
||||||
if [[ "$(lsb_release -cs)" == "bionic" ]];
|
|
||||||
then
|
|
||||||
apt-get install -y maximus
|
|
||||||
fi
|
|
||||||
|
@ -5,7 +5,7 @@ PGREP="zoom"
|
|||||||
export MAXIMIZE="true"
|
export MAXIMIZE="true"
|
||||||
export MAXIMIZE_NAME="Zoom"
|
export MAXIMIZE_NAME="Zoom"
|
||||||
MAXIMIZE_SCRIPT=$STARTUPDIR/maximize_window.sh
|
MAXIMIZE_SCRIPT=$STARTUPDIR/maximize_window.sh
|
||||||
DEFAULT_ARGS=""
|
DEFAULT_ARGS="--no-sandbox"
|
||||||
ARGS=${APP_ARGS:-$DEFAULT_ARGS}
|
ARGS=${APP_ARGS:-$DEFAULT_ARGS}
|
||||||
|
|
||||||
options=$(getopt -o gau: -l go,assign,url: -n "$0" -- "$@") || exit
|
options=$(getopt -o gau: -l go,assign,url: -n "$0" -- "$@") || exit
|
||||||
|
@ -11,10 +11,6 @@ fi
|
|||||||
|
|
||||||
wget -q https://zoom.us/client/latest/zoom_${ARCH}.deb
|
wget -q https://zoom.us/client/latest/zoom_${ARCH}.deb
|
||||||
apt-get update
|
apt-get update
|
||||||
if [[ "$(lsb_release -cs)" == "bionic" ]];
|
|
||||||
then
|
|
||||||
apt-get install -y maximus
|
|
||||||
fi
|
|
||||||
apt-get install -y ./zoom_${ARCH}.deb
|
apt-get install -y ./zoom_${ARCH}.deb
|
||||||
rm zoom_amd64.deb
|
rm zoom_amd64.deb
|
||||||
cp /usr/share/applications/Zoom.desktop $HOME/Desktop/
|
cp /usr/share/applications/Zoom.desktop $HOME/Desktop/
|
||||||
|
@ -2,10 +2,6 @@
|
|||||||
set -ex
|
set -ex
|
||||||
dpkg --add-architecture i386
|
dpkg --add-architecture i386
|
||||||
apt-get update
|
apt-get update
|
||||||
if [[ "$(lsb_release -cs)" == "bionic" ]];
|
|
||||||
then
|
|
||||||
apt-get install -y maximus
|
|
||||||
fi
|
|
||||||
apt-get install -y zsnes
|
apt-get install -y zsnes
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user