Source code of the Visual Novel Database https://vndb.org/
website

Dockerfile 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. FROM ubuntu:bionic
  2. MAINTAINER Yoran Heling <contact@vndb.org>
  3. RUN apt-get update
  4. RUN apt-get install -y locales && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
  5. ENV LANG en_US.utf8
  6. RUN apt-get install -y tzdata && apt-get install -y --no-install-recommends \
  7. build-essential \
  8. cpanminus \
  9. curl \
  10. git \
  11. graphviz \
  12. imagemagick \
  13. libalgorithm-diff-xs-perl \
  14. libanyevent-irc-perl \
  15. libanyevent-perl \
  16. libcrypt-urandom-perl \
  17. libdbd-pg-perl \
  18. libfcgi-perl \
  19. libhttp-server-simple-perl \
  20. libimage-magick-perl \
  21. libjson-xs-perl \
  22. libperlio-gzip-perl \
  23. libpq-dev \
  24. libtext-multimarkdown-perl \
  25. libtie-ixhash-perl \
  26. libxml-parser-perl \
  27. postgresql
  28. # These modules aren't packaged
  29. RUN cpanm -vn \
  30. Crypt::ScryptKDF \
  31. AnyEvent::Pg
  32. # Get TUWF from Git; I tend to experiment with VNDB before releasing new versions to CPAN.
  33. RUN cd /root && git clone git://g.blicky.net/tuwf.git && cd tuwf && perl Build.PL && ./Build install
  34. RUN touch /var/vndb-docker-image
  35. CMD /var/www/util/docker-init.sh