Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Fixed: Publishing Mondrian Schema via console #41

Open
stonegatebi opened this issue Jul 21, 2017 · 2 comments
Open

Fixed: Publishing Mondrian Schema via console #41

stonegatebi opened this issue Jul 21, 2017 · 2 comments
Labels

Comments

@stonegatebi
Copy link

After studying the docker container produced from Dockerfile, I discovered why the resulting image has problems with not only Marketplace, but also schema publishing. There is a mixture of permissions between root and say the user 'pentaho'. This is easily fixed near the end of the build by 'chown -R $BISERVER_USER.$BISERVER_USER /biserver-ce'

@zhicwu
Copy link
Owner

zhicwu commented Jul 21, 2017

Chown all files under /biserver-ce will likely double the image size, so I need to avoid that.

Maybe I should not add non-root user in the container. But the problem I'm trying to resolve is to map users in container and host, so that a non-root user on host can view files(usually logs) exposed by the container. Maybe it's not necessary to do this anymore since logs can be captured by logspout and fluentd/syslog/elk.

@zhicwu zhicwu added the bug label Jul 22, 2017
@stonegatebi
Copy link
Author

stonegatebi commented Jul 24, 2017

So we could chown the directories in the && stack of commands (making only that layer). I'll report back how that went. Another possibility is using the sticky bit on the host's bind directory to set default permissions compatible with whomever on your system needs to read logs. I am just now starting to look into how I could ingest logs with an ELK stack.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants