Skip to content

Conversation

@eccles
Copy link
Contributor

@eccles eccles commented Nov 10, 2022

Problem:
Docker image is 1.18GB.

Solution:
Base ubuntu image is only 77.8MB so adding all deps adds 950MB. Added no-install-recommends reduces image size to 853MB.
Additionally writing abbreviated xml types is disabled.

Signed-off-by: Paul Hewlett phewlett76@gmail.com

Problem:
Docker image is 1.18GB.

Solution:
Base ubuntu image is only 77.8MB so adding all deps adds
950MB. Added no-install-recommends reduces image size to
853MB.
Additionally writing abbreviated xml types is disabled.

Signed-off-by: Paul Hewlett <phewlett76@gmail.com>
@eccles eccles requested a review from landintrees November 10, 2022 16:42
Copy link

@landintrees landintrees left a comment

Choose a reason for hiding this comment

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

LGTM

@eccles eccles merged commit c746ce8 into main Nov 10, 2022
@eccles eccles deleted the dev/eccles/make-docker-image-smaller branch November 10, 2022 16:43
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.

3 participants