- For java applications,
openjdk:8-jre-alpine
is a better choice for base images.openjdk:8
: OS is Debian 10.2, image size: 510MB;openjdk:8-jre-alpine
: OS is Alpine Linux, image size: 84.9MB;
- Use
curl
instead ofwget
to download to avoid progress status issues. - In some cases multi-stage builds is a very convenient way to build images for 3-party/complicated applications, see docker/skywalking for an example.
docker
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||