Skip to content

Commit

Permalink
- modify cpu version with latest miniconda
Browse files Browse the repository at this point in the history
- add docker-compose-cpu.yml
  • Loading branch information
Travis committed Jul 15, 2018
1 parent 6a198dc commit 0687915
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

ADD https://repo.continuum.io/miniconda/Miniconda3-4.2.12-Linux-x86_64.sh tmp/Miniconda3-4.2.12-Linux-x86_64.sh
RUN bash tmp/Miniconda3-4.2.12-Linux-x86_64.sh -b
ADD https://repo.continuum.io/miniconda/Miniconda3-4.5.4-Linux-x86_64.sh tmp/Miniconda3-4.5.4-Linux-x86_64.sh
RUN bash tmp/Miniconda3-4.5.4-Linux-x86_64.sh -b
ENV PATH $PATH:/root/miniconda3/bin/
RUN conda update -n base conda -y

This comment has been minimized.

Copy link
@Tsuihao

Tsuihao Jul 15, 2018

Owner

add conda update, so the version is not that important anymore.


COPY environment.yml .
RUN conda env create -f environment.yml
Expand Down
10 changes: 10 additions & 0 deletions docker-compose-cpu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: '2'

services:
carnd:
build:
context: .
dockerfile: Dockerfile.cpu

ports:
- '8888:8888'

0 comments on commit 0687915

Please sign in to comment.