nikolaik / docker-python-nodejs

🐳 Python with Node.js docker image
MIT License
471 stars 73 forks source link

Could xvfb be added? #205

Closed Triavanicus closed 1 month ago

Triavanicus commented 1 month ago

This is more of just a question. The package xvfb could be useful if someone were to be using this container with github actions, for which they would need xvfb if they were to do any amount of testing with any of the gui frameworks, and the package is included in the default github runners.

If, however, you happen to know of an image with nodejs, and python, for which also has xvfb installed, could you point me in the right direction?

Triavanicus commented 1 month ago

TIL how easy it is to create a docker image based off another image.

Create a Dockerfile with:

FROM nikolaik/docker-python-nodejs:latest
RUN apt-get install -y xvfb

Then in the command line run:

docker build -t runner:latest .