-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
The docker files are currently located under the docker directory. This is problematic because:
The docker build command will use whatever directory contains the Dockerfile
as the build context (including all of its subdirectories).
...
In most cases, it's best to put each Dockerfile in an empty directory, and
then add only the files needed for building that Dockerfile to that
directory.
(source: https://docs.docker.com/reference/builder/)
One solution is to have scripts that copy the necessary stuff into the appropriate docker directory. This could be done via a simple "cp" command if the docker files are present in the repo (as they are now) or via a "git clone" command if they are elsewhere.
Thoughts?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels