Skip to content

Instantly share code, notes, and snippets.

@HugoGuiroux
Last active March 24, 2017 13:23
Show Gist options
  • Select an option

  • Save HugoGuiroux/4ea0909e629cdaede55b to your computer and use it in GitHub Desktop.

Select an option

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/
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