Skip to content

Commit

Permalink
Also support build constraints in the Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Jun 21, 2023
1 parent 703d1e4 commit f2423ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Build/Docker.pm
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@ sub parse {
if ($line =~ /^#!BuildRelease:\s*(\S+)\s*$/) {
$ret->{'release'} = $1;
}
if ($line =~ /^#!BuildConstraint:\s*(\S.+?)\s*$/) {
push @{$ret->{'buildconstraint'}}, $1;
}
if ($line =~ /^#!UnorderedRepos\s*$/) {
$unorderedrepos = 1;
}
Expand Down

0 comments on commit f2423ec

Please sign in to comment.