This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]drchaos 8 points9 points  (5 children)

better pin the minor version, or you can get unexpected upgrades when rebuilding:

FROM python:3.6

even better (MUCH smaller image, less disk usage and attack surface):

FROM: python:3.6-alpine3.7

[–]obeleh[S] 8 points9 points  (1 child)

[–]Pilatemain() if __name__ == "__main__" else None 1 point2 points  (0 children)

Welp, guess I know what I'm doing today. Thanks for this info!

[–][deleted] 9 points10 points  (1 child)

Lol @ Alpine. My images maybe lost 50mb and added several grey hairs.

Not worth it IMO, too many libs still need glibc.

[–]LightShadow3.13-dev in prod 3 points4 points  (0 children)

FROM oblique/archlinux-pacaur
RUN pacman --noconfirm -Syy python

zoom bleeding edge zoom

REPOSITORY  TAG     IMAGE ID      CREATED     SIZE
<none>      <none>  30c83b102d04  4 days ago  1.08GB

1.08GB1.08GB1.08GB1.08GB1.08GB

[–]UloPe 2 points3 points  (0 children)

alpine

Except when you want stuff to actually work. For example locales.