GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Alfresco/alfresco-docker-base-java: Alfresco base Java image

BranchesTags
Open more actions menu

Latest commit

 

History

306 Commits
306 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.dockerignore
.dockerignore
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Alfresco Docker Base Java Build Status Docker Hub Pulls

This repository provides the base Docker images for Java LTS versions Rocky Linux 8 and 9 that are meant to be used within the Alfresco engineering to build Docker images for Java applications.

Flavours

Choose between one of the available flavours built from this repository:

Java version Java flavour OS Image ref Size
17 jre Rocky Linux 8 alfresco/alfresco-base-java:jre17-rockylinux8 jre17-rockylinux8 size
11 jre Rocky Linux 8 alfresco/alfresco-base-java:jre11-rockylinux8 jre11-rockylinux8 size
17 jre Rocky Linux 9 alfresco/alfresco-base-java:jre17-rockylinux9 jre17-rockylinux9 size
21 jre Rocky Linux 9 alfresco/alfresco-base-java:jre21-rockylinux9 jre21-rockylinux9 size
25 jre Rocky Linux 9 alfresco/alfresco-base-java:jre25-rockylinux9 jre25-rockylinux9 size

Note: Java 25 uses Eclipse Temurin builds from the Adoptium project instead of distribution packages, as OpenJDK 25 packages are not yet available in Rocky Linux repositories.

The images are available on:

  • Docker Hub, image name: alfresco/alfresco-base-java
  • Quay (enterprise credentials required), image name: quay.io/alfresco/alfresco-base-java

Image pinning

To ensure the propagation of security fixes from upstream projects, all supported tags are mutable and undergo periodic rebuilding.

Pin by digest

The suggested approach is to pin the sha256 digest for best reproducibility in your Dockerfile, for example:

FROM alfresco/alfresco-base-java:jre17-rockylinux9@sha256:b749868ceb42bd6f58ae2f143e8c16af4752fad7b40eb1085c014cbfcecb1ffc

To discover the latest image digest, just run docker pull <image-ref> and then run docker images --digests.

$ docker pull alfresco/alfresco-base-java:jre17-rockylinux9
489e1be6ce56: Already exists
66defdfd2e26: Download complete
41c3b80bc03b: Download complete
be4e433e73b5: Download complete
docker.io/alfresco/alfresco-base-java:jre17-rockylinux9

$ docker images --digests
REPOSITORY                    TAG                 DIGEST                                                                    IMAGE ID       CREATED          SIZE
alfresco/alfresco-base-java   jre17-rockylinux9   sha256:b749868ceb42bd6f58ae2f143e8c16af4752fad7b40eb1085c014cbfcecb1ffc   be4e433e73b5   14 minutes ago   410MB

This configuration approach is compatible with Dependabot.

Pin by immutable tags

Additional tags are being pushed for master releases, following the pattern $tag-YYMMDDHHMM. Those tags are never overwritten and can be used as a more intuitive approach. You can still use it in combination with digest for increased security.

Quay.io doesn't retain previous images when a tag is overwritten, so using an immutable tag is mandatory in order to avoid getting Manifest not found error once a mutable tag get updated.

Development

While any docker installation will produce valid images, building with BuildKit has proven being more efficient and clever with Multistage builds. If you are building images locally, we recommend enabling it.

Naming specs

The images built from this repository are named as follow:

<JAVA_DISTRIBUTION_TYPE><JAVA_MAJOR_VERSION>-<OS_DISTRIBUTION_NAME><OS_DISTRIBUTION_VERSION>

Build an image locally

To build a local version of the base java image follow the instructions below:

BASE_IMAGE_NAME=rockylinux/rockylinux
BASE_IMAGE_TAG=9
DISTRIB_MAJOR=9
JAVA_MAJOR=25
JDIST=jre

docker build -t alfresco-base-java . \
  --build-arg BASE_IMAGE_NAME=$BASE_IMAGE_NAME \
  --build-arg BASE_IMAGE_TAG=$BASE_IMAGE_TAG \
  --build-arg DISTRIB_MAJOR=$DISTRIB_MAJOR \
  --build-arg JAVA_MAJOR=$JAVA_MAJOR \
  --build-arg JDIST=$JDIST \
  --no-cache

Release

New images are built automatically on each new commit on master and on a weekly schedule.

Glossary

  • What is a base image.

Downstream projects

Known projects currently using the base image:

  • Alfresco Base Tomcat
  • Alfresco ActiveMQ
  • Alfresco Transform Core
  • Alfresco Search Services
  • Alfresco Connector for Hyland Experience Insight

About

Alfresco base Java image

Topics

aflrescoalfresco-bdudockerdocker-imagehxp-bdujavaops-readiness-team

Resources

Readme
Apache-2.0 license

Contributing

Contributing
Activity
Custom properties

Stars

7 stars

Watchers

50 watching

Forks

11 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.