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.
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
Refactor the Dockerfile + integrate
qlever
script #1439Refactor the Dockerfile + integrate
qlever
script #1439Changes from 1 commit
421a16c
471d2d1
fabb137
c0d9e18
5c9f444
8b5e0c1
4ba8516
c31d45a
974ffb0
e17f2b6
fee7d8a
77ce159
2ca7d03
6cc7308
e3ae2b7
562c948
73ed78d
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is no longer required. The used boost packages are from the official package repositories now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
apt
cache.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something that might be good to do is to lock a specific version of the
qlever
CLI, to avoid unwanted breaking changes if the image gets rebuilt.First define an
ARG
like this at the top of the Dockerfile (so that it's easy to know what to change in case of upgrade):Then you might need to tell the layer to use the
QLEVER_VERSION
arg, by just adding:in the layer.
And then, you can use it that way, if I'm not mistaking on how to specify a package version with pipx (I guess it should behave like pip):
You can take a look here for an example: https://github.com/zazukoians/qlever-tests/blob/76ada0b53174beb79d11ed14662536689a165fff/docker/server.Dockerfile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest using the default entrypoint from the Ubuntu Docker image (preferred):
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or explicitly set it to an empty one: