From 0f3651bd0c7ac970c958089fc9db8025b597095d Mon Sep 17 00:00:00 2001 From: Sean Donovan Date: Thu, 14 Nov 2019 13:29:54 -0500 Subject: [PATCH] #126 - Updates to both Dockerfiles to have all that's necessary. --- docker/pseudo_dtn/Dockerfile | 4 ++-- docker/sci_gw_demo/Dockerfile | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/pseudo_dtn/Dockerfile b/docker/pseudo_dtn/Dockerfile index 73084497..89f61c26 100644 --- a/docker/pseudo_dtn/Dockerfile +++ b/docker/pseudo_dtn/Dockerfile @@ -1,4 +1,4 @@ -FROM metabrainz/docker-anon-ftp +FROM ubuntu:16.04 RUN apt-get update && apt-get install -y ftp RUN apt-get install -y python3-pip @@ -7,4 +7,4 @@ RUN pip3 install flask flask_restful COPY server.py /root/ -CMD python3 /root/server.py \ No newline at end of file +CMD python3 /root/server.py $SERVERIP $SERVERPORT \ No newline at end of file diff --git a/docker/sci_gw_demo/Dockerfile b/docker/sci_gw_demo/Dockerfile index f186e44f..68834314 100644 --- a/docker/sci_gw_demo/Dockerfile +++ b/docker/sci_gw_demo/Dockerfile @@ -1,6 +1,7 @@ FROM ubuntu:18.04 RUN apt update && apt install -y iputils-ping iperf net-tools +RUN apt install -y python3 curl COPY science_gateway.py /root/