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

Remove .dockerignore #1036

Merged
merged 1 commit into from
May 16, 2023
Merged

Remove .dockerignore #1036

merged 1 commit into from
May 16, 2023

Conversation

lovromazgon
Copy link
Member

Description

This is a followup to #1035. That PR made the situation better, but did not fix the issue entirely. The version is now reported, but has the suffix -dirty, most likely because some files are not added to the docker context.

This PR removes .dockerignore entirely. This will mean that all files in the repo are imported into the docker context and git should then report the correct version.

A fresh repo clone contains 35MB of data, .dockerignore currently ignores ~2.5MB of files, so the context size will increase by 7%. I think we can live with that.

Fixes (hopefully) #895.

@lovromazgon lovromazgon requested a review from a team as a code owner May 16, 2023 10:47
Copy link
Contributor

@maha-hajja maha-hajja left a comment

Choose a reason for hiding this comment

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

🤞🏼🤞🏼

maha-hajja

This comment was marked as duplicate.

@lovromazgon lovromazgon merged commit be9ebe9 into main May 16, 2023
3 checks passed
@lovromazgon lovromazgon deleted the lovro/remove-dockerignore branch May 16, 2023 11:41
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.

None yet

2 participants