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

Replace ADD in Dockerfile to follow Docker best practices #17

Closed
haxorof opened this issue Jul 8, 2017 · 0 comments
Closed

Replace ADD in Dockerfile to follow Docker best practices #17

haxorof opened this issue Jul 8, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@haxorof
Copy link
Contributor

haxorof commented Jul 8, 2017

ADD today fetches the release here from Github but according to Docker best practices this kind of use of ADD shall be avoided:

Construct similar to this shall be used instead:

RUN mkdir -p /usr/src/things \
    && curl -SL http://example.com/big.tar.xz \
    | tar -xJC /usr/src/things \
    && make -C /usr/src/things all
@haxorof haxorof added the project label Jul 8, 2017
@haxorof haxorof self-assigned this Aug 4, 2017
haxorof added a commit that referenced this issue Aug 4, 2017
@haxorof haxorof added this to the 1.2.0 milestone Aug 4, 2017
@haxorof haxorof closed this as completed in 3876dc5 Aug 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant