Giter Site home page Giter Site logo

scribus's People

Contributors

johnodon avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

rasata hawbox

scribus's Issues

Problem with volume mount from OSX

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?

help needed to integrate docker in to current Scribus travis-ci workflow

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:

  1. Ability to test builds on Linux (and perhaps other OSs) that are more recent than Travis-CI's default current Ubuntu Trusty
  2. Ability to send Travis-CI builds to a place like SourceForge or Bintray in order for testers to test them

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 ?

A Few Issues / Questions

(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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.