PaNOSC-ViNYL / Oasys-Docker

Docker containers for running Oasys (locally and in the browser)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Oasys Local Docker

In order to run the container clone the repo

git clone https://gitlab.elettra.eu/panosc/ceric/oasys-local-docker.git
cd oasys-local-docker.git
docker pull ceric/panosc-oasys-local:oasys.20
bash runn.sh

runn.sh

this container runs with the UID 1000 (user oasys)

--volume=$HOME:/home/oasys:rw

it binds mount your home folder to oasys's home, all files created from the container will be owned by uid 1000

This is the content of runn.sh

#!/bin/bash
XSOCK=/tmp/.X11-unix
# xauth nlist $DISPLAY | sed -e 's/^..../ffff/' | xauth -f $XAUTH nmerge -


docker run -it  --volume=$HOME:/home/oasys:rw     \
                --volume=$XSOCK:$XSOCK:rw   \
                --env="DISPLAY"             \
                --env="QT_X11_NO_MITSHM=1"  \
                --user=oasys               \
                --device=/dev/dri:/dev/dri ceric/panosc-oasys-local:oasys.20

TODO

  • setup a CI/CD Pipeline with a gitlab runner

About

Docker containers for running Oasys (locally and in the browser)


Languages

Language:Shell 88.9%Language:Makefile 6.5%Language:Dockerfile 4.6%