refactor: building of docker images is more flexible #154
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.
This implements #146.
During the refactor I also modernized the build pipeline and Dockerfile with caching, steps, etc. I also use a trick to easily merge base images like node and python into a single image without using something like nikolaik/python-nodejs. However, I did use debian for this as it is more broadly supported on docker images.
I took the liberty to remove the
.autoindex
suffix from the Dockerfile. However, I did not remove this from the generated docker tags to avoid any breaking changes. That said, it fully overlaps withlatest
so it could be removed.Finally, I did the build step using a matrix so in theory different version could be build. Maybe this is early-optimization but o well.
Before this is merged, feel free to use
ghcr.io/codean-io/scip-python
as your SCIP image if you need the ARM support.