Sign inSign up

math2306/cura-docker

By math2306

•Updated about 5 years ago

Cura packaged as a container from Ubuntu PPA (forked from stevebake/cura-docker)

Image
0

994

math2306/cura-docker repository overview

⁠Cura packaged as a container from Ubuntu PPA

Forked from https://github.com/steveb/cura-docker⁠ as it hasn't been updated for over a year and doesn't use tags on docker hub.

This image packages Thomas Pietrowski's cura PPA⁠ so that it can be run in an isloated container.

It can be run with the following script:

#!/bin/sh

if  docker inspect cura-docker > /dev/null
then
  docker rm cura-docker
  sudo rm -rf /tmp/.docker.xauth
fi

XSOCK=/tmp/.X11-unix
XAUTH=/tmp/.docker.xauth
xauth nlist :0 | sed -e 's/^..../ffff/' | xauth -f $XAUTH nmerge -
docker run -ti -v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro -v $HOME:$HOME -v $XSOCK:$XSOCK -v $XAUTH:$XAUTH -e XAUTHORITY=$XAUTH -e DISPLAY --user $UID:$GROUPS docker.io/math2306/cura-docker

If you want any third-party plugins to be installed, you can mount them to the plugins subfolder by adding the volume mount parameter to the docker run command, e.g.:

-v /path/to/plugin/Plugin.py:/usr/lib/cura/plugins/PostProcessingPlugin/scripts/Plugin.py

Tag summary

Content type

Image

Digest

Size

313.4 MB

Last updated

about 6 years ago

docker pull math2306/cura-docker