image-hub icon indicating copy to clipboard operation
image-hub copied to clipboard

CI: Docker build image is >400 mb

Open kushthedude opened this issue 4 years ago • 3 comments

Description

Docker builds image is whooping 400mb. Expected Behavior

Reduce the docker image size by at least 8 times.

kushthedude avatar Jul 21 '20 19:07 kushthedude

Thanks for opening this issue. A contributor will be by to give feedback soon. In the meantime, please review the Layer5 Contributors' Welcome Guide and sure to join the community Slack.

welcome[bot] avatar Jul 21 '20 19:07 welcome[bot]

@pranav-bhatt will you confirm whether this issue remains?

leecalcote avatar Mar 01 '21 04:03 leecalcote

One way to make image thinner is to use [distroless image] for istio (https://hub.docker.com/layers/proxyv2/istio/proxyv2/1.5.0-distroless/images/sha256-29292a1689e8ee5bec7efb6437b012b5dc8d04cea6da6059088a96ff1da7373f?context=explore) Most significant size reduce would be to change go image into alpine version https://hub.docker.com/layers/golang/library/golang/1.13.5-alpine3.11/images/sha256-53dd41aad34f015cd945e924847ce5f7ce6f5114ecf5c284a2b7242b9464f046?context=explore

AugustasV avatar Aug 28 '22 17:08 AugustasV