github.com/lacework-dev/go-moby@v20.10.12+incompatible/reports/builder/2017-05-08.md (about)

     1  # Development Report for May 08, 2017
     2  
     3  
     4  ### Quality: Dependency interface switch
     5  
     6  Proposal for [switching the dependency interface](https://github.com/moby/moby/issues/32904) for current builder package. That should fix the current problems with data leakage and conflicts caused by daemon state cleanup scripts.
     7  
     8  Merged as part of this effort:
     9  
    10  - [Move dispatch state to a new struct](https://github.com/moby/moby/pull/32952)
    11  - [Cleanup unnecessary mutate then revert of b.runConfig](https://github.com/moby/moby/pull/32773)
    12  
    13  In review:
    14  - [Refactor builder probe cache and container backend](https://github.com/moby/moby/pull/33061)
    15  - [Expose GetImage interface for builder](https://github.com/moby/moby/pull/33054)
    16  
    17  ### Merged: docker build --iidfile
    18  
    19  [`docker build --iidfile` to capture the ID of the build result](https://github.com/moby/moby/pull/32406). New option can be used by the CLI applications to get back the image ID of build result. API users can use the `Aux` messages in progress stream to also get the IDs for intermediate build stages, for example to share them for build cache.
    20  
    21  ### New feature: Long running session
    22  
    23  PR for [adding long-running session between daemon and cli](https://github.com/moby/moby/pull/32677) that enables advanced features like incremental context send, build credentials from the client, ssh forwarding etc.
    24  
    25  @simonferquel proposed a [grpc-only version of that interface](https://github.com/moby/moby/pull/33047) that should simplify the setup needed for describing new features for the session. Looking for design reviews.
    26  
    27  The feature also needs to be reworked after CLI split.
    28  
    29  ### buildkit
    30  
    31  Not much progress [apart from some design discussion](https://github.com/moby/moby/issues/32925). Next step would be to open up a repo.
    32  
    33  ### Proposals for new Dockerfile features that need design feedback:
    34  
    35  [Add IMPORT/EXPORT commands to Dockerfile](https://github.com/moby/moby/issues/32100)
    36  
    37  [Add `DOCKEROS/DOCKERARCH` default ARG to Dockerfile](https://github.com/moby/moby/issues/32487)
    38  
    39  [Add support for `RUN --mount`](https://github.com/moby/moby/issues/32507)
    40  
    41  [DAG image builder](https://github.com/moby/moby/issues/32550)
    42  
    43  [Option to export the hash of the build context](https://github.com/moby/moby/issues/32963) (new)
    44  
    45  [Allow --cache-from=*](https://github.com/moby/moby/issues/33002#issuecomment-299041162) (new)
    46  
    47  If you are interested in implementing any of them, leave a comment on the specific issues.
    48  
    49  ### Other new builder features currently in code-review:
    50  
    51  [Allow builds from any git remote ref](https://github.com/moby/moby/pull/32502)
    52  
    53  [Fix a case where using FROM scratch as NAME would fail](https://github.com/moby/moby/pull/32997)
    54  
    55  ### Backlog:
    56  
    57  [Build secrets](https://github.com/moby/moby/pull/30637) will be brought up again in next maintainer's meeting to evaluate how to move on with this, if any other proposals have changed the objective and if we should wait for swarm secrets to be available first.