aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/build_defs/docker/rewrite_json.py
Commit message (Collapse)AuthorAge
* docker_build: fix JSON rewriting when some fields are nullGravatar Damien Martin-Guillerez2015-08-10
| | | | | | | | | Image generated by docker build might put "null" as entry value in the JSON metadata. Ignore those value when doing the deep copy to avoid error on assigning to "NoneType". -- MOS_MIGRATED_REVID=100145909
* Docker rules: fallback to reading the repositories file when top is absentGravatar Damien Martin-Guillerez2015-07-27
| | | | | | | | | | Docker pulled image do not have the 'top' file but does have a one entry repositories files. To enable using them as input to the docker_build rule, we read the repositories file if no 'top' file is present and use the first declared image as the parent name. -- MOS_MIGRATED_REVID=99181235
* Add docker_build for building Docker image using BazelGravatar Damien Martin-Guillerez2015-07-27
docker_build is a Skylark rule that describe a docker image. You can replace Dockerfile by a docker_build to use Bazel's incrementality model. -- MOS_MIGRATED_REVID=99160762