Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Container definitions: updated to 0.9.6, changed base images to
python3.6.8-slim, streamlined install of build dependencies and cleanup.
- Loading branch information
Showing
2 changed files
with
22 additions
and
6 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,8 +1,12 @@ | ||
FROM continuumio/miniconda3 | ||
FROM python:3.6.8-slim | ||
|
||
RUN apt-get update && apt-get install -y build-essential | ||
RUN conda create -n scenic python=3.6.7 | ||
RUN echo "source activate scenic" > ~/.bashrc | ||
ENV PATH /opt/conda/envs/scenic/bin:$PATH | ||
RUN pip install --no-cache-dir --upgrade pyscenic dask==1.0.0 pandas==0.23.4 | ||
RUN BUILDPKGS="build-essential apt-utils" && \ | ||
apt-get update && \ | ||
apt-get install -y $BUILDPKGS && \ | ||
apt-get install -y procps && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN pip install --no-cache-dir --upgrade pyscenic==0.9.6 dask==1.0.0 pandas==0.23.4 | ||
|
||
RUN apt-get remove --purge -y $BUILDPKGS | ||
|
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
BootStrap: docker | ||
From: python:3.6.8-slim | ||
|
||
%post | ||
BUILDPKGS="build-essential apt-utils" && \ | ||
apt-get update && \ | ||
apt-get install -y $BUILDPKGS && \ | ||
apt-get install -y procps && \ | ||
rm -rf /var/lib/apt/lists/* | ||
pip install --no-cache-dir --upgrade pyscenic==0.9.6 dask==1.0.0 pandas==0.23.4 | ||
apt-get remove --purge -y $BUILDPKGS | ||
|