-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
53 lines (46 loc) · 1.16 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
FROM alpine:3.9
MAINTAINER Bodo Schulz <[email protected]>
ENV \
TERM=xterm \
VERSION=1.12
# ---------------------------------------------------------------------------------------
RUN \
apk --quiet --no-cache update && \
apk --quiet --no-cache upgrade && \
apk add --quiet --virtual .build-deps \
build-base \
perl-dev \
readline-dev \
ncurses-dev \
libxml2-dev \
expat-dev \
gnupg1 \
openssl-dev \
wget && \
apk --quiet --no-cache add \
perl \
readline \
ncurses-libs && \
cpan App::cpanminus < /dev/null && \
cpanm --quiet --notest \
IO::Socket::Multicast \
Config::General \
Crypt::Blowfish_PP \
Module::Find \
Monitoring::Plugin \
Sys::SigAction \
File::SearchPath \
ExtUtils::MakeMaker \
PJB/Term-Clui-1.70.tar.gz \
Term::ReadLine::Gnu \
Term::ShellUI \
Term::Size \
Net::HTTP \
ROLAND/jmx4perl-${VERSION}.tar.gz && \
apk del --quiet --purge .build-deps && \
rm -rf \
/root/.cpanm \
/tmp/* \
/var/cache/apk/*
CMD [ "jmx4perl", "--version" ]
# ---------------------------------------------------------------------------------------