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

[Subtask] [Improvement] Use multi-staged build to shrink Hive image size #3262

Closed
unknowntpo opened this issue May 3, 2024 · 0 comments · Fixed by #3268
Closed

[Subtask] [Improvement] Use multi-staged build to shrink Hive image size #3262

unknowntpo opened this issue May 3, 2024 · 0 comments · Fixed by #3268
Labels
subtask Subtasks of umbrella issue

Comments

@unknowntpo
Copy link
Contributor

Describe the subtask

Described in #2925

Parent issue

#2925

@unknowntpo unknowntpo added the subtask Subtasks of umbrella issue label May 3, 2024
github-actions bot pushed a commit that referenced this issue May 22, 2024
)

### What changes were proposed in this pull request?

Use multi-stage build to reduce hive image size from 2.27GB to 1.83GB.

I use first stage to download archive file and unzip them, then in the
final stage, copied them to destination directory.

### Why are the changes needed?

Fix: #3262 

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Unit tests.


## TODO
- [ ] @mchades needs to push new image release to docker hub
- [ ] @unknowntpo should update changelog
jerryshao added a commit that referenced this issue May 23, 2024
)

### What changes were proposed in this pull request?

Use multi-stage build to reduce hive image size from 2.27GB to 1.83GB.

I use first stage to download archive file and unzip them, then in the
final stage, copied them to destination directory.

### Why are the changes needed?

Fix: #3262 

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Unit tests.


## TODO
- [ ] @mchades needs to push new image release to docker hub
- [ ] @unknowntpo should update changelog

Co-authored-by: Eric Chang <e850506@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
subtask Subtasks of umbrella issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant