Skip to content

Commit

Permalink
more docker build debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeliton committed Mar 5, 2024
1 parent f4bc01d commit 35868af
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions images/datascience-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand All @@ -22,6 +23,7 @@ RUN apt-get update -y && \
htop \
wget \
strace \
YOURMOM \
openssh-client \
openssh-server \
p7zip \
Expand Down Expand Up @@ -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 && \
Expand Down

0 comments on commit 35868af

Please sign in to comment.