This module maintains all the base images for the Eclipse ECSP Platform.
- Base Image:
azul/zulu-openjdk-alpine:17.0.9-17.46.19-jre-headless - OS: Alpine Linux
- Purpose: Minimal Java 17 runtime for ECSP applications.
- Base Image:
azul/zulu-openjdk-alpine:17.0.9-17.46.19 - OS: Alpine Linux
- Java: OpenJDK 17
- Tomcat: 10.1.40 (installed from official Apache archives)
- APR: Tomcat Native Library (APR) compiled and included for enhanced performance.
- Purpose: Java 17 runtime with Tomcat 10 and APR for ECSP web applications.
Update the .env file as per release requirements:
build_repo=docker.io/eclipseecsp
build_version=1.0.0-1
Follow these steps to build the images:
-
Clone the repository (if not already done):
git clone <repository-url> cd docker-base-image -
Update the
.envfile with the correctbuild_repoandbuild_versionvalues. -
Build the images using Docker Compose: go to the directory where the
docker-compose.ymlfile is located and run:cd java17build images
docker compose build
- This will build all images defined in the
docker-compose.ymlfile. - To build a specific image, use:
Replace
docker compose build <service-name>
<service-name>with the desired image (e.g.,ecsp-base-java17-tomcat10-apr).
- This will build all images defined in the
-
Verify the built images:
docker images | grep <service-name>
Push the images to your configured repository:
-
Login to Docker registry (if required): generate Personal Access token(PAT) on https://app.docker.com/settings and use it as password
docker login <your-registry-url>
- For Docker Hub, use:
docker login
- For Docker Hub, use:
-
Push the images using Docker Compose:
docker compose push
- To push a specific image:
docker compose push <service-name>
- To push a specific image:
-
Verify the images in your registry (e.g., Docker Hub or your private registry).
- You can check the pushed images using:
docker search eclipseecsp
- Or private registry
docker search <your-registry-url>
- Or by visiting your Docker Hub account or private registry.
- You can check the pushed images using:
- NA
All updates to this library are documented in releases For the available versions, see the tags on this repository.