KASM-2193 Updating images to support Ubuntu 20.04

This commit is contained in:
Richard Koliser 2022-03-22 20:26:38 +00:00 committed by Justin Travis
parent 62b0f12aee
commit 38211d207c
97 changed files with 738 additions and 246 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
@ -11,6 +12,7 @@ WORKDIR $HOME
ENV DEBIAN_FRONTEND noninteractive
ENV KASM_RX_HOME $STARTUPDIR/kasmrx
ENV INST_SCRIPTS $STARTUPDIR/install
ENV BASE_IMAGE $BASE_IMAGE
### Install Tools
@ -54,7 +56,7 @@ COPY ./src/ubuntu/install/eclipse $INST_SCRIPTS/eclipse
RUN bash $INST_SCRIPTS/eclipse/install_eclipse.sh && rm -rf $INST_SCRIPTS/eclipse/
### Remove maxmius
RUN apt-get remove -y maximus
RUN if [[ ${BASE_IMAGE} =~ "bionic" ]]; then apt-get remove -y maximus; fi;
#ADD ./src/common/scripts $STARTUPDIR
RUN $STARTUPDIR/set_user_permission.sh $HOME