This adds a justfile (modern make replacement) with recipes to make development easier. Notably, it includes a just dev recipe that spins up the container and dumps you into it in editable mode, so you can dev directly in the container. I opted to move to the full python:3.11 base as the slim base is too minimal for comfortable development (e.g., no ps). This bloats the container from 170MB to 965MB, but a 1GB container is still very reasonable so I think it's worth it.
The justfile only supports Linux for now. Just is cross-platform and recipes can be OS aware, so we can add Windows support in the future if desired. Another approach would be to run just from inside the container, but that will require installing it in the container along with configuring git and possibly ssh, which we can do if we like; I didn't want to go down that rabbit hole just now.
This adds a justfile (modern
make
replacement) with recipes to make development easier. Notably, it includes ajust dev
recipe that spins up the container and dumps you into it in editable mode, so you can dev directly in the container. I opted to move to the fullpython:3.11
base as theslim
base is too minimal for comfortable development (e.g., nops
). This bloats the container from 170MB to 965MB, but a 1GB container is still very reasonable so I think it's worth it.The
justfile
only supports Linux for now. Just is cross-platform and recipes can be OS aware, so we can add Windows support in the future if desired. Another approach would be to runjust
from inside the container, but that will require installing it in the container along with configuringgit
and possiblyssh
, which we can do if we like; I didn't want to go down that rabbit hole just now.