KASM-2193 Updated vncviewer image to focal

This image got missed when I merged develop into my branch before
submitting the merge request.
This commit is contained in:
Richard Koliser 2022-03-23 17:19:57 -04:00
parent e03153a3c9
commit 64d67d163d
2 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,6 @@
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
ENV HOME /home/kasm-default-profile

View File

@ -2,7 +2,8 @@
set -ex
START_COMMAND="/usr/bin/vncviewer"
PGREP="vncviewer"
MAXIMUS="false"
export MAXIMIZE="false"
MAXIMIZE_SCRIPT=$STARTUPDIR/maximize_window.sh
DEFAULT_ARGS=""
ARGS=${APP_ARGS:-$DEFAULT_ARGS}
@ -38,6 +39,7 @@ kasm_exec() {
if [ -n "$URL" ] ; then
/usr/bin/filter_ready
/usr/bin/desktop_ready
bash ${MAXIMIZE_SCRIPT} &
$START_COMMAND $ARGS $OPT_URL
else
echo "No URL specified for exec command. Doing nothing."
@ -53,10 +55,6 @@ kasm_startup() {
if [ -z "$DISABLE_CUSTOM_STARTUP" ] || [ -n "$FORCE" ] ; then
if [[ $MAXIMUS == 'true' ]] ; then
maximus &
fi
while true
do
if ! pgrep -x $PGREP > /dev/null
@ -64,6 +62,7 @@ kasm_startup() {
/usr/bin/filter_ready
/usr/bin/desktop_ready
set +e
bash ${MAXIMIZE_SCRIPT} &
$START_COMMAND $ARGS $URL
set -e
fi