Skip to content
Snippets Groups Projects
Commit 1f2bc6e8 authored by Nicolas M. Thiéry's avatar Nicolas M. Thiéry
Browse files

Simplifications maintenant que myDocker le permet

parent c6ed9cc7
No related branches found
No related tags found
No related merge requests found
Pipeline #51177 failed
...@@ -16,8 +16,6 @@ build_image: ...@@ -16,8 +16,6 @@ build_image:
script: script:
- buildah build-using-dockerfile --format docker -t ${DEPENDENCIES_IMAGE_NAME} --file Dockerfile-CI . - buildah build-using-dockerfile --format docker -t ${DEPENDENCIES_IMAGE_NAME} --file Dockerfile-CI .
- buildah push --authfile ${REGISTRY_AUTH_FILE} ${DEPENDENCIES_IMAGE_NAME} - buildah push --authfile ${REGISTRY_AUTH_FILE} ${DEPENDENCIES_IMAGE_NAME}
- buildah build-using-dockerfile --pull-never --format docker -t ${MYDOCKER_IMAGE_NAME} --file Dockerfile-myDocker-CI .
- buildah push --authfile ${REGISTRY_AUTH_FILE} ${MYDOCKER_IMAGE_NAME}
after_script: after_script:
- podman logout "${CI_REGISTRY}" - podman logout "${CI_REGISTRY}"
# only: # only:
......
...@@ -14,5 +14,7 @@ RUN cp -rav /tmp/binder/install_files/* /opt/conda/ ...@@ -14,5 +14,7 @@ RUN cp -rav /tmp/binder/install_files/* /opt/conda/
RUN rm -rf /tmp/binder RUN rm -rf /tmp/binder
# Set default language # Set up environment
VOLUME /home/mambauser
ENV SHELL=/bin/bash
ENV LANG fr_FR.UTF-8 ENV LANG fr_FR.UTF-8
FROM gitlab.dsi.universite-paris-saclay.fr:5005/jupyterhub-paris-saclay/images-alternatives/tutoriel-jupyter/image:latest
VOLUME /home/mambauser
HEALTHCHECK NONE
ENTRYPOINT ["/opt/conda/bin/mydocker_entrypoint.sh"]
# Image Julia pour myDocker # Image docker pour la découverte de Jupyter
Ce dépôt permet de construire par intégration continue une image Ce dépôt permet de construire par intégration continue une image
Docker pour utilisation par myDocker. Docker pour la découverte de Jupyter et notamment pour le [dispositif
d'accompagnement à la découverte, de la programmation, du calcul et
des données avec
Jupyter](https://ecampus.paris-saclay.fr/course/view.php?id=69064#section-0). Elle
sert pour un
[environnement virtuel](https://mydocker.universite-paris-saclay.fr/shell/join/JGaUlNfYxAdxfheRHWHg)
sur
[myDocker@Paris-Saclay](https://mydocker.universite-paris-saclay.fr/)
Pour ajuster la liste des logiciels installés, éditer le fichier Pour ajuster la liste des logiciels installés, éditez le fichier
[environment.yml](environment.yml). [environment.yml](environment.yml).
Pour ajuster la liste des paquets Julia installés, éditer le fichier Après chaque dépôt, l'image Docker sera automatiquement construite, et
[Dockerfile-CI](Dockerfile-CI). disponible, notamment pour usage sur myDocker.
Après avoir déposé, l'image Docker sera automatiquement construite,
et disponible pour usage sur myDocker.
#!/bin/bash
set -e
source _activate_current_env.sh
export SHELL=/bin/bash
jupyter lab \
--IdentityProvider.token=${2} \
--ip="0.0.0.0" \
--notebook-dir=/home/mambauser \
--MappingKernelManager.cull_idle_timeout=3600 \
--MappingKernelManager.cull_interval=300 \
--TerminalManager.cull_inactive_timeout=3600 \
--TerminalManager.cull_interval=300
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment