Sign inSign up

kipparker/docker-tape-run

By kipparker

•Updated over 10 years ago

Adds X11 requirements to base node/argon image to run Electron tests with tape-run

Image
0

503

kipparker/docker-tape-run repository overview

⁠docker-tape-run

A demo to setup a tape-run environment on linux with Docker

There's a known issue that electron does not support headless testing on Linux⁠, but we can use xvfb to create a virtual frame environment to make it work.

Here's a little demo setup to make it work with docker, same idea could applied to any Linux environment.

To build the docker image

docker build -t docker-tape-run .

To run the test

docker run docker-tape-run

This repo copies ideas from Running Nightmare headlessly on Linux ⁠

Tag summary

Content type

Image

Digest

Size

531.5 MB

Last updated

over 10 years ago

docker pull kipparker/docker-tape-run