How to download and unzip in Dockerfile How to download and unzip in Dockerfile wordpress wordpress

How to download and unzip in Dockerfile


Dockerfile has "native command" for copying and extracting .tar.gz files.

So you can change archive type from .zip to .tar.gz (maybe in future versions zip also will be supported, I'm not sure) and use ADD instead of COPY.

Read more about ADD