mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2024-11-22 08:03:19 +01:00
ed08d9749a
Also fixed up the if condition logic for private variable in gitlab-ci
28 lines
653 B
Plaintext
28 lines
653 B
Plaintext
ARG BASE_TAG="develop"
|
|
ARG BASE_IMAGE="core-kali-rolling"
|
|
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
|
|
USER root
|
|
|
|
ENV HOME /home/kasm-default-profile
|
|
ENV STARTUPDIR /dockerstartup
|
|
ENV INST_SCRIPTS $STARTUPDIR/install
|
|
WORKDIR $HOME
|
|
|
|
######### Customize Container Here ###########
|
|
|
|
|
|
# Install Tracelabs utils
|
|
COPY ./src/ubuntu/install/tracelabs $INST_SCRIPTS/tracelabs/
|
|
RUN bash $INST_SCRIPTS/tracelabs/install_tracelabs.sh && rm -rf $INST_SCRIPTS/tracelabs/
|
|
|
|
######### 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
|