Skip to content
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

add container files #7

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

add container files #7

wants to merge 5 commits into from

Conversation

viennaa
Copy link
Collaborator

@viennaa viennaa commented Mar 3, 2025

No description provided.

Comment on lines +7 to +8
RUN git clone https://github.com/sapcc/alertmagnet.git
WORKDIR /alertmagnet
Copy link
Contributor

Choose a reason for hiding this comment

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

Why no COPY . /alertmagnet together with .dockerignore to exclude any local venvs? 🧐

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

If this later runs in a pipeline I rather don't want to explicitly checkout the gh repository beforehand to do the adding.
Also it prohibits adding anything critical to the image which might be floating around locally and has been forgotten in the .dockerignore.

Copy link
Member

Choose a reason for hiding this comment

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

But then testing things locally is near impossible and the concourse pipeline is also more luck based than on the pinned resources.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Locally you can link your repository folder to overwrite /alertmagnet and have everything in for testing.

viennaa and others added 4 commits March 4, 2025 11:48
Co-authored-by: Sandro <[email protected]>
Co-authored-by: Sandro <[email protected]>
Co-authored-by: Sandro <[email protected]>
Co-authored-by: Sandro <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants