openSUSE / obs-build

OBS build script, can be used with OBS or stand alone
GNU General Public License v2.0
132 stars 183 forks source link

Multibuild `BUILD_FLAVOR` is not replaced in `Docker.pm` #951

Open diconico07 opened 11 months ago

diconico07 commented 11 months ago

When using multibuild for Dockerfile, the build flavor is passed as a build argument to docker build command, however the perl script that pre-parse the Dockerfile doesn't take this argument into account, leading to undefined arguments during pre-parsing. When the argument is used in a zypper command that makes the build unresolvable.