-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
45 lines (42 loc) · 992 Bytes
/
Dockerfile
File metadata and controls
45 lines (42 loc) · 992 Bytes
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
ARG DEBIAN_VERSION=bookworm
FROM debian:${DEBIAN_VERSION}-slim
LABEL org.opencontainers.image.authors="Fastmail Plumbers <rjbs@fastmailteam.com>"
RUN <<EOF
# install prerequisites via apt-get
set -e
apt-get update
apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
openssh-client \
cpanminus \
libapp-cmd-perl \
libboolean-perl \
libdata-guid-perl \
libfuture-perl \
libfuture-asyncawait-perl \
libio-async-perl \
libio-async-ssl-perl \
libjson-xs-perl \
libmoose-perl \
libnet-async-http-perl \
libpath-tiny-perl \
libstring-flogger-perl \
libsub-exporter-perl \
libtime-duration-perl \
libtoml-parser-perl \
libyaml-libyaml-perl \
`# below this are really only for testing, but why not?` \
libtest-deep-perl \
libtest-async-http-perl
rm -rf /var/lib/apt/lists/*
EOF
RUN <<EOF
# install prerequisites via cpanm
set -e
cpanm -n \
Defined::KV \
Process::Status
rm -rf /root/.cpanm
EOF
COPY . /srv/ci-tooling