blob: 6ac0e4f046f1cd66588177a9d0898f8c1791fcbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
FROM ubuntu:bionic
MAINTAINER Yoran Heling <contact@vndb.org>
RUN apt-get update \
&& 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 tzdata \
&& apt-get install -y --no-install-recommends \
build-essential \
cpanminus \
curl \
git \
graphviz \
imagemagick \
libalgorithm-diff-xs-perl \
libanyevent-http-perl \
libanyevent-irc-perl \
libanyevent-perl \
libcrypt-urandom-perl \
libdbd-pg-perl \
libhttp-server-simple-perl \
libimage-magick-perl \
libjson-xs-perl \
libperlio-gzip-perl \
libpq-dev \
libtext-multimarkdown-perl \
libxml-parser-perl \
postgresql \
&& cpanm -vn \
AnyEvent::Pg \
Crypt::ScryptKDF \
SQL::Interp
# Get TUWF from Git; I tend to experiment with VNDB before releasing new versions to CPAN.
# Get Elm from the binaries.
RUN cd /root \
&& git clone git://g.blicky.net/tuwf.git \
&& cd tuwf \
&& perl Build.PL \
&& ./Build install \
&& curl -sL https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz | zcat >/usr/bin/elm \
&& chmod 755 /usr/bin/elm \
&& touch /var/vndb-docker-image
CMD /var/www/util/docker-init.sh
|