Skip to content

Commit

Permalink
make Process::Docker more debuggable
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Mar 26, 2024
1 parent 9092562 commit 3793f58
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/lib/PDL/Devops/Process/Docker.pm
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sub run {
my $tag = $item->docker_tag;
(my $module_name = $item->dist) =~ s/-/::/g;
my $apt_pkgs = join " ", @{ $db->apt_pkgs( $item ) };
system(
my @cmd = (
qw(docker build),
qw(-f ), path($self->dockerfile_path, "Dockerfile.downstream"),
qw(-t), "pdl-dep:$tag",
Expand All @@ -34,7 +34,8 @@ sub run {
: ()
),
'.',
) == 0 or die "Could not build @{[ $item->key ]}";
);
system(@cmd) == 0 or die "Could not build @{[ $item->key ]}";
}

1;

0 comments on commit 3793f58

Please sign in to comment.