Skip to content

Replace ADD in Dockerfile to follow Docker best practices #17

@haxorof

Description

@haxorof

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions