4 ms·
let’s unpack this for a while. what is python:3.8? is this reproducible? what is apt? where is the install coming from? What about poetry? Yeah it’s cool fo
by rantwasp 5y ago
let’s unpack this for a while.
what is python:3.8? is this reproducible?
what is apt? where is the install coming from?
What about poetry?
Yeah it’s cool for shits and giggles but when this thing breaks you’re going to be in a world of pain
for the rpm equivalent:
python setup.py bdist_rpm
wat?
- gtaylor 5y agoOh my. I'm not sure that I'd use Python to make a point about easy interop with distro package managers. It quickly descends into a nightmarish hellscape if you have more than a few dependencies or, different versions of python, or god forbid: C extensions.
- orf 5y agobdist_rpm isn’t equivalent to the Dockerfile above. It can be made reproducible with a few changes (locking the upstream image to a hash, locking the apt package version), but that’s likely overkill. Because when it breaks you’re not in for a “world of pain” at all, you just have a failing CI for an hour. I take it from the lack of an answer to the question that the equivalent non-docker packaging would be much more complex.