Skip to content

Commit

Permalink
Merge pull request #35 from pfernique/add_docker
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
pfernique committed Aug 19, 2016
2 parents 2ce1040 + e3f508c commit 1ec5f0f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ FROM statiskit/ubuntu:trusty

# Clone the repository
RUN git clone https://github.com/StatisKit/AutoWIG.git $HOME/AutoWIG
RUN git -C $HOME/AutoWIG pull
RUN more $HOME/AutoWIG/conda/python-autowig/meta.yaml

# Build recipes
RUN $HOME/miniconda/bin/conda build $HOME/AutoWIG/conda/python-clang -c statiskit
RUN $HOME/miniconda/bin/conda build $HOME/AutoWIG/conda/python-clang -c statiskit -c conda-forge
RUN $HOME/miniconda/bin/conda build $HOME/AutoWIG/conda/python-autowig -c statiskit -c conda-forge

# Create a file for anaconda upload
Expand All @@ -13,5 +15,4 @@ RUN echo "$HOME/miniconda/bin/anaconda upload `conda build $HOME/AutoWIG/conda/p
RUN echo "$HOME/miniconda/bin/anaconda upload `conda build $HOME/AutoWIG/conda/python-autowig --output` --user statiskit --force" >> $HOME/upload.sh

# Install packages
RUN $HOME/miniconda/bin/conda install python-clang -c statiskit --use-local
RUN $HOME/miniconda/bin/conda install python-autowig -c statiskit -c conda-forge --use-local

0 comments on commit 1ec5f0f

Please sign in to comment.