HomePhabricator

Generalize instructions for entrypoint and working directory

Description

Generalize instructions for entrypoint and working directory

Summary:
Introduce new build.EntryPoint and build.WorkingDirectory
instructions to allow configuration to inject them instead of hard
coding their generation in the Docker compiler.

Simplified the Docker compiler to simply iterate over build phases as
returned by a new function build.Phases().

Depends on D990

Test Plan: Run go test ./....

Reviewers: thcipriani, demon, hashar, Release-Engineering-Team

Reviewed By: thcipriani, Release-Engineering-Team

Tags: Release-Engineering-Team

Differential Revision: https://phabricator.wikimedia.org/D991

Details

Provenance
dduvallAuthored on Feb 27 2018, 9:09 PM
Reviewer
Release-Engineering-Team
Differential Revision
D991: Generalize instructions for entrypoint and working directory
Parents
rGBLBR8fa191f03d34: Simplify Docker instruction compilation
Branches
Unknown
Tags
Unknown
ChangeId
None