From 37329ec2470beede65a83103317fbc3a55b5c76e Mon Sep 17 00:00:00 2001 From: Matthew Petroff Date: Fri, 9 Aug 2019 22:34:49 -0400 Subject: [PATCH] Simplify dependencies in Dockerfile. --- utils/multires/Dockerfile | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/utils/multires/Dockerfile b/utils/multires/Dockerfile index 65dc626..383eb7b 100644 --- a/utils/multires/Dockerfile +++ b/utils/multires/Dockerfile @@ -1,19 +1,11 @@ FROM ubuntu:18.04 # docker build -t generate-panorama . -# docker run -it -v $PWD:/data generate-panorama /data/image.png +# docker run -it -v $PWD:/data generate-panorama /data/image.jpg ENV DEBIAN_FRONTEND noninteractive RUN apt-get update && \ - apt-get install -y python3 python3-dev software-properties-common && \ - add-apt-repository ppa:ubuntuhandbook1/apps && \ - apt-get update && \ - apt-get install -y hugin - -RUN apt-get install -y wget && \ - wget https://bootstrap.pypa.io/get-pip.py && \ - python3 get-pip.py && \ - pip3 install Pillow + apt-get install -y python3 python3-pil hugin-tools ADD generate.py /generate.py ENTRYPOINT ["python3", "/generate.py"]