Any tips for reducing Docker image size?

It's currently 1.8GB, but even with multi-stage builds it won't go below 1.2GB. How do you all reduce it?

by 지나가던행인575

3 answers

You need to tell me what the base image is before I can answer. Depending on whether it's Alpine or Ubuntu, 500MB just vanishes.

by 데이터덕후476 · ▲0