[obs-commits] [openSUSE/obs-build] f2aad5: Dockerfile parsing fix
Branch: refs/heads/master Home: https://github.com/openSUSE/obs-build Commit: f2aad593f8a42d92f052abc9e7d2af28d0deb8da https://github.com/openSUSE/obs-build/commit/f2aad593f8a42d92f052abc9e7d2af2... Author: Adrian Schröter <adrian@suse.de> Date: 2020-09-08 (Tue, 08 Sep 2020) Changed paths: M Build/Docker.pm Log Message: ----------- Dockerfile parsing fix A FROM line can specify a name via " as $NAME" suffix. we need to ignore that part when parsing base container Commit: f0e98bf7a0c80f17e6f287a62be5825a87d075c0 https://github.com/openSUSE/obs-build/commit/f0e98bf7a0c80f17e6f287a62be5825... Author: Adrian Schröter <adrian@suse.de> Date: 2020-09-08 (Tue, 08 Sep 2020) Changed paths: M Makefile M build-recipe-docker A patchdockerfile Log Message: ----------- Support Dockerfile builds with multiple FROM sections also fixes issue if no RUN line is inside of Dockerfile (section) Additional perl helper is used now instead of simple sed replacement. We must enable obs-docker-support after a possible existing "USER root" line or after each FROM line. disable must happen before a USER line (except it is the "USER root" line) or at the end of each section Commit: 32b3ca2a7c446f5879e4c2c23a54e8c8888b662e https://github.com/openSUSE/obs-build/commit/32b3ca2a7c446f5879e4c2c23a54e8c... Author: Adrian Schröter <adrian@suse.de> Date: 2020-09-08 (Tue, 08 Sep 2020) Changed paths: M Build/Docker.pm M Makefile M build-recipe-docker A patchdockerfile Log Message: ----------- Merge pull request #597 from adrianschroeter/dockerfile_multi_section Support Dockerfile builds with multiple FROM sections Compare: https://github.com/openSUSE/obs-build/compare/a252c9e4d0b0...32b3ca2a7c44
participants (1)
-
Adrian Schröter