Skip to content

Conversation

@missinglink
Copy link
Member

@missinglink missinglink commented Dec 18, 2025

This PR reduces the image byte size 312Mb simply by purging the /tmp dir.

I have also updated the .dockerignore file to target large files present on my local machine during development.

312M	tmp

ls /tmp
07sat.db   7ias.db    dkq65.db   jn4ov.db  r79p.db              w1lt.db
0cb1s.db   84ffw.db   ea52z.db   k04f.db   sd5ml.db             w1q0k.db
1h12.db    84qfc.db   ep3xwl.db  k299g.db  spiex.db             wd8s6.db
20rk8.db   856eg.db   ex34k.db   lbu7.db   taqk2.db             wemh.db
2k2oi.db   8kvx8.db   ey5bt.db   lcbea.db  tb6ei.db             ww4d.db
2t1il.db   8o73th.db  feh1y.db   lceti.db  tl1l.db              x34sb.db
2yzu.db    8o8zg.db   foua.db    lwn8n.db  trcfd.db             x3n7f.db
3a5qn.db   9ex1s.db   gcgi8.db   mlync.db  tvgt.db              x3qkh.db
3e3u.db    9fgj.db    gimu9.db   mmzko.db  tycx8.db             x564.db
403hd.db   9i2p5.db   gmj1i.db   mpvgv.db  typ4d.db             xem74.db
40hvq.db   9m2ab.db   gpdzs.db   ntya.db   u0xnr.db             xnz8.db
45lm.db    9qty.db    h1aqs.db   o2q6z.db  u3jg.db              y2qua.db
5asxm.db   aptlb.db   h75f3.db   o4jpp.db  uf8ls.db             yh5a5.db
5cz9e.db   arf9a.db   hemb6.db   o64x.db   umy9g.db             yuaco.db
5fw6.db    b271.db    hxxur.db   pmcm.db   ut5a.db              yv8h.db
5olxk.db   b7rya.db   ifrge.db   q21o.db   utg.db               ywuhs.db
5rkng.db   ci6yj.db   in95s.db   q5mi.db   uuui9.db             z2vod.db
5w3mpd.db  d5n2s.db   ixpme.db   qh5ew.db  v5w8g.db             zsgas.db
6tady.db   db1ni.db   iydcn.db   qpgjd.db  v8-compile-cache-0/
780bf.db   dkok2.db   jglxo.db   r2wmp.db  vtw5.db

@missinglink
Copy link
Member Author

Screenshot 2025-12-18 at 12 15 00 Screenshot 2025-12-18 at 12 15 10

@missinglink
Copy link
Member Author

The improvement is a combination of this change to the baseimage and the change in this PR, the screenshot above display the compressed byte size.

@missinglink
Copy link
Member Author

missinglink commented Dec 18, 2025

🎉

pelias/spatial   docker-image-size    df884dd5734b   2 minutes ago    505MB
pelias/spatial   latest               935ed2a92c13   5 weeks ago      1.04GB

@missinglink missinglink merged commit f8e457c into master Dec 18, 2025
6 checks passed
@missinglink missinglink deleted the docker-image-size branch December 18, 2025 11:27
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.

2 participants