| ⚠ WARNING: This image is obsolete and has been superseded by rubensa/ubuntu-tini-dev. |
|---|
This image provides a Python 3 environment useful for local development purposes. The internal user (python3) has sudo and the image includes fixuid so you can set internal user (python3) UID and internal group (python) GUID to your current UID and GUID by providing that info means of "-u" docker running option.
You can interactively run the container by mapping current user UID:GUID and working directory.
docker run --rm -it \
--name "python3-dev" \
-v $(pwd):/home/python3/work \
-w /home/python3/work \
-u $(id -u $USERNAME):$(id -g $USERNAME) \
rubensa/python3-dev
This way, any file created in the container initial working directory is written and owned by current host user in the launch directory.