-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[25.1] Fix Docker build issues for k8s_ci container #21593
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
base: release_25.1
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| .k8s_ci.Dockerfile | ||
| .venv | ||
| database | ||
| node_modules | ||
| **/node_modules |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -66,6 +66,9 @@ RUN ansible-galaxy install -r requirements.yml -p roles --force-with-deps | |
| # Add Galaxy source code | ||
| COPY . $SERVER_DIR/ | ||
|
|
||
| # Strip inline comments from conditional-requirements.txt (ansible role passes lines directly to pip) | ||
| RUN sed -i 's/[[:space:]]*# type:.*$//' $SERVER_DIR/lib/galaxy/dependencies/conditional-requirements.txt | ||
|
|
||
| #====================================================== | ||
| # Stage 2.1 - Build galaxy server | ||
| #====================================================== | ||
|
|
@@ -191,6 +194,7 @@ USER $GALAXY_USER | |
|
|
||
| ENV PATH="$SERVER_DIR/.venv/bin:${PATH}" | ||
| ENV GALAXY_CONFIG_CONDA_AUTO_INIT=False | ||
| ENV PYTHONPATH="$SERVER_DIR/lib/" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does that not mess with the tool execution environment ? it may be fine but may also be a gotcha later on
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would love a sanity check from other deployments of the container -- this fixed problems I had but I can maintain it as a patch if need be. |
||
|
|
||
| ENTRYPOINT ["tini", "--"] | ||
|
|
||
|
|
||
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'd imagine this would also be an issue for ansible-galaxy ?
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.
@mvdbeek galaxyproject/ansible-galaxy#240