diff options
author | Yorhel <git@yorhel.nl> | 2017-12-09 09:49:17 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2017-12-09 09:49:17 +0100 |
commit | 66b1bce16cf42461185060f999724b775bb0a2cb (patch) | |
tree | facd944e234498b60f5d7d7d0a4c1452e7a29461 /Dockerfile | |
parent | fe407fe3ec01deba81a6eee896699c65a0566426 (diff) |
Add Docker config
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..0220e6b5 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,39 @@ +FROM ubuntu:rolling +MAINTAINER Yoran Heling <contact@vndb.org> + +RUN apt-get update + +RUN apt-get install -y locales && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 +ENV LANG en_US.utf8 + +RUN apt-get install -y --no-install-recommends \ + build-essential \ + cpanminus \ + git \ + graphviz \ + imagemagick \ + libalgorithm-diff-xs-perl \ + libanyevent-irc-perl \ + libanyevent-perl \ + libcrypt-urandom-perl \ + libdbd-pg-perl \ + libfcgi-perl \ + libhttp-server-simple-perl \ + libimage-magick-perl \ + libjson-xs-perl \ + libperlio-gzip-perl \ + libpq-dev \ + libtie-ixhash-perl \ + libxml-parser-perl \ + postgresql + +# These modules aren't packaged +RUN cpanm -vn \ + Crypt::ScryptKDF \ + AnyEvent::Pg + +# Get TUWF from Git; I tend to experiment with VNDB before releasing new versions to CPAN. +RUN cd /root && git clone git://g.blicky.net/tuwf.git && cd tuwf && perl Build.PL && ./Build install + +RUN touch /var/vndb-docker-image +CMD /var/www/util/docker-init.sh |