From 1935a1f29e2b2f1a5791f3eb1a9b571be5a309b1 Mon Sep 17 00:00:00 2001 From: Johannes Schickling Date: Thu, 27 Nov 2014 18:17:49 +0100 Subject: [PATCH] hugin --- README.md | 1 + hugin/Dockerfile | 11 +++++++++++ hugin/README.md | 11 +++++++++++ hugin/install.sh | 14 ++++++++++++++ 4 files changed, 37 insertions(+) create mode 100644 hugin/Dockerfile create mode 100644 hugin/README.md create mode 100644 hugin/install.sh diff --git a/README.md b/README.md index 39438a0..898aa47 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ Collection of lightweight and ready-to-use docker images ## Images +* **[Hugin](https://github.com/schickling/dockerfiles/tree/master/hugin)** - Hugin & Panorama tools * **[Jekyll](https://github.com/schickling/dockerfiles/tree/master/jekyll)** - Lightweight jekyll working environment * **[Latex](https://github.com/schickling/dockerfiles/tree/master/latex)** - Full texlive distribution * **[Mailcatcher](https://github.com/schickling/dockerfiles/tree/master/mailcatcher)** - Extra small mailcatcher image diff --git a/hugin/Dockerfile b/hugin/Dockerfile new file mode 100644 index 0000000..044bd79 --- /dev/null +++ b/hugin/Dockerfile @@ -0,0 +1,11 @@ +FROM debian:jessie +MAINTAINER Johannes Schickling "schickling.j@gmail.com" + +ENV DEBIAN_FRONTEND noninteractive + +ADD install.sh install.sh +RUN chmod +x install.sh && ./install.sh && rm install.sh + +VOLUME ["/source"] +WORKDIR /source +CMD ["bash"] diff --git a/hugin/README.md b/hugin/README.md new file mode 100644 index 0000000..8982d43 --- /dev/null +++ b/hugin/README.md @@ -0,0 +1,11 @@ +# hugin + +Hugin & Panorama tools + +## Usage + +```sh +$ docker run --rm -it -v $(pwd):/source schickling/jekyll +``` + +Mount your local source folder to the container and use hugin or the pano tools. diff --git a/hugin/install.sh b/hugin/install.sh new file mode 100644 index 0000000..aa47837 --- /dev/null +++ b/hugin/install.sh @@ -0,0 +1,14 @@ +#! /bin/bash + +# exit if a command fails +set -e + +# install hugin & panotools +apt-get update && apt-get install -y hugin + +# cleanup package manager +apt-get autoclean && apt-get clean +rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + +# prepare dir +mkdir /source