forked from bodsch/docker-jmx4perl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
48 lines (40 loc) · 1.08 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
FROM ubuntu:16.04
MAINTAINER Bodo Schulz <bodo@boone-schulz.de>
ENV \
TERM=xterm \
PAGER=cat \
VERSION=1.12
# ---------------------------------------------------------------------------------------
RUN \
apt-get update && apt-get install -y \
build-essential \
openssl \
perl \
libssl-dev \
libreadline-dev \
libexpat1-dev && \
cpan App::cpanminus < /dev/null && \
cpanm --quiet --notest \
LWP::Protocol::https \
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 && \
apt-get -y purge build-essential libssl-dev libreadline-dev libexpat1-dev && \
apt-get -y autoremove && \
rm -rf \
/root/.cpanm \
/tmp/* \
/var/lib/apt/lists/*
CMD [ "jmx4perl", "--version" ]
# ---------------------------------------------------------------------------------------