Commit 3a354bae authored by jlaura's avatar jlaura Committed by GitHub
Browse files

Merge pull request #230 from evindunn/dev

Added Dockerfile for autocnet environment
parents 0913c88e 2db0e0ea
Loading
Loading
Loading
Loading

docker/Dockerfile

0 → 100644
+17 −0
Original line number Diff line number Diff line
FROM continuumio/miniconda3

WORKDIR /root

# OpenCV deps
RUN apt-get update
RUN apt-get -y upgrade
RUN apt-get install -y libgomp1
RUN apt-get install -y libgl1-mesa-glx

# Anaconda environment
ADD environment.yml /root
RUN conda env update -f environment.yml

# Clone source
RUN git clone https://github.com/USGS-Astrogeology/autocnet.git
WORKDIR /root/autocnet

docker/README.md

0 → 100644
+8 −0
Original line number Diff line number Diff line
To Download:
    docker pull evindunn/autocnet

To Build (From directory with Dockerfile and environment.yml):
    docker build -t autocnet .

To Run:
    docker run -it --name [container_name] autocnet

docker/environment.yml

0 → 100644
+34 −0
Original line number Diff line number Diff line
name: root
prefix: /opt/conda
channels:
  - conda-forge
  - usgs-astrogeology
  - menpo
dependencies:
  - python=3
  - cython
  - cyvlfeat
  - matplotlib
  - dill
  - gdal
  - geopandas
  - jupyter
  - networkx
  - numexpr
  - numpy
  - opencv
  - pandas
  - plio
  - pyyaml
  - runipy
  - scipy
  - shapely
  - sqlalchemy
  - vlfeat
  - pip:
    - pillow
    - protobuf
    - pvl
    - pysal
    - pytest
    - pytest-coverage