Last active
March 24, 2017 13:23
-
-
Save HugoGuiroux/4ea0909e629cdaede55b to your computer and use it in GitHub Desktop.
Dockerfile for Phoenix-2.0. Last version at https://github.com/GHugo/docker-phoenix-2.0/
This file contains hidden or 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
| FROM debian:stable | |
| MAINTAINER Hugo Guiroux <gx.hugo+githubdocker@gmail.com> version: 0.1 | |
| # Install tools to build | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| git \ | |
| wget && \ | |
| rm -rf /var/lib/apt/lists/* | |
| # Clone the repository of the original author | |
| RUN git clone https://github.com/kozyraki/phoenix.git | |
| # Compile phoenix | |
| RUN cd phoenix/phoenix-2.0 && make | |
| # Copy the list of datasets inside the container | |
| COPY datasets_list.txt /tmp/ | |
| # Retrieve the datasets | |
| RUN mkdir -p /data && \ | |
| cd /data && \ | |
| wget -i /tmp/datasets_list.txt && \ | |
| for f in *.tar.gz; do tar -xf $f && rm $f; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment