2021-12-16 11:05:36 +01:00
|
|
|
ARG BASE_TAG="develop"
|
2022-03-23 22:11:48 +01:00
|
|
|
ARG BASE_IMAGE="core-kali-rolling"
|
|
|
|
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
|
2021-12-16 11:05:36 +01:00
|
|
|
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/
|
|
|
|
|
2023-03-17 15:12:04 +01:00
|
|
|
# Install Firefox
|
|
|
|
COPY ./src/ubuntu/install/firefox/ $INST_SCRIPTS/firefox/
|
|
|
|
RUN bash $INST_SCRIPTS/firefox/install_firefox.sh && rm -rf $INST_SCRIPTS/firefox/
|
|
|
|
|
2021-12-16 11:05:36 +01:00
|
|
|
######### 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
|