Skip to content

Commit

Permalink
Merge pull request #132 from movabletype/bump_phpunit_etc
Browse files Browse the repository at this point in the history
Bump phpunit etc
  • Loading branch information
charsbar authored Dec 25, 2024
2 parents 2874011 + 02dd9b5 commit b263c54
Show file tree
Hide file tree
Showing 21 changed files with 102 additions and 70 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Dockerfile to test MT.
|fedora37|fedora:37|*5.36.1*|*8.1.25*|8.0.35|3.0.9|-|
|fedora39|fedora:39|5.38.2|*8.2.25*|8.0.39|3.1.4|-|
|fedora40|fedora:40|*5.38.2*|8.3.14|*8.0.40*|3.2.2|-|
|fedora41|fedora:41|*5.40.0*|*8.3.14*|*8.4.3*|3.2.2|-|
|fedora41|fedora:41|*5.40.0*|*8.3.15*|*8.4.3*|3.2.2|-|
|cloud6 (\*1)|centos:7|*5.28.2*|*7.4.33*|*5.7.44*|1.0.2k|-|
|cloud7 (\*1)|rockylinux:9|5.38.2|8.2.26|MariaDB 10.5.22|3.2.2|-|
|cloud7 (\*1)|rockylinux:9|5.38.2|8.2.27|MariaDB 10.5.22|3.2.2|-|

\*1 These images are not used in the MT cloud, but the well-known modules should have the same version (except for those used only in tests).

Expand All @@ -29,14 +29,14 @@ Dockerfile to test MT.
|centos6 (\*2)|centos:6|*5.10.1*|*5.5.38*|*5.1.73*|1.0.1e|2020-11|
|centos8|centos:8|5.26.3|*8.0.30*|8.0.26|1.1.1k|2021-12|
|fedora32 (\*2)|fedora:32|*5.30.3*|7.4.19|8.0.24|1.1.1k|-|
|rawhide|fedora:rawhide|5.40.0|8.4.1|8.0.40|3.2.2|-|
|rawhide|fedora:rawhide|5.40.0|8.4.2|8.0.40|3.2.2|-|
|rockylinux|rockylinux:9|5.32.1|8.1.31|8.0.36|3.2.2|-|
|bookworm|debian:bookworm|5.36.0|8.2.26|*MariaDB 10.11.6*|3.0.15|-|
|sid|debian:sid|5.40.0|8.2.24|MariaDB 11.4.3|3.3.2|-|
|sid|debian:sid|5.40.0|8.4.2|MariaDB 11.4.4|3.3.2|-|
|noble|ubuntu:noble|5.38.2|8.3.6|8.4.3|3.0.13|-|
|amazonlinux|amazonlinux:2|5.16.3|7.4.33|MariaDB 5.5.68|1.0.2k|-|
|amazonlinux2022 (\*4)|amazonlinux:2023|5.32.1|8.3.7|MariaDB 10.5.25|3.0.8|-|
|oracle8 (\*3)|oraclelinux:8|5.26.3|8.2.24|MariaDB 10.3.39|1.1.1k|-|
|oracle8 (\*3)|oraclelinux:8|5.26.3|8.2.27|MariaDB 10.3.39|1.1.1k|-|

\*2 These images were used to test older versions of MT.
\*3 with DBD::Oracle 1.80 + OracleInstantClient 21.7
Expand All @@ -48,4 +48,4 @@ Dockerfile to test MT.
|-|-|-|
|addons8|movabletype/test:cloud7|vsftpd 3.0.5, proftpd 1.3.8b, pureftpd 1.0.50, slapd 2.6.6|
|chromiumdriver|movabletype/test:bullseye|chromedriver 120.0.6099.224|
|playwright|movabletype/test:bullseye|node 22.11.0, playwright 1.49.0|
|playwright|movabletype/test:bullseye|node 22.12.0, playwright 1.49.1|
4 changes: 2 additions & 2 deletions amazonlinux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ RUN yum -y install\
yum -y update --skip-broken &&\
yum clean all && rm -rf /var/cache/yum &&\
mkdir src && cd src &&\
curl -LO https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.4.tar.gz && tar xf ruby-3.1.4.tar.gz &&\
cd ruby-3.1.4 && ./configure --enable-shared --disable-install-doc && make -j4 && make install && cd .. &&\
curl -LO https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.gz && tar xf ruby-3.1.6.tar.gz &&\
cd ruby-3.1.6 && ./configure --enable-shared --disable-install-doc && make -j4 && make install && cd .. &&\
cd .. && rm -rf src && ldconfig /usr/local/lib &&\
curl -sL https://phar.phpunit.de/phpunit-9.phar > phpunit && chmod +x phpunit &&\
mv phpunit /usr/local/bin/ &&\
Expand Down
2 changes: 1 addition & 1 deletion amazonlinux2022/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN dnf -y --allowerasing install\
&&\
dnf -y update --skip-broken &&\
dnf clean all && rm -rf /var/cache/dnf &&\
curl -sL https://phar.phpunit.de/phpunit-9.phar > phpunit && chmod +x phpunit &&\
curl -sL https://phar.phpunit.de/phpunit-11.phar > phpunit && chmod +x phpunit &&\
mv phpunit /usr/local/bin/ &&\
(curl -sL https://raw.githubusercontent.com/axllent/mailpit/develop/install.sh | bash) &&\
gem install \
Expand Down
6 changes: 5 additions & 1 deletion bin/checker.t
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,11 @@ for my $line (@wanted_lines) {
SKIP: {
my ($phpunit) = (`phpunit --version` // '') =~ /PHPUnit (\d+\.\d+\.\d+)/;
ok $phpunit, "$image_name: phpunit exists ($phpunit)";
if ($php_version_number >= 7.3) {
if ($php_version_number >= 8.2) {
is substr($phpunit, 0, 2) => 11, "phpunit 11 (11.x.x) for php >= 8.2 ($php_version)";
} elsif ($php_version_number >= 8.1) {
is substr($phpunit, 0, 2) => 10, "phpunit 10 (10.x.x) for php >= 8.1 ($php_version)";
} elsif ($php_version_number >= 7.3) {
is substr($phpunit, 0, 1) => 9, "phpunit 9 (9.5.x) for php >= 7.3 ($php_version)";
} elsif ($php_version_number >= 7.2) {
is substr($phpunit, 0, 1) => 8, "phpunit 8 (8.5.21) for php >= 7.2 ($php_version)";
Expand Down
89 changes: 49 additions & 40 deletions bin/update_dockerfile.pl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Mojo::File qw/path/;
use File::Basename;

my $ruby_version = '3.1.4';
my $ruby_version = '3.1.6';

my %Conf = (
debian => {
Expand Down Expand Up @@ -92,21 +92,22 @@
_replace => {
'mysql-server' => 'mariadb-server',
'mysql-client' => 'mariadb-client',
'php' => 'php8.2',
'php-cli' => 'php8.2-cli',
'php-mysqlnd' => 'php8.2-mysql',
'php-gd' => 'php8.2-gd',
'php-memcache' => 'php8.2-memcache',
'php' => 'php8.4',
'php-cli' => 'php8.4-cli',
'php-mysqlnd' => 'php8.4-mysql',
'php-gd' => 'php8.4-gd',
'php-memcache' => 'php8.4-memcache',
'phpunit' => '',
},
libs => [qw( libstdc++-14-dev )],
db => [qw( libdbd-mysql-perl )],
php => [qw( php8.2-mbstring php8.2-xml )],
php => [qw( php8.4-mbstring php8.4-xml )],
},
cpan => {
no_test => [qw( GD )],
},
phpunit => 9,
patch => [qw(Crypt-DES-2.07)],
phpunit => 11,
},
bookworm => {
from => 'debian:bookworm-slim',
Expand All @@ -121,7 +122,7 @@
db => [qw( libdbd-mysql-perl )],
php => [qw( php-mbstring php-xml )],
},
phpunit => 9,
phpunit => 11,
},
bullseye => {
from => 'debian:bullseye-slim',
Expand Down Expand Up @@ -175,7 +176,7 @@
no_test => [qw(GD)],
},
patch => ['Test-mysqld-1.0030'],
phpunit => 9,
phpunit => 11,
},
rawhide => {
from => 'fedora:rawhide',
Expand All @@ -194,15 +195,15 @@
cpan => {
no_test => [qw( App::Prove::Plugin::MySQLPool )],
},
patch => ['Test-mysqld-1.0030'],
patch => ['Test-mysqld-1.0030', 'Crypt-DES-2.07'],
make_dummy_cert => '/usr/bin',
make => {
# package is broken for unknown reason
GraphicsMagick => '1.3.43',
},
installer => 'dnf',
setcap => 1,
phpunit => 9,
phpunit => 11,
nogpgcheck => 1,
mysql_require_secure_transport => 1,
},
Expand Down Expand Up @@ -237,9 +238,9 @@
enable => 'mysql-8.4-lts-community',
# enable => 'mysql-innovation-community',
},
patch => ['Test-mysqld-1.0030'],
patch => ['Test-mysqld-1.0030', 'Crypt-DES-2.07'],
installer => 'dnf',
phpunit => 9,
phpunit => 11,
},
fedora40 => {
from => 'fedora:40',
Expand All @@ -255,15 +256,15 @@
base => [qw( glibc-langpack-en glibc-langpack-ja xz )],
images => [qw( libomp-devel )],
},
patch => ['Test-mysqld-1.0030'],
patch => ['Test-mysqld-1.0030', 'Crypt-DES-2.07'],
make_dummy_cert => '/usr/bin',
make => {
# package is broken for unknown reason
GraphicsMagick => '1.3.43',
},
installer => 'dnf',
setcap => 1,
phpunit => 9,
phpunit => 11,
},
fedora39 => {
from => 'fedora:39',
Expand All @@ -287,7 +288,7 @@
},
installer => 'dnf',
setcap => 1,
phpunit => 9,
phpunit => 11,
},
fedora37 => {
from => 'fedora:37',
Expand All @@ -306,7 +307,7 @@
make_dummy_cert => '/usr/bin',
installer => 'dnf',
setcap => 1,
phpunit => 9,
phpunit => 10,
},
fedora35 => {
from => 'fedora:35',
Expand Down Expand Up @@ -557,7 +558,7 @@
installer => 'dnf',
setcap => 1,
make_dummy_cert => '/usr/bin',
phpunit => 9,
phpunit => 10,
allow_erasing => 1,
},
cloud6 => {
Expand Down Expand Up @@ -651,7 +652,7 @@
Net::LDAP Linux::Pid AnyEvent::FTP Capture::Tiny Class::Method::Modifiers Data::Section::Simple
)],
},
phpunit => 9,
phpunit => 11,
make => {
perl => '5.38.2',
ImageMagick => '7.0.8-68',
Expand Down Expand Up @@ -750,7 +751,7 @@
make_dummy_cert => '/usr/bin',
installer => 'dnf',
allow_erasing => 1,
phpunit => 9,
phpunit => 11,
locale_def => 1,
},
oracle8 => {
Expand Down Expand Up @@ -827,7 +828,7 @@
ruby => $ruby_version,
},
make_dummy_cert => '/usr/bin',
phpunit => 9,
phpunit => 11,
installer => 'microdnf',
release => 19.6,
locale_def => 1,
Expand Down Expand Up @@ -858,7 +859,7 @@
path("$name/docker-entrypoint.sh")->spew($entrypoint)->chmod(0755);
path("$name/patch")->remove_tree if -d path("$name/patch");
if ($conf->{patch}) {
require File::Copy::Recursive;
require File::Copy;
require Parse::Distname;
require LWP::UserAgent;
require JSON::XS;
Expand All @@ -867,25 +868,33 @@
my @patch_files = map {$_->realpath} path("patch/$target")->list->each;
next unless @patch_files;

my $info = Parse::Distname->new("$target.tar.gz");
my ($dist, $version) = ($info->dist, $info->version);
my $ua = LWP::UserAgent->new;
my $res = $ua->get("https://api.cpanauthors.org/v5/dist/$dist/releases");
die "$dist is not found" unless $res->is_success;
my $releases = JSON::XS::decode_json($res->decoded_content)->{data};
my $warn_obsolete;
my $path;
for my $release (@$releases) {
if ($release->{version} eq $version) {
$path = Parse::Distname->new("$release->{author}/$target.tar.gz")->{cpan_path};
last;
my $tarball = path("patch/$target.tar.gz");
unless (-f $tarball) {
my $info = Parse::Distname->new("$tarball");
my ($dist, $version) = ($info->dist, $info->version);
my $ua = LWP::UserAgent->new;
print STDERR "fetching $tarball information\n";
my $res = $ua->get("https://fastapi.metacpan.org/v1/release/_search?q=distribution:$dist&sort=date:desc");
die "$dist is not found" unless $res->is_success;
my $releases = JSON::XS::decode_json($res->decoded_content)->{hits}{hits};
my $warn_obsolete;
my $path;
for my $release (@$releases) {
my $source = $release->{_source};
if ($source->{version} eq $version) {
$path = Parse::Distname->new($source->{download_url})->{cpan_path};
last;
}
next if $info->{version} =~ /_/;
print STDERR "$dist is not the latest\n" unless $warn_obsolete++;
}
next if $release->{version} =~ /_/;
print STDERR "$dist is not the latest\n" unless $warn_obsolete++;
die "$dist-$version is not found" unless $path;
print STDERR "mirroring $tarball\n";
$res = $ua->mirror($source->{download_url}, $tarball);
# $res = $ua->mirror("https://backpan.cpanauthors.org/authors/id/$path", $tarball);
die "Failed to mirror $path" unless $res->is_success;
}
die "$dist-$version is not found" unless $path;
$res = $ua->mirror("https://backpan.cpanauthors.org/authors/id/$path", "$name/patch/$target.tar.gz");
die "Failed to mirror $path" unless $res->is_success;
File::Copy::copy("patch/$target.tar.gz", "$name/patch/$target.tar.gz");
{
require File::pushd;
my $guard = File::pushd::pushd("$name/patch");
Expand Down
2 changes: 1 addition & 1 deletion bookworm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN \
apache2 vsftpd ftp memcached\
&& apt-get clean && rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* &&\
ln -s /usr/sbin/apache2 /usr/sbin/httpd &&\
curl -sL https://phar.phpunit.de/phpunit-9.phar > phpunit && chmod +x phpunit &&\
curl -sL https://phar.phpunit.de/phpunit-11.phar > phpunit && chmod +x phpunit &&\
mv phpunit /usr/local/bin/ &&\
(curl -sL https://raw.githubusercontent.com/axllent/mailpit/develop/install.sh | bash) &&\
gem install \
Expand Down
4 changes: 2 additions & 2 deletions buster/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ RUN \
&& apt-get clean && rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* &&\
ln -s /usr/sbin/apache2 /usr/sbin/httpd &&\
mkdir src && cd src &&\
curl -LO https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.4.tar.gz && tar xf ruby-3.1.4.tar.gz &&\
cd ruby-3.1.4 && ./configure --enable-shared --disable-install-doc && make -j4 && make install && cd .. &&\
curl -LO https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.gz && tar xf ruby-3.1.6.tar.gz &&\
cd ruby-3.1.6 && ./configure --enable-shared --disable-install-doc && make -j4 && make install && cd .. &&\
cd .. && rm -rf src && ldconfig /usr/local/lib &&\
curl -sL https://phar.phpunit.de/phpunit-9.phar > phpunit && chmod +x phpunit &&\
mv phpunit /usr/local/bin/ &&\
Expand Down
4 changes: 2 additions & 2 deletions centos8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ RUN sed -i -e "s/^mirrorlist=http:\/\/mirrorlist.centos.org/#mirrorlist=http:\/
dnf -y update --skip-broken --nobest &&\
dnf clean all && rm -rf /var/cache/dnf &&\
mkdir src && cd src &&\
curl -LO https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.4.tar.gz && tar xf ruby-3.1.4.tar.gz &&\
cd ruby-3.1.4 && ./configure --enable-shared --disable-install-doc && make -j4 && make install && cd .. &&\
curl -LO https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.gz && tar xf ruby-3.1.6.tar.gz &&\
cd ruby-3.1.6 && ./configure --enable-shared --disable-install-doc && make -j4 && make install && cd .. &&\
cd .. && rm -rf src && ldconfig /usr/local/lib &&\
setcap -r /usr/libexec/mysqld &&\
curl -sL https://phar.phpunit.de/phpunit-9.phar > phpunit && chmod +x phpunit &&\
Expand Down
2 changes: 1 addition & 1 deletion cloud7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RUN dnf -y --allowerasing install\
tar xf ImageMagick-7.0.8-68.tar.xz && cd ImageMagick-7.0.8-68 &&\
./configure --prefix=/usr --enable-shared --with-perl --disable-dependency-tracking --disable-cipher --disable-assert --without-x --without-ttf --without-wmf --without-magick-plus-plus --without-bzlib --without-zlib --without-dps --without-djvu --without-fftw --without-fpx --without-fontconfig --without-freetype --without-jbig --without-lcms --without-lcms2 --without-lqr --without-lzma --without-openexr --without-pango --without-xml && make && make install && cd PerlMagick && perl Makefile.PL && make install && cd ../.. &&\
cd .. && rm -rf src && ldconfig /usr/local/lib &&\
curl -sL https://phar.phpunit.de/phpunit-9.phar > phpunit && chmod +x phpunit &&\
curl -sL https://phar.phpunit.de/phpunit-11.phar > phpunit && chmod +x phpunit &&\
mv phpunit /usr/local/bin/ &&\
(curl -sL https://raw.githubusercontent.com/axllent/mailpit/develop/install.sh | bash) &&\
gem install \
Expand Down
4 changes: 2 additions & 2 deletions fedora32/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ RUN dnf -y install\
dnf -y update --skip-broken &&\
dnf clean all && rm -rf /var/cache/dnf &&\
mkdir src && cd src &&\
curl -LO https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.4.tar.gz && tar xf ruby-3.1.4.tar.gz &&\
cd ruby-3.1.4 && ./configure --enable-shared --disable-install-doc && make -j4 && make install && cd .. &&\
curl -LO https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.gz && tar xf ruby-3.1.6.tar.gz &&\
cd ruby-3.1.6 && ./configure --enable-shared --disable-install-doc && make -j4 && make install && cd .. &&\
cd .. && rm -rf src && ldconfig /usr/local/lib &&\
setcap -r /usr/libexec/mysqld &&\
curl -sL https://phar.phpunit.de/phpunit-9.phar > phpunit && chmod +x phpunit &&\
Expand Down
2 changes: 1 addition & 1 deletion fedora37/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN dnf -y install\
dnf -y update --skip-broken &&\
dnf clean all && rm -rf /var/cache/dnf &&\
setcap -r /usr/libexec/mysqld &&\
curl -sL https://phar.phpunit.de/phpunit-9.phar > phpunit && chmod +x phpunit &&\
curl -sL https://phar.phpunit.de/phpunit-10.phar > phpunit && chmod +x phpunit &&\
mv phpunit /usr/local/bin/ &&\
(curl -sL https://raw.githubusercontent.com/axllent/mailpit/develop/install.sh | bash) &&\
gem install \
Expand Down
2 changes: 1 addition & 1 deletion fedora39/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN dnf -y install\
./configure --prefix=/usr --enable-shared --with-perl --disable-opencl --disable-dependency-tracking --without-x --without-ttf --without-wmf --without-magick-plus-plus --without-bzlib --without-zlib --without-dps --without-fpx --without-jpig --without-lcms2 --without-lzma --without-xml --without-gs --with-quantum-depth=16 && make && make install && cd PerlMagick && perl Makefile.PL && make install && cd ../.. &&\
cd .. && rm -rf src && ldconfig /usr/local/lib &&\
setcap -r /usr/libexec/mysqld &&\
curl -sL https://phar.phpunit.de/phpunit-9.phar > phpunit && chmod +x phpunit &&\
curl -sL https://phar.phpunit.de/phpunit-11.phar > phpunit && chmod +x phpunit &&\
mv phpunit /usr/local/bin/ &&\
(curl -sL https://raw.githubusercontent.com/axllent/mailpit/develop/install.sh | bash) &&\
gem install \
Expand Down
3 changes: 2 additions & 1 deletion fedora40/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN dnf -y install\
./configure --prefix=/usr --enable-shared --with-perl --disable-opencl --disable-dependency-tracking --without-x --without-ttf --without-wmf --without-magick-plus-plus --without-bzlib --without-zlib --without-dps --without-fpx --without-jpig --without-lcms2 --without-lzma --without-xml --without-gs --with-quantum-depth=16 && make && make install && cd PerlMagick && perl Makefile.PL && make install && cd ../.. &&\
cd .. && rm -rf src && ldconfig /usr/local/lib &&\
setcap -r /usr/libexec/mysqld &&\
curl -sL https://phar.phpunit.de/phpunit-9.phar > phpunit && chmod +x phpunit &&\
curl -sL https://phar.phpunit.de/phpunit-11.phar > phpunit && chmod +x phpunit &&\
mv phpunit /usr/local/bin/ &&\
(curl -sL https://raw.githubusercontent.com/axllent/mailpit/develop/install.sh | bash) &&\
gem install \
Expand All @@ -35,6 +35,7 @@ RUN dnf -y install\
cpanm -n XMLRPC::Lite XML::Atom Net::Server Perl::Critic::Pulp Selenium::Remote::Driver &&\
cpanm -v Archive::[email protected] DBD::[email protected] HTTP::[email protected] &&\
cd /root/patch/Test-mysqld-1.0030 && cpanm --installdeps . && cpanm . && cd /root &&\
cd /root/patch/Crypt-DES-2.07 && cpanm --installdeps . && cpanm . && cd /root &&\
rm -rf /root/patch &&\
cpanm -v \
pQuery\
Expand Down
3 changes: 2 additions & 1 deletion fedora41/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN dnf -y install\
tar xf GraphicsMagick-1.3.43.tar.xz && cd GraphicsMagick-1.3.43 &&\
./configure --prefix=/usr --enable-shared --with-perl --disable-opencl --disable-dependency-tracking --without-x --without-ttf --without-wmf --without-magick-plus-plus --without-bzlib --without-zlib --without-dps --without-fpx --without-jpig --without-lcms2 --without-lzma --without-xml --without-gs --with-quantum-depth=16 && make && make install && cd PerlMagick && perl Makefile.PL && make install && cd ../.. &&\
cd .. && rm -rf src && ldconfig /usr/local/lib &&\
curl -sL https://phar.phpunit.de/phpunit-9.phar > phpunit && chmod +x phpunit &&\
curl -sL https://phar.phpunit.de/phpunit-11.phar > phpunit && chmod +x phpunit &&\
mv phpunit /usr/local/bin/ &&\
(curl -sL https://raw.githubusercontent.com/axllent/mailpit/develop/install.sh | bash) &&\
gem install \
Expand All @@ -37,6 +37,7 @@ RUN dnf -y install\
cpanm -n App::Prove::Plugin::MySQLPool XMLRPC::Lite XML::Atom Net::Server Perl::Critic::Pulp Selenium::Remote::Driver &&\
cpanm -v Archive::[email protected] DBD::[email protected] HTTP::[email protected] &&\
cd /root/patch/Test-mysqld-1.0030 && cpanm --installdeps . && cpanm . && cd /root &&\
cd /root/patch/Crypt-DES-2.07 && cpanm --installdeps . && cpanm . && cd /root &&\
rm -rf /root/patch &&\
cpanm -v \
pQuery\
Expand Down
2 changes: 1 addition & 1 deletion noble/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN \
apache2 vsftpd ftp memcached\
&& apt-get clean && rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* &&\
ln -s /usr/sbin/apache2 /usr/sbin/httpd &&\
curl -sL https://phar.phpunit.de/phpunit-9.phar > phpunit && chmod +x phpunit &&\
curl -sL https://phar.phpunit.de/phpunit-11.phar > phpunit && chmod +x phpunit &&\
mv phpunit /usr/local/bin/ &&\
(curl -sL https://raw.githubusercontent.com/axllent/mailpit/develop/install.sh | bash) &&\
gem install \
Expand Down
Loading

0 comments on commit b263c54

Please sign in to comment.