deis / builder

Git server and application builder for Deis Workflow
https://deis.com
MIT License
40 stars 41 forks source link

v2.8.0: Dockerfile builds fail with "One or more build-args not consumed, failing build." #491

Closed felixbuenemann closed 7 years ago

felixbuenemann commented 7 years ago

After upgrading deis-builder from v2.7.1 to v2.8.0 and dockerbuilder from v2.6.0 to v2.7.0, Dockerfile builds fails with errors like these:

One or more build-args [DATABASE_URL ASSET_ORIGINALS_PREFIX ASSET_S3_REGION DATABASE_URL_DE PORT AWS_SECRET_ACCESS_KEY STEP_IMPORT_LOG_BUCKET IMAGE_PULL_POLICY STEP_IMPORT_LOG_PREFIX APP_ENV ASSET_ORIGINALS_BUCKET RUBYOPT DATABASE_URL_UK AWS_REGION ASSET_INTERMEDIATES_BUCKET VIPS_WARNING AWS_ACCESS_KEY_ID] were not consumed, failing build.

It appears to be related to #488.

None of the above environment vars are referenced as ARGS inside the Dockerfile, which is likely the cause of the error.

bacongobbler commented 7 years ago

Yep! This issue is being tracked in https://github.com/deis/builder/issues/490. We are currently testing https://github.com/deis/dockerbuilder/pull/118 which should fix this issue. v2.8.0 hasn't hit an official Workflow release yet :)

felixbuenemann commented 7 years ago

Oh, my bad for not checking for existing issues. Closing this one.