From 35868af2cab3d5e43493fefded42d8429ace6a81 Mon Sep 17 00:00:00 2001 From: dafeliton Date: Tue, 5 Mar 2024 14:20:26 -0800 Subject: [PATCH] more docker build debugging --- images/datascience-notebook/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/images/datascience-notebook/Dockerfile b/images/datascience-notebook/Dockerfile index 4f218968..6974e9f1 100644 --- a/images/datascience-notebook/Dockerfile +++ b/images/datascience-notebook/Dockerfile @@ -4,6 +4,7 @@ USER root # Setup datascience apt pkgs + env vars ## see https://github.com/phusion/baseimage-docker/issues/319#issuecomment-1058835363 +# TODO DEBUG remove "YOURMOM" testing docker error ENV DEBIAN_FRONTEND noninteractive ENV DEBCONF_NOWARNINGS="yes" RUN apt-get update -y && \ @@ -22,6 +23,7 @@ RUN apt-get update -y && \ htop \ wget \ strace \ + YOURMOM \ openssh-client \ openssh-server \ p7zip \ @@ -57,9 +59,8 @@ ARG PANDAS_VERSION=2.2.1 STATSMODELS_VERSION=0.14.1 # Install essential+datascience pip packages ## mistune added for nbgrader issues -# TODO DEBUG: Remove nltk_data, this is to test docker exception handling. RUN pip install pillow typing-extensions tzlocal appdirs gputil mock pytest \ - nltk nltk_data statsmodels==$STATSMODELS_VERSION pandas==$PANDAS_VERSION 'mistune>=2' --upgrade && \ + nltk statsmodels==$STATSMODELS_VERSION pandas==$PANDAS_VERSION 'mistune>=2' --upgrade && \ pip install dpkt nose datascience && \ python -c 'import matplotlib.pyplot' && \ fix-permissions $CONDA_DIR && \