sclorg / container-common-scripts

Apache License 2.0
21 stars 45 forks source link

Add .build-args-OS file to let specify build options #339

Closed hhorak closed 1 year ago

hhorak commented 1 year ago

Podman used to set some capabilities by default, but does not any more with version 4.4.0 and newer. These capabilities need to be set for being able to build micro images that install RPMs into an alternative path in the Dockerfile. Introducing .build-args-OS file means we will be able to specify some arguments to docker build command for each Dockerfile specifically, for example specify capabilities for the micro images.

github-advanced-security[bot] commented 1 year ago

You have successfully added a new shellcheck configuration differential-shellcheck. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab.

hhorak commented 1 year ago

[test]

hhorak commented 1 year ago

[test]

frenzymadness commented 1 year ago

If you don't mind me asking an offtopic question: why do micro images need to install RPMs to non-standard locations?

phracek commented 1 year ago

@hhorak Please rebase it and we can merge it.

phracek commented 1 year ago

phracek rebased.

[test]