Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FISH-7821 FISH-8190 Multiplatform Docker Images for Server and Micro #6530

Conversation

Pandrex247
Copy link
Member

Description

Port of #6523 to release branch.

Important Info

Blockers

#6523

Testing

New tests

None

Testing Performed

See #6523 for full details, for this branch I just did mvn clean install -PBuildDockerImages -pl :docker-images -amd and checked that it was built using buildx.

Testing Environment

OpenSUSE Leap 15.5 WSL, Zulu JDK 11.0.21

Documentation

N/A

Notes for Reviewers

See #6523

Signed-off-by: Andrew Pielage <pandrex247@hotmail.com>
Signed-off-by: Andrew Pielage <pandrex247@hotmail.com>
…ding multipaltform Server Docker images

Signed-off-by: Andrew Pielage <pandrex247@hotmail.com>
Signed-off-by: Andrew Pielage <pandrex247@hotmail.com>
… image

Signed-off-by: Andrew Pielage <pandrex247@hotmail.com>
Signed-off-by: Andrew Pielage <pandrex247@hotmail.com>
Signed-off-by: Andrew Pielage <pandrex247@hotmail.com>
Signed-off-by: Andrew Pielage <pandrex247@hotmail.com>
Signed-off-by: Andrew Pielage <pandrex247@hotmail.com>
This reverts commit 3816fa6.

It doesn't work, buildx hits an issue with deploying without doing the standard build first,
even though it ends up building it again to deploy.
Signed-off-by: Andrew Pielage <pandrex247@hotmail.com>
This makes the build complicated when using buildx due to the quirk that buildx cannot utilise the local image
cache - it can only pull from a published registry. The server-base Dockerfile is now just folded into the
other server dockerfiles. The downside to this is that the build for each image is now slower due to having to
redo all of what the server-base image previously did for each image (server-full jdk11, server-full jdk17,
server-full jdk21, server-web jdk11 etc.), and increases redundancy in the dockerfiles themselves.

Signed-off-by: Andrew Pielage <pandrex247@hotmail.com>
Signed-off-by: Andrew Pielage <pandrex247@hotmail.com>
Signed-off-by: Andrew Pielage <pandrex247@hotmail.com>
Signed-off-by: Andrew Pielage <pandrex247@hotmail.com>
@Pandrex247 Pandrex247 changed the base branch from master to Payara-6.2024.1-Release January 18, 2024 09:17
Copy link
Contributor

@aubi aubi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Pandrex247 Pandrex247 merged commit 3c4e816 into payara:Payara-6.2024.1-Release Jan 22, 2024
1 check passed
@Pandrex247 Pandrex247 deleted the FISH-7821-FISH-8190-Comm-Release branch January 22, 2024 12:25
@kalinchan kalinchan linked an issue Feb 8, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhancement: multi platform docker builds/FISH-7821
2 participants