akamai / akamai-docker

Dockerfile for official Akamai's DevOps environment containing CLI packages and useful tools
Apache License 2.0
39 stars 15 forks source link

Streamline builder images #43

Open ynohat opened 4 years ago

ynohat commented 4 years ago

With #42 we pinned all builder images to alpine 3.11, matching the BASE in dockerfiles/base.Dockerfile. This ensures a matching distribution and interpreter runtime between builders and final images.

The problem is that it is hardcoded and duplicated across a few files, a minor maintainability issue.

Would it make sense to either:

I think I like the "one builder image base" option, because it gives a lot of control, but I haven't thought through all the implications.