Skip to content

Commit

Permalink
Try not to change base
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Oct 4, 2023
1 parent aa92747 commit 2b7d738
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 4 deletions.
5 changes: 4 additions & 1 deletion d4science-base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# 7e1a19a8427f has python3.11
# 4d70cf8da953 has python3.10.11
# Using that to ensure the image remains the same
FROM jupyter/datascience-notebook:4d70cf8da953

# Using that to ensure the image remains the same
FROM jupyter/datascience-notebook:7e1a19a8427f

Expand Down
42 changes: 39 additions & 3 deletions single-user-r-d4science/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,42 @@
ARG BASE_IMAGE=eginotebooks/base:latest
# hadolint ignore=DL3006
FROM $BASE_IMAGE
FROM jupyter/datascience-notebook:7e1a19a8427f

USER root

RUN apt-get update \
&& apt-get install --no-install-recommends -y \
less \
graphviz \
vim \
openssh-client \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

RUN curl https://raw.githubusercontent.com/kadwanev/retry/master/retry \
-o /usr/local/bin/retry && chmod +x /usr/local/bin/retry

USER $NB_UID

RUN mamba install -y -q \
r-plotly \
r-gdata \
rdflib \
prov \
graphviz \
pydot \
lxml \
geojson \
pydap \
xarray \
cartopy \
ipyleaflet \
nbgitpuller \
&& conda clean --all

RUN pip install --no-cache-dir shortid

WORKDIR "${HOME}"

RUN jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-leaflet

RUN mamba install -y --quiet \
r-rpostgres \
Expand Down

0 comments on commit 2b7d738

Please sign in to comment.