-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathDockerfile
138 lines (136 loc) · 3.81 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
#checkov:skip=CKV_DOCKER_2:Ensure that HEALTHCHECK instructions have been added to container images
#checkov:skip=CKV_DOCKER_3:Ensure that a user for the container has been created
ARG IMAGE=debian
ARG TAG=bookworm-slim
FROM ${IMAGE}:${TAG}
LABEL org.opencontainers.image.authors="Christian Loos <cloos@netsandbox.de>"
# hadolint ignore=DL3008
RUN apt-get update && apt-get -y upgrade && apt-get -y install --no-install-recommends \
autoconf \
cpanminus \
curl \
gcc \
gnupg \
vim \
# RT core dependencies
libapache-session-perl \
libbusiness-hours-perl \
libc-dev \
libcgi-emulate-psgi-perl \
libcgi-psgi-perl \
libconvert-color-perl \
libcrypt-eksblowfish-perl \
libcrypt-ssleay-perl \
libcrypt-x509-perl \
libcss-minifier-xs-perl \
libcss-squish-perl \
libdata-guid-perl \
libdata-ical-perl \
libdata-page-pageset-perl \
libdata-page-perl \
libdate-extract-perl \
libdate-manip-perl \
libdatetime-format-natural-perl \
libdbd-sqlite3-perl \
libdbix-searchbuilder-perl \
libdevel-globaldestruction-perl \
libemail-address-list-perl \
libemail-address-perl \
libencode-detect-perl \
libencode-hanextra-perl \
libencode-perl \
libfile-sharedir-perl \
libgd-graph-perl \
libgnupg-interface-perl \
libgraphviz-perl \
libhtml-formatexternal-perl \
libhtml-formattext-withlinks-andtables-perl \
libhtml-formattext-withlinks-perl \
libhtml-gumbo-perl \
libhtml-mason-psgihandler-perl \
libhtml-quoted-perl \
libhtml-rewriteattributes-perl \
libhtml-scrubber-perl \
libipc-run3-perl \
libjavascript-minifier-xs-perl \
libjson-perl \
liblocale-maketext-fuzzy-perl \
liblocale-maketext-lexicon-perl \
liblog-dispatch-perl \
libmailtools-perl \
libmime-tools-perl \
libmime-types-perl \
libmodule-path-perl \
libmodule-refresh-perl \
libmodule-signature-perl \
libmodule-versions-report-perl \
libmoose-perl \
libmoosex-nonmoose-perl \
libmoosex-role-parameterized-perl \
libnet-cidr-perl \
libnet-ip-perl \
libnet-ldap-perl \
libparallel-forkmanager-perl \
libpath-dispatcher-perl \
libperlio-eol-perl \
libplack-perl \
libregexp-common-net-cidr-perl \
libregexp-common-perl \
libregexp-ipv6-perl \
librole-basic-perl \
libscope-upper-perl \
libsymbol-global-name-perl \
libterm-readkey-perl \
libtext-password-pronounceable-perl \
libtext-quoted-perl \
libtext-template-perl \
libtext-wikiformat-perl \
libtext-worddiff-perl \
libtext-wrapper-perl \
libtime-parsedate-perl \
libtree-simple-perl \
libuniversal-require-perl \
libweb-machine-perl \
libxml-rss-perl \
make \
perl-doc \
starlet \
w3m \
# RT developer dependencies
libemail-abstract-perl \
libfile-which-perl \
liblocale-po-perl \
liblog-dispatch-perl-perl \
libmodule-install-perl \
libmojolicious-perl \
libnet-ldap-server-test-perl \
libplack-middleware-test-stashwarnings-perl \
libset-tiny-perl \
libstring-shellquote-perl \
libtest-deep-perl \
libtest-email-perl \
libtest-expect-perl \
libtest-longstring-perl \
libtest-mocktime-hires-perl \
libtest-mocktime-perl \
libtest-nowarnings-perl \
libtest-pod-perl \
libtest-warn-perl \
libtest-www-mechanize-perl \
libtest-www-mechanize-psgi-perl \
libwww-mechanize-perl \
libxml-simple-perl \
&& rm -rf /var/lib/apt/lists/* \
&& cpanm \
# RT dependencies
DBIx::SearchBuilder \
GD::Graph \
GraphViz2 \
Mozilla::CA \
Pod::Select \
# RT dev dependencies
Markdown::Render \
# RT extension development dependencies
Module::Install::RTx \
Module::Install::Substitute \
&& rm -rf /root/.cpanm