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

build(ingest): use multistage build for datahub-ingestion #2159

Merged
merged 1 commit into from
Mar 2, 2021

Conversation

hsheth2
Copy link
Collaborator

@hsheth2 hsheth2 commented Mar 2, 2021

This will reduce the final image size a bit.

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable)

This will reduce the final image size.
Copy link
Contributor

@shirshanka shirshanka left a comment

Choose a reason for hiding this comment

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

LGTM.
Just curious: what was the before and after size change @hsheth2

@shirshanka shirshanka merged commit 410b823 into datahub-project:master Mar 2, 2021
@hsheth2
Copy link
Collaborator Author

hsheth2 commented Mar 3, 2021

The size savings wasn't actually big when pushed - maybe a few megabytes. The issue was that in my local build, the copy step was picking up a bunch of artifacts that I had lying around locally.

@hsheth2 hsheth2 deleted the ingestion-image-size branch November 10, 2022 02:25
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.

2 participants