What is .build-deps for apk add –virtual command?

What is .build-deps in the following command? I can’t find an explanation in the Alpine docs. Is this a file that is predefined? Is see this referenced in many Dockerfiles. RUN apk add –no-cache –virtual .build-deps \ gcc \ freetype-dev \ musl-dev RUN pip install –no-cache-dir <packages_that_require_gcc…> \ RUN apk del .build-deps 2 Answers 2

Why is the Java 11 base Docker image so large? (openjdk:11-jre-slim)

Java 11 is announced to be the most recent LTS version. So, we’re trying to start new services based on this Java version. However, the base Docker image for Java 11 is much larger than the equivalent for Java 8: openjdk:8-jre-alpine: 84 MB openjdk:11-jre-slim: 283 MB (I’m considering only the official OpenJDK and the most … Read more