Compare commits
No commits in common. "master" and "lab-3.4.3" have entirely different histories.
|
@ -1,15 +1,10 @@
|
||||||
steps:
|
pipeline:
|
||||||
build_and_release:
|
publish-container:
|
||||||
image: maltegrosse/woodpecker-buildah:0.0.12
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
secrets: [ docker_username, docker_password ]
|
||||||
|
group: docker
|
||||||
settings:
|
settings:
|
||||||
registry: git.sandbox.iuk.hdm-stuttgart.de
|
registry: https://git.sandbox.iuk.hdm-stuttgart.de
|
||||||
repository: grosse/jupyterlab-datascience
|
repo: git.sandbox.iuk.hdm-stuttgart.de/grosse/jupyterlab-datascience
|
||||||
tag: 4.0.12f
|
dockerfile: Dockerfile
|
||||||
architectures: amd64 aarch64
|
tags: latest
|
||||||
context: Dockerfile
|
|
||||||
imagename: jupyterlab-datascience
|
|
||||||
username:
|
|
||||||
from_secret: docker_username
|
|
||||||
password:
|
|
||||||
from_secret: docker_password
|
|
||||||
|
|
35
Dockerfile
35
Dockerfile
|
@ -1,29 +1,10 @@
|
||||||
ARG LAB_IMAGE=quay.io/jupyter/scipy-notebook:lab-4.0.12
|
ARG LAB_IMAGE=jupyter/datascience-notebook:lab-3.4.3
|
||||||
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
|
|
||||||
# Install pgrok
|
|
||||||
RUN export url="https://github.com/pgrok/pgrok/releases/download/v1.4.1/pgrok_1.4.1_linux_"; \
|
|
||||||
if [ `uname -m` == "aarch64" ]; then \
|
|
||||||
export arch='arm64' \
|
|
||||||
&& wget --quiet ${url}${arch}.tar.gz -O pgrok_linux_${arch}.tar.gz ; \
|
|
||||||
else \
|
|
||||||
export arch='amd64' \
|
|
||||||
&& wget --quiet ${url}${arch}.tar.gz -O pgrok_linux_${arch}.tar.gz ; \
|
|
||||||
fi \
|
|
||||||
&& tar -xzf pgrok_linux_${arch}.tar.gz \
|
|
||||||
&& mv pgrok /usr/local/bin/pgrok
|
|
||||||
|
|
||||||
USER ${NB_UID}
|
FROM ${LAB_IMAGE}
|
||||||
RUN echo "install custom extensions"
|
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.6
|
#RUN python3 -m pip install --upgrade pip setuptools wheel
|
||||||
RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-sandbox-announcement==0.1.6
|
RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-sandbox-theme
|
||||||
RUN pip install ipywebrtc==0.6.0 opencv-python-headless==4.9.0.80 voila==0.5.5 jupyterlab_rise==0.42.0
|
#RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-data-pool
|
||||||
RUN jupyter labextension disable "@jupyterlab/apputils-extension:announcements"
|
#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 opencv-python-headless voila==0.3.7
|
||||||
|
|
|
@ -1,3 +1 @@
|
||||||
# Jupyterlab Datasciene Container
|
# Jupyterlab Datasciene Container
|
||||||
|
|
||||||
Lab: 4.0.12
|
|
|
@ -1,15 +0,0 @@
|
||||||
steps:
|
|
||||||
build_and_release:
|
|
||||||
image: taywee/woodpecker-buildah:amd64
|
|
||||||
#image: maltegrosse/plugin-kaniko:latest
|
|
||||||
pull: true
|
|
||||||
settings:
|
|
||||||
registry: git.sandbox.iuk.hdm-stuttgart.de
|
|
||||||
repo: grosse/jupyterlab-datascience
|
|
||||||
cache: false
|
|
||||||
tag: git.sandbox.iuk.hdm-stuttgart.de/grosse/jupyterlab-datascience:4.0.12b
|
|
||||||
context: Dockerfile
|
|
||||||
username:
|
|
||||||
from_secret: docker_username
|
|
||||||
password:
|
|
||||||
from_secret: docker_password
|
|
Loading…
Reference in New Issue