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-build: reduce all the reva* image sizes #1705

Merged
merged 1 commit into from
May 17, 2021

Conversation

SamuAlfageme
Copy link
Contributor

  • From 1.94GB to 40MB, using golang:alpine for the build and scratch as base for the binary
  • 'latest-eos' is still bloated due to eos/slim
REPOSITORY                                          TAG                IMAGE ID       CREATED         SIZE
alfageme/revad                                      latest             fee1a27ac5f0   4 minutes ago   40MB
alfageme/revad                                      latest-eos         02fd02258069   5 hours ago     2.43GB
alfageme/reva                                       latest             b830b5559200   5 hours ago     16MB
  • Removes several potential targets from the image
  • Enable static linking for the C libraries in the BUILD_FLAGS

@update-docs
Copy link

update-docs bot commented May 12, 2021

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

- From 1.94GB to 40MB, using golang:alpine as builder and
scratch as base for the binary
- 'latest-eos' is still bloated due to being based on eos/slim

REPOSITORY                                          TAG                IMAGE ID       CREATED         SIZE
alfageme/revad                                      latest             fee1a27ac5f0   4 minutes ago   40MB
alfageme/revad                                      latest-eos         02fd02258069   5 hours ago     2.43GB
alfageme/reva                                       latest             b830b5559200   5 hours ago     16MB
@labkode labkode merged commit a28db08 into cs3org:master May 17, 2021
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