Skip to content

Dockerfile formatting changes and optimisations#40044

Merged
kolyshkin merged 5 commits intomoby:masterfrom
thaJeztah:buildkit_dockerfile_formatting
Oct 14, 2019
Merged

Dockerfile formatting changes and optimisations#40044
kolyshkin merged 5 commits intomoby:masterfrom
thaJeztah:buildkit_dockerfile_formatting

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

follow-up changes to #39340 (for discussion, see individual commits for what changed)

@thaJeztah
Copy link
Copy Markdown
Member Author

@AkihiroSuda @cpuguy83 PTAL

@thaJeztah thaJeztah added the kind/refactor PR's that refactor, or clean-up code label Oct 10, 2019
Indenting with tabs can cause the formatting to go wonky,
because the first line of any command is "indented" with spaces,
but following lines are not, therefore they can be mis-aligned with
the first line.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Ordering the COPY lines to optimize for layer sharing
when these dependencies are updated.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah force-pushed the buildkit_dockerfile_formatting branch from 775b279 to 93edf32 Compare October 11, 2019 13:52
@thaJeztah thaJeztah changed the title [WIP] Dockerfile formatting changes and optimisations Dockerfile formatting changes and optimisations Oct 11, 2019
@thaJeztah thaJeztah marked this pull request as ready for review October 11, 2019 13:52
@thaJeztah
Copy link
Copy Markdown
Member Author

@cpuguy83 @AkihiroSuda PTAL; planning to make changes after this one to bring the versions into the dockerfile itself (and some other changes)

Copy link
Copy Markdown
Member

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Contributor

@kolyshkin kolyshkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kolyshkin kolyshkin merged commit 11f3687 into moby:master Oct 14, 2019
@thaJeztah thaJeztah deleted the buildkit_dockerfile_formatting branch October 15, 2019 14:01
@thaJeztah thaJeztah added this to the 20.03.0 milestone Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants