Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

DRY Dockerfiles via publishing the generated version #136

Open
balopat opened this issue Aug 21, 2017 · 0 comments
Open

DRY Dockerfiles via publishing the generated version #136

balopat opened this issue Aug 21, 2017 · 0 comments

Comments

@balopat
Copy link
Contributor

balopat commented 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.

@balopat balopat mentioned this issue Aug 21, 2017
2 tasks
@balopat balopat changed the title DRY Dockerfiles via generating them statically from templates DRY Dockerfiles via publishing the generated version Aug 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant