generated from ucsd-ets/datahub-example-notebook
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c7ca5c1
commit 5f2a053
Showing
1 changed file
with
1 addition
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,10 @@ | ||
# 1) choose base container | ||
# generally use the most recent tag | ||
|
||
# base notebook, contains Jupyter and relevant tools | ||
# See https://github.com/ucsd-ets/datahub-docker-stack/wiki/Stable-Tag | ||
# for a list of the most current containers we maintain | ||
ARG BASE_CONTAINER=ghcr.io/ucsd-ets/scipy-ml-notebook:stable | ||
|
||
FROM $BASE_CONTAINER | ||
FROM ghcr.io/ucsd-ets/scipy-ml-notebook:stable | ||
|
||
LABEL maintainer="UC San Diego ITS/ETS <[email protected]>" | ||
|
||
# 2) change to root to install packages | ||
USER root | ||
|
||
#RUN apt-get -y install htop | ||
|
||
#RUN conda env create --file /tmp/env.yml && \ | ||
# eval "$(conda shell.bash hook)" && \ | ||
# conda activate ${KERNEL} && \ | ||
|
@@ -27,10 +17,3 @@ USER root | |
|
||
# 3) install packages using notebook user | ||
USER jovyan | ||
|
||
# RUN conda install -y scikit-learn | ||
|
||
RUN pip install --no-cache-dir networkx scipy | ||
|
||
# Override command to disable running jupyter notebook at launch | ||
# CMD ["/bin/bash"] |