Comments (7)
What changes are required that can't be handled by docker run --user UID
?
from ansible-role-omero-web.
That doesn't change the UID/GID of the files owned by that user, right? The goal in that thread is to be able to access the source file to develop on omero-web. The docker cp
workflow there would need this change. Other ideas welcome.
from ansible-role-omero-web.
https://www.openmicroscopy.org/community/viewtopic.php?f=4&t=8397&start=10#p18793
A host directory is being mounted on /opt/omero/web
, which means the permissions and UID should be entirely determined by the host system.
from ansible-role-omero-web.
I don't follow. The goal of using docker cp
was to have a simple way to get the valid values out for editing. However, docker cp
transforms permissions even when using -a
. Another option would be to have all of /opt/omero/web
in a volume, but that's not currently the case. The downstream dockerfile that I added on that forum post does the trick, but it's suboptimal.
from ansible-role-omero-web.
If the primary goal is development I'd have though it'd be easier to download OMERO.py on the host, mount that on /opt/omero/web/OMERO.web
, run the docker container with your local UID, and make changes on your host, bypassing the need to copy files back and forth.
edit: what would be even nicer is if you could git clone https://github.com/openmicroscopy/openmicroscopy locally and mount a subdir of that on /opt/omero/web/OMERO.web
from ansible-role-omero-web.
The difference between docker cp
and wget OMERO.py
is probably negligible, so whatever works.
More critical is going to be getting the UIDs/GIDs correct which is what this card is about. I tried several things (all on that thread) with only the last working and it would be simplified by being able to change the UID in the build without needing to chown. If you have another working blurb that doesn't require it, 👍
from ansible-role-omero-web.
what would be even nicer is if you could git clone https://github.com/openmicroscopy/openmicroscopy locally and mount a subdir of that on /opt/omero/web/OMERO.web
Not exactly the same, but at least for the OMERO.server image there's now https://github.com/openmicroscopy/openmicroscopy/pull/5656/files#diff-3254677a7917c6c01f55212f86c57fbf
from ansible-role-omero-web.
Related Issues (14)
- Maintain OMERO.web/var/django_secret_key across upgrades HOT 1
- SELINUX, labels HOT 2
- omero web nginx config is ignored HOT 3
- Add omero_web_python_addons to preinstall additional pip packages HOT 1
- Update to molecule 2 HOT 1
- Patch bin/omero to include path to Python virtualenv
- omero-web Python 3 dependency versioning HOT 2
- Remove testing warning
- Support merge builds
- Add support for omero-web extra dependencies
- Update Role to work with Ubuntu 22.04 Rocky Linux 9 HOT 4
- This role should unconditionally upgrade when the requested version is not the installed version
- Allow customisation of nginx omero-web.conf content HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-role-omero-web.