Skip to content

Commit

Permalink
Merge pull request #142 from movabletype/postgres_checker
Browse files Browse the repository at this point in the history
Postgres checker
  • Loading branch information
charsbar authored Feb 13, 2025
2 parents 9cdda61 + d72bafa commit a5df3de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Dockerfile to test MT.
|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|-|
|postgresql|fedora:41|5.40.1|8.3.16|Postgres 16.3|3.2.2|-|
|postgresql|fedora:41|5.40.1|8.3.17|Postgres 16.3|3.2.4|-|
|oracle (\*3)|oraclelinux:7-slim|5.16.3|7.4.33|MariaDB 5.5.68|1.0.2k|-|
|oracle8 (\*3)|oraclelinux:8-slim|5.26.3|8.2.27|MariaDB 10.3.39|1.1.1k|-|

Expand Down
2 changes: 1 addition & 1 deletion bin/checker.t
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ok !grep(/\.(?:cpanm|perl-cpm)/, @files), "$image_name: no cpanm|cpm directories
my $entrypoint_is_executed;
if (-e '/docker-entrypoint.sh' && $image_name !~ /chromedriver/) {
my $entrypoint_sh = do { open my $fh, '<', '/docker-entrypoint.sh'; local $/; <$fh> };
if ($entrypoint_sh =~ /mysql/ && $image_name !~ /(?:fedora23)/) {
if ($entrypoint_sh =~ /mysql/ && $image_name !~ /(?:fedora23|postgresql)/) {
my $entrypoint = `/docker-entrypoint.sh`;
note $entrypoint;
$entrypoint_is_executed = 1;
Expand Down
1 change: 1 addition & 0 deletions bin/update_dockerfile.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1452,6 +1452,7 @@ sub load_prereqs {
su -c 'initdb --show' postgres
su -c 'initdb -D /var/lib/postgresql/data' postgres
su -c 'pg_ctl -D /var/lib/postgresql/data start' postgres
su -c 'createuser mt' postgres
Expand Down

0 comments on commit a5df3de

Please sign in to comment.