The downloaded zips and their extracted contents lived in separate RUN layers, so the zips never actually left the image despite a later rm -rf /tmp/apps layer. unzip/smbclient were also left installed after only being needed at build time. Merging fetch, extract, cleanup, and package purge into a single RUN drops the image from 2.31GB to 1.6GB. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NiNnj78HGx1KWyCCo39HSz
7 lines
307 B
Markdown
7 lines
307 B
Markdown
# TODO
|
|
|
|
- ~~Reduce image size of `jayfield/dosbox-novnc` (currently ~2.3GB).~~ Done: merged the
|
|
game download/extract steps and the unzip/smbclient install into a single layer (so the
|
|
downloaded zips and the packages only needed to extract them no longer persist in the
|
|
final image). 2.31GB -> 1.6GB.
|