You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
We could go as easy as providing a separate folder where the generated Dockerfile is visible for understandability, or as far as (I assume that's the goal in docker-library) the generated Dockerfile sits in the full folder structure, thus you can build the image using only docker.
I'd argue, this is a worthwile exercise to do, so that you don't need maven to build the image. You'd need maven only to generate the "image source", what is published to github as an artifact itself.
The text was updated successfully, but these errors were encountered:
balopat
changed the title
DRY Dockerfiles via generating them statically from templates
DRY Dockerfiles via publishing the generated version
Aug 21, 2017
As @aslo pointed out, with the approach on docker-library, we could avoid duplications like this between our dockerfiles.
We could go as easy as providing a separate folder where the generated Dockerfile is visible for understandability, or as far as (I assume that's the goal in docker-library) the generated Dockerfile sits in the full folder structure, thus you can build the image using only docker.
I'd argue, this is a worthwile exercise to do, so that you don't need maven to build the image. You'd need maven only to generate the "image source", what is published to github as an artifact itself.
The text was updated successfully, but these errors were encountered: