github.com/cookieai-jar/moby@v17.12.1-ce-rc2+incompatible/reports/builder/2017-06-05.md (about) 1 # Development Report for June 5, 2017 2 3 ### New feature: Long running session 4 5 Similarly to last week, the PR for [adding long-running session between daemon and cli](https://github.com/moby/moby/pull/32677) is waiting for reviews. It is blocking many new features like the token signing, not pulling unnecessary context files, exposing sources outside working directory, etc. Maintainers are encouraged to give this one a review so it can be included in `v17.07` release. 6 7 8 ### Quality: Dependency interface switch 9 10 Work continues on making the builder dependency interface more stable. 11 12 PRs currently in review as part of this effort: 13 14 - [Move file copying from the daemon to the builder](https://github.com/moby/moby/pull/33454) 15 16 This PR is the core of the update that removes the need to track active containers and instead of lets builder hold references to layers while it's running. 17 18 Related to this, @simonferquel opened a [WIP PR](https://github.com/moby/moby/pull/33492) that introduces typed Dockerfile parsing. This enables making [decisions about dependencies](https://github.com/moby/moby/issues/32550#issuecomment-297867334) between build stages and reusing Dockerfile parsing as a buildkit frontend. 19 20 ### Buildkit 21 22 Some initial proof of concept code for [buildkit](https://github.com/moby/moby/issues/32925) has been pushed to https://github.com/tonistiigi/buildkit_poc . It's in a very early exploratory stage. Current codebase includes libraries for getting concurrency safe references to containerd snapshots using a centralized cache management instance. There is a sample source implementation for pulling images to these snapshots and executing jobs with runc on top of them. There is also some utility code for concurrent execution and progress stream handling. More info should follow in next weeks, including hopefully opening up an official repo. If you have questions or want to help, stop by the issues section of that repo or the proposal in moby/moby. 23 24 ### Proposals discussed in maintainers meeting 25 26 Reminder from last week: New builder proposals were discussed in maintainers meeting. The decision was to give two more weeks for anyone to post feedback to [IMPORT/EXPORT commands](https://github.com/moby/moby/issues/32100) and [`RUN --mount`](https://github.com/moby/moby/issues/32507) and accept them for development if nothing significant comes up. It is the last week to post your feedback on these proposals or the comments in them. You can also volunteer to implement them. 27 28 A new issue about [build secrets](https://github.com/moby/moby/issues/33343) has not got much traction. If you want this feature to become a reality, please make yourself heard. 29 30 ### Proposals for new Dockerfile features that need design feedback: 31 32 [Add IMPORT/EXPORT commands to Dockerfile](https://github.com/moby/moby/issues/32100) 33 34 [Add `DOCKEROS/DOCKERARCH` default ARG to Dockerfile](https://github.com/moby/moby/issues/32487) 35 36 [Add support for `RUN --mount`](https://github.com/moby/moby/issues/32507) 37 38 [DAG image builder](https://github.com/moby/moby/issues/32550) 39 40 [Option to export the hash of the build context](https://github.com/moby/moby/issues/32963) (new) 41 42 [Allow --cache-from=*](https://github.com/moby/moby/issues/33002#issuecomment-299041162) (new) 43 44 [Provide advanced .dockeringore use-cases](https://github.com/moby/moby/issues/12886) [2](https://github.com/moby/moby/issues/12886#issuecomment-306247989) 45 46 If you are interested in implementing any of them, leave a comment on the specific issues. 47 48 ### Other builder PRs merged last week 49 50 [Fix canceling builder on chunked requests](https://github.com/moby/moby/pull/33363) 51 52 [Fix parser directive refactoring](https://github.com/moby/moby/pull/33436) 53 54 ### Builder features currently in code-review: 55 56 [Warn/deprecate continuing on empty lines in `Dockerfile`](https://github.com/moby/moby/pull/29161) 57 58 [Fix behavior of absolute paths in .dockerignore](https://github.com/moby/moby/pull/32088)