Also, depending on what you are doing, something I have found myself do a lot as of late is to just:

$ docker run -v $PWD:$PWD alpine:3.19 sh -c "cd $PWD; sh -i"

A little bit unwieldy, but it just puts you into a clean environment. Then you can just:

$ apk add -U python3 py3-sqlite

and now you can hack away. =) There's probably a better container for python specifically, but aside from the container image, the rest is universal. It helps to isolate away sometimes. Doesn't help for fixed installs though...

Reply to this note

Please Login to reply.

Discussion

No replies yet.