Hi,
This is a question that I came across in the course:
What is the right instruction to download a file from “https://file.tar.xz” and auto-extract it into “/testdir” in the image?
And the correct answer is
Add https://file.tar.xz /testdir
However, in this document (see the comment below as I cannot post more than two links) , it says
If is a local tar archive in a recognized compression format (identity, gzip, bzip2 or xz) then it is unpacked as a directory. Resources from remote URLs are not decompressed.
So I guess the command above won’t automatically extract because the source is a remote. Please correct me if I’m wrong