Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
provides a new Dockerfile (in addition to existing) which will
A dockerfile can be built directly using only this new single Dockerfile.selfbuild - and there is no requirement to build egeria in advance, nor copy files around. This may make it easier for developers, it can be built directly on dockerhub, and easily fit into a ci/cd process
Of course organization processes will vary, so it ultimately just forms another example of how one could build an image
Fixes #7684
Related Issue(s)
Testing
docker build -t planetf1/egeria:selfbuild1 -f ./Dockerfile.selfbuild . && docker run docker.io/planetf1/egeria:selfbuild1
Release Notes & Documentation
If we think it's useful, we should add content to the release notes once we've had a chance to review/try it out
Additional notes
cc: @dwolfson @lpalashevski @mandy-chessell
In future may want to consider
We might also be able to build directly from a git url - see https://docs.docker.com/engine/reference/commandline/build/
However I could not get this working with rancher desktop. Also our dockerfile is deep in the directory tree, and has an alternative name. May need refactoring
I offer it as an example, a starting point for further ideas