Closed gdevenyi closed 4 years ago
Hi Gabriel, Thank you very much for the test, your modification looks good for me, if Pierre don't have any other comments, I will merge this commit.
Best, Xindi
Looks totally good to me, it's just +rX
, which I like.
Although... maybe we can be more selective in making everything executable, even data files. the x bit shoudl be only on files that we want the Linux loader to be able to load. But then it doesn't make much difference.
Big X only sets execute on directories (required) and files already executable
execute/search only if the file is a directory or already has execute permission for some user (X),
Oh great, I forgot that, wonder what I was thinking.
All good.
It looks like the docker hub is updated manually? Can someone push a new version? Thanks!
Also, a possibility: https://docs.docker.com/docker-hub/builds/
Hi, following up again, could someone please use this updated builder to upload a new container to dockerhub?
Hi @gdevenyi , I'd forgotten I'm the one who created that container. It's not even normally my responsibility (I'm not a CIVET dev after all), but I'll build a new one right away.
Cheers thanks, sorry I should've tagged you specifically, since I did know this when I looked at the docker tag :)
@gdevenyi it's building now. I'm not sure how I'll tag it at the end, on DockerHub. Shoudl I just call it mcin/civet:2.1.1
again? It seems wrong. But then, there are NO changes in the scientific code I think. What do you think?
You could add a -build2 tag. I also agree it doesn't change the scientific code so it shouldn't matter though.
I pushed it with the same tag.
Can you try it out and let me know if it's OK? I checked the permissions inside the container and they seem ok.
Permissions are now correct :+1:
Testing a singularity deployment of the docker container, I found we can't actually run the container:
Turns out that the CIVET install is root:root and missing "other" permission:
This patch fixes the permissions of the CIVET install so "other" can access the files, allowing Singularity users to run the container.
WIP because my local build is still building.