Skip to content

Less layers by joining commands#3

Merged
OlegHahm merged 2 commits intoRIOT-OS:masterfrom
jnohlgard:pr/less-layers
May 21, 2015
Merged

Less layers by joining commands#3
OlegHahm merged 2 commits intoRIOT-OS:masterfrom
jnohlgard:pr/less-layers

Conversation

@jnohlgard
Copy link
Copy Markdown
Member

Each RUN command in the Dockerfile adds a file system layer to the container. Joining commands on a single line using && results in less layers and less overhead.

This joins the update and dist-upgrade commands on a single line, there is really no use for them as separate layers.

@OlegHahm
Copy link
Copy Markdown
Member

I have no idea about docker, but the explanation sounds reasonable and the change seems valid. ACK and go!

OlegHahm added a commit that referenced this pull request May 21, 2015
Less layers by joining commands
@OlegHahm OlegHahm merged commit 0f336e1 into RIOT-OS:master May 21, 2015
@jnohlgard jnohlgard deleted the pr/less-layers branch October 9, 2018 11:34
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.

2 participants