https://github.com/adelton/sketchup-container
Running SketchUp Make in a container
https://github.com/adelton/sketchup-container
container fedora sketchup wine winehq
Last synced: 21 days ago
JSON representation
Running SketchUp Make in a container
- Host: GitHub
- URL: https://github.com/adelton/sketchup-container
- Owner: adelton
- Created: 2018-06-12T16:45:48.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-13T06:08:49.000Z (over 5 years ago)
- Last Synced: 2024-11-07T02:37:07.699Z (6 months ago)
- Topics: container, fedora, sketchup, wine, winehq
- Language: Dockerfile
- Size: 9.77 KB
- Stars: 18
- Watchers: 1
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Run SketchUp Make in container
==============================Running SketchUp on Linux requires installation of Wine. That can
certainly be done as it is packaged for example for Fedora but
I prefer to keep my core workstation installation free of software
that I only use from time to time or which I only use for specific
purpose.This repository helps me to run SketchUp Make 2017 from container
image, installed separately from by workstation packages.Build image
-----------This repository does not distribute the actual SketchUp Make binary.
Download the Windows version fromhttps://www.sketchup.com/download/make
and place it to this directory.
Then run
sudo docker build --build-arg=uid=$(id -u) -t sketchup .
Run the container
-----------------The container image expects the directory with .skp files bind-mounted
to /data directory in the container. This is an example command to
run the container, mounting the current directory:sudo docker run --read-only \
--tmpfs /tmp -v /tmp/.wine-$(id -u) \
-e DISPLAY=$DISPLAY \
--security-opt=label:type:spc_t --user=$(id -u):$(id -g) \
-v /tmp/.X11-unix/X0:/tmp/.X11-unix/X0 \
--device=/dev/dri/card0:/dev/dri/card0 \
-v $(pwd):/data --rm sketchupSketchUp and Wine will store some config and state information in
subdirectory .sketchup-run/ of the directory mounted to /data,
creating that subdirectory upon the first run if needed. It should be
safe to remove that subdirectory.