blob: f93631bd12f61c75918ddf5593891561d06f27df (
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
|
FROM debian:stretch-slim
ARG DEBIAN_FRONTEND=noninteractive
COPY cpanfile /app/cpanfile
WORKDIR /app
RUN apt-get update && apt-get install --no-install-recommends -y \
ca-certificates \
cpanminus \
gcc \
git \
libc6-dev \
libdb5.3 \
libdb5.3-dev \
libpq-dev \
libssl1.1 \
libssl-dev \
libxml2 \
libxml2-dev \
make \
zlib1g-dev \
&& cpanm -in --no-man-pages --installdeps . \
&& rm -rf ~/.cpanm \
&& apt-get purge -y \
cpanminus \
curl \
gcc \
libc6-dev \
libdb5.3-dev \
libssl-dev \
libxml2-dev \
make \
zlib1g-dev \
&& apt-get autoremove -y
COPY . /app
CMD ["/app/docker-run.sh"]
|