Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Less layers by joining commands #3

Merged
merged 2 commits into from
May 21, 2015
Merged

Conversation

jnohlgard
Copy link
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
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