Skip to content

Commit 08e1866

Browse files
committed
Update Dockerfiles
1 parent 3888632 commit 08e1866

24 files changed

Lines changed: 53 additions & 29 deletions

File tree

amazonlinux/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM amazonlinux:2
22

33
WORKDIR /root
44

5+
COPY ./patch/ /root/patch/
56

67
RUN yum -y install\
78
which hostname glibc-langpack-ja git make cmake gcc clang curl perl perl-core tar zip unzip bzip2 which procps postfix cyrus-sasl-devel cyrus-sasl-plain\
@@ -36,9 +37,10 @@ RUN yum -y install\
3637
curl -sL --compressed https://git.io/cpm > cpm &&\
3738
chmod +x cpm &&\
3839
mv cpm /usr/local/bin/ &&\
39-
cpanm -v ExtUtils::ParseXS@3.51 &&\
4040
cpanm -n XML::DOM XMLRPC::Lite XML::Atom Net::Server Perl::Critic::Pulp Selenium::Remote::Driver &&\
4141
cpanm -v SQL::Translator@1.63 Archive::Zip@1.65 DBD::mysql@4.052 &&\
42+
cd /root/patch/EV-4.36 && cpanm --installdeps . && cpanm . && cd /root &&\
43+
rm -rf /root/patch &&\
4244
cpanm -v \
4345
AnyEvent::FTP::Server Class::Method::Modifiers Capture::Tiny Moo File::chdir Net::LDAP Linux::Pid Data::Section::Simple\
4446
pQuery\

amazonlinux2023/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM amazonlinux:2023
22

33
WORKDIR /root
44

5+
COPY ./patch/ /root/patch/
56

67
RUN dnf -y --allowerasing install\
78
which hostname glibc-langpack-ja glibc-locale-source git make cmake gcc clang curl perl perl-core tar zip unzip bzip2 which procps postfix cyrus-sasl-devel cyrus-sasl-plain\
@@ -25,9 +26,10 @@ RUN dnf -y --allowerasing install\
2526
curl -sL --compressed https://git.io/cpm > cpm &&\
2627
chmod +x cpm &&\
2728
mv cpm /usr/local/bin/ &&\
28-
cpanm -v ExtUtils::ParseXS@3.51 &&\
2929
cpanm -n XMLRPC::Lite XML::Atom Net::Server Perl::Critic::Pulp Selenium::Remote::Driver &&\
3030
cpanm -v Archive::Zip@1.65 DBD::mysql@4.052 &&\
31+
cd /root/patch/EV-4.36 && cpanm --installdeps . && cpanm . && cd /root &&\
32+
rm -rf /root/patch &&\
3133
cpanm -v \
3234
AnyEvent::FTP::Server Class::Method::Modifiers Capture::Tiny Moo File::chdir Net::LDAP Linux::Pid Data::Section::Simple\
3335
pQuery\

bookworm/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ FROM debian:bookworm-slim
22

33
WORKDIR /root
44

5+
COPY ./patch/ /root/patch/
6+
57
RUN \
68
apt-get update &&\
79
DEBIAN_FRONTEND=noninteractive DEBCONF_NOWARNINGS=yes\
@@ -26,9 +28,10 @@ RUN \
2628
curl -sL --compressed https://git.io/cpm > cpm &&\
2729
chmod +x cpm &&\
2830
mv cpm /usr/local/bin/ &&\
29-
cpm install -g --test --show-build-log-on-failure ExtUtils::ParseXS@3.51 &&\
3031
cpm install -g --show-build-log-on-failure XMLRPC::Lite XML::Atom Net::Server Perl::Critic::Pulp Selenium::Remote::Driver &&\
3132
cpm install -g --test --show-build-log-on-failure Archive::Zip@1.65 DBD::mysql@4.052 &&\
33+
cd /root/patch/EV-4.36 && cpanm --installdeps . && cpanm . && cd /root &&\
34+
rm -rf /root/patch &&\
3235
cpanm -v \
3336
AnyEvent::FTP::Server Class::Method::Modifiers Capture::Tiny Moo File::chdir Net::LDAP Linux::Pid Data::Section::Simple\
3437
pQuery\

bullseye/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ FROM debian:bullseye-slim
22

33
WORKDIR /root
44

5+
COPY ./patch/ /root/patch/
6+
57
RUN \
68
apt-get update &&\
79
DEBIAN_FRONTEND=noninteractive DEBCONF_NOWARNINGS=yes\
@@ -26,9 +28,10 @@ RUN \
2628
curl -sL --compressed https://git.io/cpm > cpm &&\
2729
chmod +x cpm &&\
2830
mv cpm /usr/local/bin/ &&\
29-
cpm install -g --test --show-build-log-on-failure ExtUtils::ParseXS@3.51 &&\
3031
cpm install -g --show-build-log-on-failure XMLRPC::Lite XML::Atom Net::Server Perl::Critic::Pulp Selenium::Remote::Driver &&\
3132
cpm install -g --test --show-build-log-on-failure Archive::Zip@1.65 DBD::mysql@4.052 &&\
33+
cd /root/patch/EV-4.36 && cpanm --installdeps . && cpanm . && cd /root &&\
34+
rm -rf /root/patch &&\
3235
cpanm -v \
3336
AnyEvent::FTP::Server Class::Method::Modifiers Capture::Tiny Moo File::chdir Net::LDAP Linux::Pid Data::Section::Simple\
3437
pQuery\

buster/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ FROM debian:buster-slim
22

33
WORKDIR /root
44

5+
COPY ./patch/ /root/patch/
6+
57
RUN \
68
sed -i -E 's/deb.debian.org/archive.debian.org/' /etc/apt/sources.list &&\
79
sed -i -E 's/security.debian.org/archive.debian.org/' /etc/apt/sources.list &&\
@@ -33,9 +35,10 @@ RUN \
3335
curl -sL --compressed https://git.io/cpm > cpm &&\
3436
chmod +x cpm &&\
3537
mv cpm /usr/local/bin/ &&\
36-
cpm install -g --test --show-build-log-on-failure ExtUtils::ParseXS@3.51 &&\
3738
cpm install -g --show-build-log-on-failure XMLRPC::Lite XML::Atom Net::Server Perl::Critic::Pulp Selenium::Remote::Driver &&\
3839
cpm install -g --test --show-build-log-on-failure Archive::Zip@1.65 DBD::mysql@4.052 &&\
40+
cd /root/patch/EV-4.36 && cpanm --installdeps . && cpanm . && cd /root &&\
41+
rm -rf /root/patch &&\
3942
cpanm -v \
4043
AnyEvent::FTP::Server Class::Method::Modifiers Capture::Tiny Moo File::chdir Net::LDAP Linux::Pid Data::Section::Simple\
4144
pQuery\

centos7/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM centos:7
22

33
WORKDIR /root
44

5+
COPY ./patch/ /root/patch/
56

67
RUN sed -i -e "s/^mirrorlist=http:\/\/mirrorlist.centos.org/#mirrorlist=http:\/\/mirrorlist.centos.org/g" /etc/yum.repos.d/CentOS-* &&\
78
sed -i -e "s/^#baseurl=http:\/\/mirror.centos.org/baseurl=http:\/\/vault.centos.org/g" /etc/yum.repos.d/CentOS-* &&\
@@ -43,9 +44,10 @@ RUN sed -i -e "s/^mirrorlist=http:\/\/mirrorlist.centos.org/#mirrorlist=http:\/
4344
curl -sL --compressed https://git.io/cpm > cpm &&\
4445
chmod +x cpm &&\
4546
mv cpm /usr/local/bin/ &&\
46-
cpanm -v ExtUtils::ParseXS@3.51 &&\
4747
cpanm -n XMLRPC::Lite XML::Atom Net::Server Perl::Critic::Pulp Selenium::Remote::Driver &&\
4848
cpanm -v SQL::Translator@1.63 Archive::Zip@1.65 DBD::mysql@4.052 &&\
49+
cd /root/patch/EV-4.36 && cpanm --installdeps . && cpanm . && cd /root &&\
50+
rm -rf /root/patch &&\
4951
cpanm -v \
5052
AnyEvent::FTP::Server Class::Method::Modifiers Capture::Tiny Moo File::chdir Net::LDAP Linux::Pid Data::Section::Simple\
5153
pQuery\

centos8/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM centos:8
22

33
WORKDIR /root
44

5+
COPY ./patch/ /root/patch/
56

67
RUN sed -i -e "s/^mirrorlist=http:\/\/mirrorlist.centos.org/#mirrorlist=http:\/\/mirrorlist.centos.org/g" /etc/yum.repos.d/CentOS-* &&\
78
sed -i -e "s/^#baseurl=http:\/\/mirror.centos.org/baseurl=http:\/\/vault.centos.org/g" /etc/yum.repos.d/CentOS-* &&\
@@ -48,9 +49,10 @@ RUN sed -i -e "s/^mirrorlist=http:\/\/mirrorlist.centos.org/#mirrorlist=http:\/
4849
curl -sL --compressed https://git.io/cpm > cpm &&\
4950
chmod +x cpm &&\
5051
mv cpm /usr/local/bin/ &&\
51-
cpanm -v ExtUtils::ParseXS@3.51 &&\
5252
cpanm -n XMLRPC::Lite XML::Atom Net::Server Perl::Critic::Pulp Selenium::Remote::Driver &&\
5353
cpanm -v Archive::Zip@1.65 DBD::mysql@4.052 &&\
54+
cd /root/patch/EV-4.36 && cpanm --installdeps . && cpanm . && cd /root &&\
55+
rm -rf /root/patch &&\
5456
cpanm -v \
5557
AnyEvent::FTP::Server Class::Method::Modifiers Capture::Tiny Moo File::chdir Net::LDAP Linux::Pid Data::Section::Simple\
5658
pQuery\

cloud6/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM centos:7
22

33
WORKDIR /root
44

5+
COPY ./patch/ /root/patch/
56

67
RUN sed -i -e "s/^mirrorlist=http:\/\/mirrorlist.centos.org/#mirrorlist=http:\/\/mirrorlist.centos.org/g" /etc/yum.repos.d/CentOS-* &&\
78
sed -i -e "s/^#baseurl=http:\/\/mirror.centos.org/baseurl=http:\/\/vault.centos.org/g" /etc/yum.repos.d/CentOS-* &&\
@@ -50,9 +51,10 @@ RUN sed -i -e "s/^mirrorlist=http:\/\/mirrorlist.centos.org/#mirrorlist=http:\/
5051
curl -sL --compressed https://git.io/cpm > cpm &&\
5152
chmod +x cpm &&\
5253
mv cpm /usr/local/bin/ &&\
53-
cpanm -v ExtUtils::ParseXS@3.51 &&\
5454
cpanm -n GD XMLRPC::Lite XML::Atom Net::Server Perl::Critic::Pulp Selenium::Remote::Driver &&\
5555
cpanm -v Starman@0.4015 Archive::Zip@1.65 DBD::mysql@4.052 &&\
56+
cd /root/patch/EV-4.36 && cpanm --installdeps . && cpanm . && cd /root &&\
57+
rm -rf /root/patch &&\
5658
cpanm -v \
5759
AnyEvent::FTP::Server Class::Method::Modifiers Capture::Tiny Moo File::chdir Net::LDAP Linux::Pid Data::Section::Simple\
5860
pQuery\

cloud7/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ RUN dnf -y --allowerasing install\
4848
curl -sL --compressed https://git.io/cpm > cpm &&\
4949
chmod +x cpm &&\
5050
mv cpm /usr/local/bin/ &&\
51-
cpanm -v ExtUtils::ParseXS@3.51 &&\
5251
cpanm -n XMLRPC::Lite XML::Atom Net::Server Perl::Critic::Pulp Selenium::Remote::Driver &&\
5352
cpanm -v Archive::Zip@1.65 DBD::mysql@4.052 &&\
5453
cd /root/patch/Test-mysqld-1.0030 && cpanm --installdeps . && cpanm . && cd /root &&\
54+
cd /root/patch/EV-4.36 && cpanm --installdeps . && cpanm . && cd /root &&\
5555
rm -rf /root/patch &&\
5656
cpanm -v \
5757
Net::LibIDN AnyEvent::FTP::Server Class::Method::Modifiers Capture::Tiny Moo File::chdir Net::LDAP Linux::Pid AnyEvent::FTP Capture::Tiny Class::Method::Modifiers Data::Section::Simple AnyEvent::FTP::Server Class::Method::Modifiers Capture::Tiny Moo File::chdir Net::LDAP Linux::Pid Data::Section::Simple\

fedora32/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM fedora:32
22

33
WORKDIR /root
44

5+
COPY ./patch/ /root/patch/
56

67
RUN dnf -y install\
78
glibc-langpack-en glibc-langpack-ja git make cmake gcc clang curl perl perl-core tar zip unzip bzip2 which perl-Unix-Process postfix cyrus-sasl-devel cyrus-sasl-plain\
@@ -30,9 +31,10 @@ RUN dnf -y install\
3031
curl -sL --compressed https://git.io/cpm > cpm &&\
3132
chmod +x cpm &&\
3233
mv cpm /usr/local/bin/ &&\
33-
cpanm -v ExtUtils::ParseXS@3.51 &&\
3434
cpanm -n XMLRPC::Lite XML::Atom Net::Server Perl::Critic::Pulp Selenium::Remote::Driver &&\
3535
cpanm -v Archive::Zip@1.65 DBD::mysql@4.052 &&\
36+
cd /root/patch/EV-4.36 && cpanm --installdeps . && cpanm . && cd /root &&\
37+
rm -rf /root/patch &&\
3638
cpanm -v \
3739
AnyEvent::FTP::Server Class::Method::Modifiers Capture::Tiny Moo File::chdir Net::LDAP Linux::Pid Data::Section::Simple\
3840
pQuery\

0 commit comments

Comments
 (0)