From 3f126dadb98202f45181f691e3f4ff78e0b5b956 Mon Sep 17 00:00:00 2001 From: Jim Rybarski Date: Sun, 31 May 2015 06:21:45 +0000 Subject: [PATCH] two dockerfiles as prelude to testing --- Dockerfile => Dockerfile.py27 | 2 +- Dockerfile.py34 | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) rename Dockerfile => Dockerfile.py27 (75%) create mode 100644 Dockerfile.py34 diff --git a/Dockerfile b/Dockerfile.py27 similarity index 75% rename from Dockerfile rename to Dockerfile.py27 index 37f37ee..d2419d3 100644 --- a/Dockerfile +++ b/Dockerfile.py27 @@ -2,7 +2,7 @@ FROM ubuntu MAINTAINER Jim Rybarski RUN mkdir -p /var/nds2 -RUN apt-get update && apt-get install -y \ +RUN apt-get update && apt-get install -y --no-install-recommends \ python-numpy COPY . /opt/nd2reader diff --git a/Dockerfile.py34 b/Dockerfile.py34 new file mode 100644 index 0000000..a9181fa --- /dev/null +++ b/Dockerfile.py34 @@ -0,0 +1,13 @@ +FROM ubuntu +MAINTAINER Jim Rybarski + +RUN mkdir -p /var/nds2 +RUN apt-get update && apt-get install -y --no-install-recommends \ + python3-numpy + +COPY . /opt/nd2reader +WORKDIR /opt/nd2reader +RUN python3 setup.py install +WORKDIR /var/nd2s + +CMD /usr/bin/python3.4 \ No newline at end of file