/docker-python-nodejs

🐳 Python with Node.js docker image

Primary LanguagePython

Pulls CircleCI

Last updated by bot: 2022-03-25

🐳 Python with Node.js

The latest tag is currently:

  • Node: 16.x
  • npm: 8.x
  • yarn: stable
  • Python: latest
  • pip: latest
  • pipenv: latest
  • poetry: latest

🏷 Tags

To use a specific combination of Python and Node.js see the following table of available image tags.

Tag Python version Node.js version Distro
python3.10-nodejs17 3.10.4 17.8.0 buster
python3.10-nodejs17-bullseye 3.10.4 17.8.0 bullseye
python3.10-nodejs17-slim 3.10.4 17.8.0 slim
python3.10-nodejs17-alpine 3.10.4 17.8.0 alpine
python3.10-nodejs16 3.10.4 16.14.2 buster
python3.10-nodejs16-bullseye 3.10.4 16.14.2 bullseye
python3.10-nodejs16-slim 3.10.4 16.14.2 slim
python3.10-nodejs16-alpine 3.10.4 16.14.2 alpine
python3.10-nodejs14 3.10.4 14.19.1 buster
python3.10-nodejs14-bullseye 3.10.4 14.19.1 bullseye
python3.10-nodejs14-slim 3.10.4 14.19.1 slim
python3.10-nodejs14-alpine 3.10.4 14.19.1 alpine
python3.10-nodejs12 3.10.4 12.22.11 buster
python3.10-nodejs12-bullseye 3.10.4 12.22.11 bullseye
python3.10-nodejs12-slim 3.10.4 12.22.11 slim
python3.10-nodejs12-alpine 3.10.4 12.22.11 alpine
python3.9-nodejs17 3.9.12 17.8.0 buster
python3.9-nodejs17-bullseye 3.9.12 17.8.0 bullseye
python3.9-nodejs17-slim 3.9.12 17.8.0 slim
python3.9-nodejs17-alpine 3.9.12 17.8.0 alpine
python3.9-nodejs16 3.9.12 16.14.2 buster
python3.9-nodejs16-bullseye 3.9.12 16.14.2 bullseye
python3.9-nodejs16-slim 3.9.12 16.14.2 slim
python3.9-nodejs16-alpine 3.9.12 16.14.2 alpine
python3.9-nodejs14 3.9.12 14.19.1 buster
python3.9-nodejs14-bullseye 3.9.12 14.19.1 bullseye
python3.9-nodejs14-slim 3.9.12 14.19.1 slim
python3.9-nodejs14-alpine 3.9.12 14.19.1 alpine
python3.9-nodejs12 3.9.12 12.22.11 buster
python3.9-nodejs12-bullseye 3.9.12 12.22.11 bullseye
python3.9-nodejs12-slim 3.9.12 12.22.11 slim
python3.9-nodejs12-alpine 3.9.12 12.22.11 alpine
python3.8-nodejs17 3.8.13 17.8.0 buster
python3.8-nodejs17-bullseye 3.8.13 17.8.0 bullseye
python3.8-nodejs17-slim 3.8.13 17.8.0 slim
python3.8-nodejs17-alpine 3.8.13 17.8.0 alpine
python3.8-nodejs16 3.8.13 16.14.2 buster
python3.8-nodejs16-bullseye 3.8.13 16.14.2 bullseye
python3.8-nodejs16-slim 3.8.13 16.14.2 slim
python3.8-nodejs16-alpine 3.8.13 16.14.2 alpine
python3.8-nodejs14 3.8.13 14.19.1 buster
python3.8-nodejs14-bullseye 3.8.13 14.19.1 bullseye
python3.8-nodejs14-slim 3.8.13 14.19.1 slim
python3.8-nodejs14-alpine 3.8.13 14.19.1 alpine
python3.8-nodejs12 3.8.13 12.22.11 buster
python3.8-nodejs12-bullseye 3.8.13 12.22.11 bullseye
python3.8-nodejs12-slim 3.8.13 12.22.11 slim
python3.8-nodejs12-alpine 3.8.13 12.22.11 alpine
python3.7-nodejs17 3.7.13 17.8.0 buster
python3.7-nodejs17-bullseye 3.7.13 17.8.0 bullseye
python3.7-nodejs17-slim 3.7.13 17.8.0 slim
python3.7-nodejs17-alpine 3.7.13 17.8.0 alpine
python3.7-nodejs16 3.7.13 16.14.2 buster
python3.7-nodejs16-bullseye 3.7.13 16.14.2 bullseye
python3.7-nodejs16-slim 3.7.13 16.14.2 slim
python3.7-nodejs16-alpine 3.7.13 16.14.2 alpine
python3.7-nodejs14 3.7.13 14.19.1 buster
python3.7-nodejs14-bullseye 3.7.13 14.19.1 bullseye
python3.7-nodejs14-slim 3.7.13 14.19.1 slim
python3.7-nodejs14-alpine 3.7.13 14.19.1 alpine
python3.7-nodejs12 3.7.13 12.22.11 buster
python3.7-nodejs12-bullseye 3.7.13 12.22.11 bullseye
python3.7-nodejs12-slim 3.7.13 12.22.11 slim
python3.7-nodejs12-alpine 3.7.13 12.22.11 alpine

Lovely! These tags are kept updated automatically when new minor or patch version are released by build_versions/main.py, which is run twice a day on CircleCI.

Typical tasks

# Pull from Docker Hub
docker pull nikolaik/python-nodejs:latest
# Build from GitHub
docker build -t nikolaik/python-nodejs github.com/nikolaik/docker-python-nodejs
# Run image
docker run -it nikolaik/python-nodejs bash

Use as base image

FROM nikolaik/python-nodejs:latest

USER pn
WORKDIR /home/pn/app

All images have a default user pn with uid 1000 and gid 1000.

Disclaimer

This is experimental and might break from time to time. Use at your own risk!