-
-
Notifications
You must be signed in to change notification settings - Fork 76
/
pg.Dockerfile
45 lines (39 loc) · 950 Bytes
/
pg.Dockerfile
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
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN true
ENV DEBCONF_NOWARNINGS yes
# Install dependencies
RUN apt-get update \
&& apt-get install -y --no-install-recommends --no-install-suggests \
cpanminus \
dvipng \
dvisvgm \
imagemagick \
libc6-dev \
libclass-accessor-perl \
libclass-tiny-perl \
libdbi-perl \
libencode-perl \
libgd-perl \
libhtml-parser-perl \
libjson-perl \
libjson-xs-perl \
liblocale-maketext-lexicon-perl \
libmojolicious-perl \
libtest2-suite-perl \
libtie-ixhash-perl \
libuuid-tiny-perl \
libyaml-libyaml-perl \
make \
pdf2svg \
texlive \
texlive-latex-extra \
texlive-latex-recommended \
texlive-plain-generic \
&& apt-get clean \
&& cpanm -fi --notest HTML::TagParser \
&& rm -fr /var/lib/apt/lists/* ./cpanm /root/.cpanm /tmp/*
RUN mkdir -p /opt/webwork
WORKDIR /opt/webwork/pg
ENV PG_ROOT /opt/webwork/pg
CMD ["/bin/bash"]