From 3dd134cecaa045e73706c6ce4ab55188e98d1066 Mon Sep 17 00:00:00 2001 From: Wenxuan Zhao Date: Fri, 19 Jun 2015 00:32:21 +0800 Subject: [PATCH] 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 --- docs/articles/dockerfile_best-practices.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/articles/dockerfile_best-practices.md b/docs/articles/dockerfile_best-practices.md index 4c365a4573..19d4fc41c8 100644 --- a/docs/articles/dockerfile_best-practices.md +++ b/docs/articles/dockerfile_best-practices.md @@ -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