Skip to content

cezary17/dockerbuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dockerbuilder

Repo for building docker images in Github actions

Setup guide for gui applications following jupyterhub-deploy-docker

docker-compose.yml: Set DISPLAY env variable in the jupyterhub server

services:
   ...
   environment:
      ...
      DISPLAY: $(DISPLAY)
   ...

jupyterhub_config.yml: Bind X11 directory in each user-container using Dockerspawner config and pass the Display variable

...
c.DockerSpawner.volumes = {
   ...
   "/tmp/.X11-unix": "/tmp/.X11-unix"
}

c.DockerSpawner.environment = {
   "DISPLAY": os.environ["DISPLAY"],
   "QT_X11_NO_MITSHM": "1"
}

About

Repo for building docker images in github actions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages