Skip to content
Snippets Groups Projects
Verified Commit fe065f3c authored by David Beniamine's avatar David Beniamine
Browse files

Install firefox

parent 871e4474
Branches
No related tags found
No related merge requests found
......@@ -14,6 +14,16 @@ ARG ANACONDA_VERS=Anaconda3-2024.02-1
ARG KASM_USER
COPY <<EOF /etc/apt/preferences.d/firefox-deb-nosnap
Package: firefox*
Pin: release o=Ubuntu*
Pin-Priority: -1
Package: *
Pin: origin ppa.launchpadcontent.net
Pin-Priority: 1000
EOF
RUN sudo add-apt-repository ppa:mozillateam/ppa
RUN apt-get update && \
apt-get purge -y language-pack-* && \
apt-get -y dist-upgrade && \
......@@ -25,6 +35,7 @@ RUN apt-get update && \
language-pack-en \
language-pack-en-base && \
locale-gen --purge fr_FR.UTF-8 en_US.UTF-8
RUN mkdir /install
RUN usermod -l $KASM_USER kasm-user; \
......@@ -42,10 +53,9 @@ RUN if [ "$ANACONDA" = true ] ; then \
chmod u+x $HOME/anaconda3/etc/profile.d/conda.sh; \
echo "source ~/anaconda3/etc/profile.d/conda.sh" >> /home/kasm-default-profile/.bashrc; \
echo "conda activate" >> /home/kasm-default-profile/.bashrc; \
rm -rf $HOME/.cache; \
fi
RUN rm -rf $HOME/.cache
COPY custom_startup.sh $STARTUPDIR/custom_startup.sh
COPY change_password.sh /
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment