-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: main
Are you sure you want to change the base?
Conversation
RUN git clone https://github.com/sapcc/alertmagnet.git | ||
WORKDIR /alertmagnet |
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.
Why no COPY . /alertmagnet
together with .dockerignore
to exclude any local venvs? 🧐
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.
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
.
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.
But then testing things locally is near impossible and the concourse pipeline is also more luck based than on the pinned resources.
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.
Locally you can link your repository folder to overwrite /alertmagnet
and have everything in for testing.
Co-authored-by: Sandro <[email protected]>
Co-authored-by: Sandro <[email protected]>
Co-authored-by: Sandro <[email protected]>
Co-authored-by: Sandro <[email protected]>
No description provided.