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

Decreasing docker image size #6577

Closed
wants to merge 1 commit into from

Conversation

Projects
None yet
3 participants
@jaerik
Copy link

jaerik commented Mar 11, 2019

Basing the image on python:3.7.2-alpine3.9
Introducing a separate build stage

Change-Id: I7374caaaa952ad868a15d7a60673a068f1681d98
Signed-off-by: Erik Jansson erikja@axis.com

Resolves #6567

Erik Jansson
Decreasing docker image size
Basing the image on python:3.7.2-alpine3.9
Introducing a separate build stage

Change-Id: I7374caaaa952ad868a15d7a60673a068f1681d98
Signed-off-by: Erik Jansson <erikja@axis.com>
@joakimr-axis

This comment has been minimized.

Copy link

joakimr-axis commented Mar 11, 2019

I have tested this patch and compared to docker images built with current master:

ArchitectureCurrent sizeSize with this patchFootprint reduction
arm952 MB125 MB87%
amd641.31 GB154 MB89%
@chris-crone

This comment has been minimized.

Copy link
Contributor

chris-crone commented Apr 11, 2019

Thanks for the PR @jaerik.

@ulyssessouza's reworking of the Dockerfiles for this project here supersedes this work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.