GithubHelp home page GithubHelp logo

Comments (5)

alicederyn avatar alicederyn commented on August 16, 2024
root@3e11a4c38965:/# ls -ld /etc/certs
dr-x------ 2 jetty jetty 1122 Jan 24 18:49 /etc/certs

from gluu-docker.

alicederyn avatar alicederyn commented on August 16, 2024

This is being set in GLUU's setup.py:

            self.run([self.cmd_chown, '-R', 'jetty:jetty', self.certFolder])
            self.run([self.cmd_chmod, '-R', '500', self.certFolder])

I'm rather surprised nobody's hit this before, since this was committed 3 months ago?

from gluu-docker.

alicederyn avatar alicederyn commented on August 16, 2024

I've fixed this in my local checkout by, instead of discarding the various folders generated by setup.py during docker build, copying them to an "images" directory, and then modifying gluu_endpoint to copy them back before running the LDAP server. Is this a bad approach in general?

Alternatively, if running setup.py locally, not on the image, is essential, I could create a new docker machine that maps the data directories elsewhere, runs setup.py and copies across the results (thus moving this step out of the docker build process), and have the LDAP machine wait for this to finish (signalling completion with a special file). Obviously as this is more complex I'd rather not bother—is there a security risk to leaving setup.py's results in the docker image?

from gluu-docker.

pi0 avatar pi0 commented on August 16, 2024

@ChrisAlice Sorry reaching you out late. Actually this was the method i was previously using (creating an onpbuild image which runs and stores setup.py results inside image) But this method was very unstable as many components seems to have dependency on hostname (which we cannot change during build stage).

/bin/chmod: cannot access '/opt/node-v6.9.1-linux-x64/bin/': No such file or directory,

This is really not an issue, as we already include every dependency (see Dockerfile) and setup.py tries to do this again relying their customized and never released environment which they internally use to package gluu dep packages.

Gluu was under heavy changes during this project so things may be broken. I'll try to investigate breaking changes this weekend ;)

from gluu-docker.

oluies avatar oluies commented on August 16, 2024

I didnt get it up and running also, is the README the current setup steps ?

from gluu-docker.

Related Issues (6)

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.