2023-03-17 15:12:04 +01:00
|
|
|
ARG BASE_TAG="develop"
|
2023-08-16 14:01:44 +02:00
|
|
|
ARG BASE_IMAGE="core-ubuntu-focal"
|
2023-03-17 15:12:04 +01:00
|
|
|
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 ###########
|
|
|
|
|
2023-08-16 14:01:44 +02:00
|
|
|
# Add Background
|
2024-01-05 21:05:46 +01:00
|
|
|
ADD /src/common/resources/images/bg_remnux.png /usr/share/backgrounds/bg_default.png
|
2023-08-16 14:01:44 +02:00
|
|
|
|
2023-03-17 15:12:04 +01:00
|
|
|
# Install Remnux Utils
|
|
|
|
COPY ./src/ubuntu/install/remnux $INST_SCRIPTS/remnux/
|
|
|
|
RUN bash $INST_SCRIPTS/remnux/install_remnux.sh && rm -rf $INST_SCRIPTS/remnux/
|
|
|
|
|
|
|
|
# Install Firefox
|
|
|
|
COPY ./src/ubuntu/install/firefox/ $INST_SCRIPTS/firefox/
|
|
|
|
RUN bash $INST_SCRIPTS/firefox/install_firefox.sh && rm -rf $INST_SCRIPTS/firefox/
|
|
|
|
|
|
|
|
######### 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
|