-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
118 lines (106 loc) · 5.39 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
FROM ubuntu:23.04
RUN apt-get update && \
apt-get dist-upgrade -y && \
apt-get install -y ack && \
apt-get install -y git && \
apt-get install -y jq && \
apt-get install -y less && \
apt-get install -y libgd-dev && \
apt-get install -y pkg-config && \
apt-get install -y python3 && \
apt-get install -y python3-pip && \
apt-get install -y python3-virtualenv && \
apt-get install -y ruby && \
apt-get install -y ruby-dev && \
apt-get install -y ruby-bundler && \
apt-get install -y libssl-dev && \
apt-get install -y vim && \
apt-get install -y zlib1g-dev && \
echo DONE
# Perl
RUN apt-get install -y cpanminus && \
cpanm --notest Data::Structure::Util && \
cpanm --notest DateTime::Format::ISO8601 && \
cpanm --notest Dist::Zilla && \
cpanm --notest Dist::Zilla::Plugin::Config::Git && \
cpanm --notest Dist::Zilla::Plugin::ConfirmRelease && \
cpanm --notest Dist::Zilla::Plugin::CPANFile && \
cpanm --notest Dist::Zilla::Plugin::ExtraTests && \
cpanm --notest Dist::Zilla::Plugin::GatherDir && \
cpanm --notest Dist::Zilla::Plugin::GitHub::Meta && \
cpanm --notest Dist::Zilla::Plugin::Git::Tag && \
cpanm --notest Dist::Zilla::Plugin::License && \
cpanm --notest Dist::Zilla::Plugin::MakeMaker && \
cpanm --notest Dist::Zilla::Plugin::Manifest && \
cpanm --notest Dist::Zilla::Plugin::MetaJSON && \
cpanm --notest Dist::Zilla::Plugin::MetaProvides::Package && \
cpanm --notest Dist::Zilla::Plugin::MetaYAML && \
cpanm --notest Dist::Zilla::Plugin::PkgVersion && \
cpanm --notest Dist::Zilla::Plugin::Pod2Readme && \
cpanm --notest Dist::Zilla::Plugin::PodSyntaxTests && \
cpanm --notest Dist::Zilla::Plugin::Prereqs && \
cpanm --notest Dist::Zilla::Plugin::PruneCruft && \
cpanm --notest Dist::Zilla::Plugin::TestRelease && \
cpanm --notest Dist::Zilla::Plugin::UploadToCPAN && \
cpanm --notest Dist::Zilla::Plugin::CheckChangeLog && \
cpanm --notest Dist::Zilla::Plugin::ContributorsFile && \
cpanm --notest Dist::Zilla::Plugin::Git::Contributors && \
cpanm --notest Dist::Zilla::Plugin::GitHubREADME::Badge && \
cpanm --notest Dist::Zilla::Plugin::PodWeaver && \
cpanm --notest Dist::Zilla::Plugin::ReadmeAddDevInfo && \
cpanm --notest Dist::Zilla::Plugin::ReadmeAnyFromPod && \
cpanm --notest Dist::Zilla::Plugin::SyncCPANfile && \
cpanm --notest Dist::Zilla::PluginBundle::Author::DOMM && \
cpanm --notest Devel::Cover && \
cpanm --notest JSON && \
cpanm --notest MetaCPAN::Client && \
cpanm --notest Mock::Quick && \
cpanm --notest Perl::Critic && \
cpanm --notest Template && \
echo DONE Perl installations
# PHP
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata
RUN apt-get install -y php-cli composer php-curl
# Python
RUN virtualenv -p python3 /venv && \
. /venv/bin/activate && \
pip install pytest pytest-random-order pytest-coverage pytest-xdist && \
echo ". /venv/bin/activate" >> /root/.bashrc
# Ruby bundler needed this
RUN git config --global --add safe.directory /opt
RUN apt-get -y install php-pear phpunit
RUN cpanm --notest Module::Install && \
cpanm --notest ExtUtils::MakeMaker::CPANfile && \
cpanm --notest Data::GUID && \
cpanm --notest Devel::StrictMode && \
cpanm --notest MooX::Enumeration && \
cpanm --notest MooX::ProtectedAttributes && \
cpanm --notest MooX::Should && \
cpanm --notest OpenTracing::Interface && \
cpanm --notest OpenTracing::Types && \
cpanm --notest Role::Declare::Should && \
cpanm --notest Sub::Trigger::Lock && \
cpanm --notest Test::Interface && \
cpanm --notest Test::MockObject::Extends && \
cpanm --notest Test::OpenTracing::Interface && \
cpanm --notest Test::Time::HiRes && \
echo DONE
RUN cpanm --notest HTTP::Response::Maker && \
cpanm --notest Hash::Merge && \
cpanm --notest MooX::Attribute::ENV && \
cpanm --notest Test::JSON && \
cpanm --notest Test::MockModule && \
cpanm --notest Test::URI && \
cpanm --notest Types::URI && \
cpanm --notest SPVM && \
cpanm --notest Class::Utils && \
cpanm --notest Error::Pure && \
cpanm --notest File::Object && \
cpanm --notest IO::Barf && \
cpanm --notest Pod::Example && \
cpanm --notest Test::NoWarnings && \
cpanm --notest Test::Output && \
cpanm --notest Log::Any && \
cpanm --notest Log::Log4perl && \
cpanm --notest MooX::TypeTiny && \
echo DONE