зеркало из https://github.com/mozilla/gecko-dev.git
1ed7f8482f
Now that Docker image building is called from Python, we can start to do advanced stuff with it. With this commit, we switch from building Docker images directly from the source directory ("the Docker way") to using our custom Docker image build contexts. The main advantage of this is that locally-built Docker images can now use our custom Dockerfile syntax to include extra files in the build context! The code for building a Docker image from a context has been extracted to its own standalone function. I have nefarious plans for this in the future, such as the ability to override the FROM syntax to specify URLs of images. This would allow us to host base images on our own server, which removes a dependency on Docker Hub and improves determinism, since images on Docker Hub change all the time. MozReview-Commit-ID: 5lTdV8yEHkc --HG-- extra : rebase_source : c374558b82d0d0302351ffbf3c82878c6663f40c |
||
---|---|---|
.. | ||
__init__.py | ||
attributes.py | ||
docker.py | ||
legacy_commit_parser.py | ||
python_path.py | ||
templates.py | ||
time.py | ||
treeherder.py |