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

docker: reduce images size #7

Merged
merged 1 commit into from
Jan 6, 2023
Merged

docker: reduce images size #7

merged 1 commit into from
Jan 6, 2023

Conversation

glimchb
Copy link
Member

@glimchb glimchb commented Jan 6, 2023

By introducing multi-stage build
And switching to alpine
And using grpcurl from docker

x20 size reduction !

$ docker images | grep smbios
ghcr.io/opiproject/opi-smbios-bridge   main            f5c93b419b0a   3 hours ago     1.55GB
opi-smbios-bridge                      main            dd66706d37d1   12 days ago     73.1MB

Signed-off-by: Boris Glimcher [email protected]

@glimchb glimchb requested a review from a team as a code owner January 6, 2023 14:53
@codecov
Copy link

codecov bot commented Jan 6, 2023

Codecov Report

Merging #7 (18e2bdb) into main (3170660) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #7   +/-   ##
=======================================
  Coverage   36.70%   36.70%           
=======================================
  Files           2        2           
  Lines          79       79           
=======================================
  Hits           29       29           
  Misses         44       44           
  Partials        6        6           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

By introducing multi-stage build
And switching to alpine
And using grpcurl from docker

x20 size reduction !

$ docker images | grep smbios
ghcr.io/opiproject/opi-smbios-bridge   main            f5c93b419b0a   3 hours ago     1.55GB
opi-smbios-bridge                      main            dd66706d37d1   12 days ago     73.1MB

Signed-off-by: Boris Glimcher <[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.

2 participants