Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WI)P: create reana-dev env #48

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/env-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Docker automatic build and publish
on:
push:
branches:
- main
- reana_dev

env:
REGISTRY: ghcr.io
Expand Down
29 changes: 29 additions & 0 deletions vre-singleuser-reana-dev/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
FROM jupyter/scipy-notebook:python-3.9.13
LABEL author="Image based on the work by Muhammad Aditya Hilmy - ESCAPE WP2 2020"
LABEL maintainer="VRE Team @ CERN 2024 - E. Garcia"
LABEL org.opencontainers.image.source https://github.com/vre-hub/environments
ARG BUILD_DATE
LABEL org.label-schema.build-date=$BUILD_DATE

RUN pip install --upgrade pip

USER $NB_UID

RUN pip install reana-client ipykernel

USER root

RUN mkdir -p /certs
RUN mkdir -p /opt/rucio \
&& chown -R $NB_UID /opt/rucio
RUN fix-permissions $HOME/.jupyter

ENV JUPYTER_ENABLE_LAB=yes
# ENV JUPYTERHUB_SINGLEUSER_APP=jupyter-server

ENV JUPYTER_ENABLE_LAB=yes

WORKDIR $HOME
USER $NB_UID

CMD ["start-notebook.sh"]
Loading