build.sh
provided to simplify creating a base image.
Provide ability to create and use container images where we can manage any updates. The issue being that any breaking change in a Docker image could prevent a production release. It is therefor better practise to rebuild our own images from time to time, when we have time to handle any issues.
docker image ls
docker build -t="8u171-jre-alpine3.7" .
docker tag 8u151-jre-alpine3.7-glibc:latest bncprojects/openjdk:8u151-jre-alpine3.7
You'll have to login to Docker Cloud and be a member of the bncprojects organization
- A Docker cloud account is free to create.
docker login
docker push bncprojects/openjdk:8u171-jre-alpine3.7
./build.sh
FROM bncprojects/openjdk:8u171-jre-alpine3.7
docker pull bncprojects/openjdk:8u171-jre-alpine3.7
Since Alpine ships without glibc, we have put together an image with glibc added in. This is specifically for use with AWS libraries that are built with C libraries with GLIBC dependencies.
FROM bncprojects/openjdk:8u171-jre-alpine3.7-glibc