Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
Cornelius Specht | 6e5db168bc | |
Cornelius Specht | d315f2c1ab | |
Cornelius Specht | 267a6ae51e |
|
@ -1,17 +1,16 @@
|
||||||
steps:
|
steps:
|
||||||
publish-container:
|
build_and_release:
|
||||||
image: taywee/woodpecker-buildah:amd64
|
image: maltegrosse/woodpecker-buildah:0.0.12
|
||||||
pull: true
|
|
||||||
environment:
|
|
||||||
- CONDA_CUDA_OVERRIDE=11.2
|
|
||||||
- NVIDIA_VISIBLE_DEVICES=all
|
|
||||||
settings:
|
settings:
|
||||||
registry: git.sandbox.iuk.hdm-stuttgart.de
|
registry: git.sandbox.iuk.hdm-stuttgart.de
|
||||||
repo: specht/woodpecker-test
|
repository: specht/woodpecker-test
|
||||||
cache: false
|
#tag: 4.0.12c
|
||||||
# tag: 0.0.1
|
architectures: aarch64 amd64
|
||||||
context: Dockerfile
|
context: Dockerfile
|
||||||
|
imagename: jupyterlab-datascience
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
|
when:
|
||||||
|
branch: main
|
21
Dockerfile
21
Dockerfile
|
@ -1 +1,20 @@
|
||||||
FROM hello-world:linux
|
ARG LAB_IMAGE=quay.io/jupyter/scipy-notebook:lab-4.0.12
|
||||||
|
ARG NB_USER="jovyan"
|
||||||
|
ARG NB_UID="1000"
|
||||||
|
ARG NB_GID="100"
|
||||||
|
FROM ${LAB_IMAGE}
|
||||||
|
# kaniko issue https://github.com/GoogleContainerTools/kaniko/issues/1087
|
||||||
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||||
|
USER root
|
||||||
|
RUN apt-get update --yes && \
|
||||||
|
apt-get install --yes --no-install-recommends \
|
||||||
|
git-lfs
|
||||||
|
USER ${NB_UID}
|
||||||
|
RUN echo "install custom extensions "
|
||||||
|
RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-sandbox-theme==0.1.4
|
||||||
|
RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-sandbox-announcement==0.1.3
|
||||||
|
#RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-data-pool
|
||||||
|
#RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-training
|
||||||
|
#RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-synthetic-data
|
||||||
|
RUN pip install ipywebrtc==0.6.0 opencv-python-headless==4.9.0.80 voila==0.5.5
|
||||||
|
RUN jupyter labextension disable "@jupyterlab/apputils-extension:announcements"
|
Loading…
Reference in New Issue