Skip to content
Snippets Groups Projects
Commit be5487b6 authored by Emmanuel Bruno's avatar Emmanuel Bruno
Browse files

adds xfce.

parent 6763eefd
Branches feature/xfce
No related tags found
No related merge requests found
...@@ -159,6 +159,25 @@ RUN echo -e "\e[93m**** Update Jupyter config ****\e[38;5;241m" && \ ...@@ -159,6 +159,25 @@ RUN echo -e "\e[93m**** Update Jupyter config ****\e[38;5;241m" && \
RUN ln -s /usr/share/plantuml/plantuml.jar /usr/local/bin/ RUN ln -s /usr/share/plantuml/plantuml.jar /usr/local/bin/
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
apt-get update && \
apt-get install -qq --yes --no-install-recommends \
dbus-x11 \
libgl1-mesa-glx \
xfce4 \
xfce4-panel \
xfce4-session \
xfce4-settings \
xorg \
xubuntu-icon-theme && \
rm -rf /var/lib/apt/lists/*
RUN --mount=type=cache,target=${PIP_CACHE_DIR},sharing=locked \
--mount=type=cache,target=${CONDA_PKG_DIR},sharing=locked \
echo -e "\e[93m***** Install Jupyter Remote desktop Extension ****\e[38;5;241m" && \
pip install --quiet --upgrade \
jupyter-remote-desktop-proxy
USER $NB_USER USER $NB_USER
# preinstall gitstatusd # preinstall gitstatusd
......
#!/bin/bash #!/bin/bash
docker build --progress=plain -t brunoe/${PWD##*/}:$(git rev-parse --abbrev-ref HEAD) . docker build --progress=plain -t brunoe/${PWD##*/}:$(git rev-parse --abbrev-ref HEAD|tr '/' '-') .
run.sh 0 → 100755
#!/usr/bin/env bash
WORKDIR=$HOME/JUPYTER_WORK_DIR
echo brunoe/${PWD##*/}:$(git rev-parse --abbrev-ref HEAD)
docker run --rm -it \
--user root \
--name ${PWD##*/} \
--volume $WORKDIR:/home/jovyan/work \
--publish 8888:8888 \
--env NB_UID=$UID \
brunoe/${PWD##*/}:$(git rev-parse --abbrev-ref HEAD|tr '/' '-') $@
# --env CHOWN_HOME_OPTS='-R' --env CHOWN_HOME=yes \
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment