/docker-python-nodejs

🐳 Python with Node.js docker image

Primary LanguagePython

Pulls CircleCI

Last updated by bot: 2022-06-17

🐳 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-nodejs18 3.10.5 18.4.0 buster
python3.10-nodejs18-bullseye 3.10.5 18.4.0 bullseye
python3.10-nodejs18-slim 3.10.5 18.4.0 slim
python3.10-nodejs18-alpine 3.10.5 18.4.0 alpine
python3.10-nodejs16 3.10.5 16.15.1 buster
python3.10-nodejs16-bullseye 3.10.5 16.15.1 bullseye
python3.10-nodejs16-slim 3.10.5 16.15.1 slim
python3.10-nodejs16-alpine 3.10.5 16.15.1 alpine
python3.10-nodejs14 3.10.5 14.19.3 buster
python3.10-nodejs14-bullseye 3.10.5 14.19.3 bullseye
python3.10-nodejs14-slim 3.10.5 14.19.3 slim
python3.10-nodejs14-alpine 3.10.5 14.19.3 alpine
python3.9-nodejs18 3.9.13 18.4.0 buster
python3.9-nodejs18-bullseye 3.9.13 18.4.0 bullseye
python3.9-nodejs18-slim 3.9.13 18.4.0 slim
python3.9-nodejs18-alpine 3.9.13 18.4.0 alpine
python3.9-nodejs16 3.9.13 16.15.1 buster
python3.9-nodejs16-bullseye 3.9.13 16.15.1 bullseye
python3.9-nodejs16-slim 3.9.13 16.15.1 slim
python3.9-nodejs16-alpine 3.9.13 16.15.1 alpine
python3.9-nodejs14 3.9.13 14.19.3 buster
python3.9-nodejs14-bullseye 3.9.13 14.19.3 bullseye
python3.9-nodejs14-slim 3.9.13 14.19.3 slim
python3.9-nodejs14-alpine 3.9.13 14.19.3 alpine
python3.8-nodejs18 3.8.13 18.4.0 buster
python3.8-nodejs18-bullseye 3.8.13 18.4.0 bullseye
python3.8-nodejs18-slim 3.8.13 18.4.0 slim
python3.8-nodejs18-alpine 3.8.13 18.4.0 alpine
python3.8-nodejs16 3.8.13 16.15.1 buster
python3.8-nodejs16-bullseye 3.8.13 16.15.1 bullseye
python3.8-nodejs16-slim 3.8.13 16.15.1 slim
python3.8-nodejs16-alpine 3.8.13 16.15.1 alpine
python3.8-nodejs14 3.8.13 14.19.3 buster
python3.8-nodejs14-bullseye 3.8.13 14.19.3 bullseye
python3.8-nodejs14-slim 3.8.13 14.19.3 slim
python3.8-nodejs14-alpine 3.8.13 14.19.3 alpine
python3.7-nodejs18 3.7.13 18.4.0 buster
python3.7-nodejs18-bullseye 3.7.13 18.4.0 bullseye
python3.7-nodejs18-slim 3.7.13 18.4.0 slim
python3.7-nodejs18-alpine 3.7.13 18.4.0 alpine
python3.7-nodejs16 3.7.13 16.15.1 buster
python3.7-nodejs16-bullseye 3.7.13 16.15.1 bullseye
python3.7-nodejs16-slim 3.7.13 16.15.1 slim
python3.7-nodejs16-alpine 3.7.13 16.15.1 alpine
python3.7-nodejs14 3.7.13 14.19.3 buster
python3.7-nodejs14-bullseye 3.7.13 14.19.3 bullseye
python3.7-nodejs14-slim 3.7.13 14.19.3 slim
python3.7-nodejs14-alpine 3.7.13 14.19.3 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!