johnodon / scribus Goto Github PK
View Code? Open in Web Editor NEWScribus Docker container
Scribus Docker container
First thank you very much for that Docker image. I have joined an editorial team in school and they use Scribus. So I thought using this inside a Docker container simplifies the installation on my Mac.
I use the following docker-compose.yml instead of using a long command line.
scribus:
image: johnodon/scribus
volumes:
- .:/nobody
ports:
- 3389:3389
environment:
- USER_ID=501
- GROUP_ID=20
On OSX the group is 20 = staff
. In the Linux conainer group 20 already exists as dialout
.
But spinning it up fails due to the chown
in /etc/my_init.d/01_user_config.sh
.
$ docker-compose up
Recreating jahresheft_scribus_1
Attaching to jahresheft_scribus_1
scribus_1 | *** Running /etc/my_init.d/00_config.sh...
scribus_1 |
scribus_1 | Current default time zone: 'Etc/UTC'
scribus_1 | Local time is now: Sat Mar 5 22:14:25 UTC 2016.
scribus_1 | Universal Time is now: Sat Mar 5 22:14:25 UTC 2016.
scribus_1 |
scribus_1 | *** Running /etc/my_init.d/01_user_config.sh...
scribus_1 | groupmod: GID '20' already exists
scribus_1 | usermod: no changes
scribus_1 | chown: changing ownership of ‘/nobody/Designtest_J1.sla’: Operation not permitted
scribus_1 | chown: changing ownership of ‘/nobody/Designtest_J2.sla’: Operation not permitted
scribus_1 | chown: changing ownership of ‘/nobody/docker-compose.yml’: Operation not permitted
scribus_1 | chown: changing ownership of ‘/nobody/’: Operation not permitted
scribus_1 | *** /etc/my_init.d/01_user_config.sh failed with status 1
scribus_1 |
scribus_1 | *** Killing all processes...
jahresheft_scribus_1 exited with code 1
The problem seems to be the already existing group. I've done the steps manually in a container
docker run -v $(pwd):/nobody -e USER_ID=501 -e GROUP_ID=20 -it johnodon/scribus bash
and when I first remove the group groupdel dialout
the rest of the script works fine.
Any ideas how this could be 'fixed' in the docker image?
Hi @johnodon
I volunteer for https://github.com/scribusproject/scribus/ and was wondering if you'd be interested in lending a hand in helping us set up a workflow that includes docker along with our current travis-ci. The idea behind this is two-fold:
These refinements will really boost the efficiency of testing Scribus along with making testing patches and eventually faster integration of 3rd party developer code in to Scribus.
Interested ?
(Sorry for the nonstandard issue ticket)
I am very excited about this container, but I see a few minor issues, including not being able to mount a directory for fonts, as well as the container not automatically restarting scribus if it closes or crashes.
If I work on these issues, will you accept PRs?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.