Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.k8s_ci.Dockerfile
.venv
database
node_modules
**/node_modules
4 changes: 4 additions & 0 deletions .k8s_ci.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Member

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 ?

Copy link
Member

Choose a reason for hiding this comment

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


#======================================================
# Stage 2.1 - Build galaxy server
#======================================================
Expand Down Expand Up @@ -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/"
Copy link
Member

Choose a reason for hiding this comment

The 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

Copy link
Member Author

Choose a reason for hiding this comment

The 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", "--"]

Expand Down
Loading