-
Notifications
You must be signed in to change notification settings - Fork 6
How To Release
David Matějček edited this page Mar 4, 2026
·
6 revisions
- Release Eclipse GlassFish and change the
glassfish.versionproperty in this repository. - Check the latest available eclipse-temurin version applicable and update the
docker.baseImageproperty. - Run the build for changed images, example:
mvn clean verify - Update also version in
.github/workflows/docker-server-publish.ymland.github/workflows/docker-embedded-publish.ymlfiles - Commit all changes push, create a PR and if the CI succeeded, merge to the main branch.
- Run
- Docker Server Publish to GitHub action.
- Docker Embedded Publish to GitHub action.
- Fork/Update the
docker-library/official-imagesrepository and edit thelibrary/glassfishfile using the/images/server/<version>/dockerlibfile-fragment.txtfile:- Don't forget to update the
GitCommitline with the commit id - Don't forget to add the
latesttag to the latest version (as the first one) and remove it from the previous version. - Run
./test/tests/glassfish/run.sh glassfish:latestfor a quick test
- Don't forget to update the
- Visit the
docker-library/docsrepository and replace the contents of theglassfishdirectory with the contents of thetarget/classes/images/server/docsdirectory
You don't need to change anything here. Visit the docker-images-docs repository, update the README.md file and create a PR.
- Visit the
docker-library/official-imagesand remove the block inlibrary/glassfishyou want to be removed. - Visit the
docker-library/docker-images-docsrepository, update the README.md file and create a PR. - Remove the directory here, then commit and push.
Sometimes you need a customized version. OmniFish decided to push its images to its own repository until Docker Hub decides to merge our PR. This repository will not be updated after the donation to Eclipse; you can create own forks too, but you cannot publicly use the Eclipse GlassFish name anywhere.
- Fork Eclipse GlassFish, change its name and whatever you need, test and build it.
- Update what you like - especially check the Dockerfile's base image version, JDK version.
- Build the image, perhaps also with other parameters:
mvn clean verify -Dglassfish.version=7.0.15 -Ddocker.glassfish.repository=myrepo/glassfish4myproject -Ddocker.noCache=true -Ddocker.glassfish.tag=7.0.15.CUST4MYPROJECT - Deploy the image:
docker login # will ask for your username and password docker push myrepo/glassfish4myproject:7.0.15.CUST4MYPROJECT docker logout - Repeat the steps 2 and 3 for the
latesttag - Update the description of the Docker image in the repository with the contents of the file
target/classes/docs/content.md