Loading .gitlab-ci.yml +22 −9 Original line number Diff line number Diff line build: image: docker stage: build services: - docker:dind stages: - build - push variables: CI_REGISTRY: registry.biblio19.net:5005 IMAGE_TAG: $CI_REGISTRY/school/capstone-design/02/jupyterhub-gpu:init script: before_script: - echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin build: stage: build script: - docker build -t $IMAGE_TAG . --no-cache push: stage: push script: - docker push $IMAGE_TAG rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH No newline at end of file Dockerfile +2 −2 Original line number Diff line number Diff line Loading @@ -14,8 +14,8 @@ RUN apt-get update -qq \ && rm -rf /var/lib/apt/lists/* RUN npm install -g configurable-http-proxy RUN python3 -m pip install --no-cache-dir jupyterhub jupyterlab sudospawner tensorflow RUN python3 -m pip install --no-cache-dir jupyterlab-git pandas seaborn beautifulsoup4 bokeh h5py ipympl scipy ipywidgets RUN python3 -m pip install --no-cache-dir jupyterhub jupyterlab sudospawner tensorflow jupyterhub-ldapauthenticator RUN python3 -m pip install --no-cache-dir jupyterlab-git pandas seaborn beautifulsoup4 bokeh h5py ipympl scipy ipywidgets folium RUN groupadd jupyterhub RUN useradd -rm -d /home/rhea -s /bin/bash -G sudo -u 1000 -g jupyterhub rhea Loading Loading
.gitlab-ci.yml +22 −9 Original line number Diff line number Diff line build: image: docker stage: build services: - docker:dind stages: - build - push variables: CI_REGISTRY: registry.biblio19.net:5005 IMAGE_TAG: $CI_REGISTRY/school/capstone-design/02/jupyterhub-gpu:init script: before_script: - echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin build: stage: build script: - docker build -t $IMAGE_TAG . --no-cache push: stage: push script: - docker push $IMAGE_TAG rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH No newline at end of file
Dockerfile +2 −2 Original line number Diff line number Diff line Loading @@ -14,8 +14,8 @@ RUN apt-get update -qq \ && rm -rf /var/lib/apt/lists/* RUN npm install -g configurable-http-proxy RUN python3 -m pip install --no-cache-dir jupyterhub jupyterlab sudospawner tensorflow RUN python3 -m pip install --no-cache-dir jupyterlab-git pandas seaborn beautifulsoup4 bokeh h5py ipympl scipy ipywidgets RUN python3 -m pip install --no-cache-dir jupyterhub jupyterlab sudospawner tensorflow jupyterhub-ldapauthenticator RUN python3 -m pip install --no-cache-dir jupyterlab-git pandas seaborn beautifulsoup4 bokeh h5py ipympl scipy ipywidgets folium RUN groupadd jupyterhub RUN useradd -rm -d /home/rhea -s /bin/bash -G sudo -u 1000 -g jupyterhub rhea Loading