How to make curl available in Docker image based java:8-jdk-alpine and keep the image clean?
The Java base image you are using is Alpine Linux one and curl package also needs to be downloaded from there. Here is Dockerfile I have used for Production deployments. FROM openjdk:8-jre-alpine RUN apk add –update \ curl \ && rm -rf /var/cache/apk/* Update 05/2019 As of Alpine Linux 3.3 there exists a new –no-cache … Read more