Fix the url in comparison of "COPY" and "RUN curl"
From context on next line,`tar -xJC` implies the file is `big.tar.xz` instead of `big.tar.gz`. Signed-off-by: Wenxuan Zhao <viz@linux.com> Upstream-commit: 3dd134cecaa045e73706c6ce4ab55188e98d1066 Component: engine
This commit is contained in:
@@ -290,7 +290,7 @@ things like:
|
||||
And instead, do something like:
|
||||
|
||||
RUN mkdir -p /usr/src/things \
|
||||
&& curl -SL http://example.com/big.tar.gz \
|
||||
&& curl -SL http://example.com/big.tar.xz \
|
||||
| tar -xJC /usr/src/things \
|
||||
&& make -C /usr/src/things all
|
||||
|
||||
|
||||
Reference in New Issue
Block a user