I need to create a specific user in 3 different containers. Is it possible to write code responsible for that in a separate file and than include that file in all 3 containers?
You know in the name of the DRY rule
Or maybe there is a different method to that?
Using FROM mycontainer is doable but I would need to copy and paste quite a lot of dockerfile code from container that already exists in a hub. Would like to avoid that.