Skip to content

Allow --platform=$BUILDPLATFORM#774

Merged
lorenzo merged 1 commit intohadolint:masterfrom
StefanSchoof:allow-buildplatform
Feb 26, 2022
Merged

Allow --platform=$BUILDPLATFORM#774
lorenzo merged 1 commit intohadolint:masterfrom
StefanSchoof:allow-buildplatform

Conversation

@StefanSchoof
Copy link
Copy Markdown
Contributor

closes #772

What I did

Allowed the string $BUILDPLATFORM in the platform

How I did it

Allowed it in the rule

How to verify it

  • Added it to the unit test
  • Tested it with Dockerfile on my PC

@lorenzo
Copy link
Copy Markdown
Member

lorenzo commented Feb 26, 2022

thanks!

@lorenzo lorenzo merged commit fcb52b2 into hadolint:master Feb 26, 2022
@StefanSchoof StefanSchoof deleted the allow-buildplatform branch June 2, 2022 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow $BUILDPLATFORM in DL3029

2 participants