Skip to content

Commit a74d4cb

Browse files
authored
Update Dockerfile
1 parent 7633fc2 commit a74d4cb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

images/datascience-notebook/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ ENV DEBCONF_NOWARNINGS="yes"
1414
RUN apt-get update -y && \
1515
apt-get -qq install -y --no-install-recommends \
1616
git \
17+
libgdal-dev \
18+
libproj-dev \
19+
libgeos-dev \
20+
libudunits-dev \
21+
libgit2-dev \
22+
pkg-config \
1723
curl \
1824
rsync \
1925
unzip \
@@ -94,16 +100,13 @@ RUN uv pip install jupyterhub==$JUPYTERHUB_VERSION jupyter_server==$JUPYTERSERVE
94100
# Install R packages
95101
RUN R -e "install.packages(c('sf', 'markdown', 'covr', 'git2r', 'crosstalk', 'DT'), repos='https://cloud.r-project.org')" && \
96102
fix-permissions $CONDA_DIR && \
97-
fix-permissions /home/$NB_USER && \
103+
fix-permissions /home/$NB_USER
98104

99105
# Run install-python + cleanup
100106
RUN /usr/share/datahub/scripts/install-python-all.sh && \
101107
chown -R jovyan:users /opt/conda/etc/jupyter/nbconfig && \
102108
chmod -R +r /opt/conda/etc/jupyter/nbconfig
103109

104-
RUN mamba remove --force libsqlite && \
105-
mamba install -y libsqlite==3.46.1
106-
107110
# Disable the jupyterlab extensions manager
108111
RUN jupyter labextension disable @jupyterlab/extensionmanager-extension
109112

@@ -112,7 +115,4 @@ RUN jupyter labextension disable @jupyterlab/extensionmanager-extension
112115
ENV NBGRADER_COURSEID="NA"
113116
ENV JUPYTERHUB_USER=${NB_USER}
114117

115-
RUN pip cache purge
116-
RUN conda clean -t -p -i -y
117-
118118
WORKDIR /home/jovyan

0 commit comments

Comments
 (0)