fusor / archived-ansibleapp-library

A collection of functional AnsibleApps
1 stars 4 forks source link

ansibleapp-base arbitrary uid support; example arbitrary uid project #42

Closed jcpowermac closed 7 years ago

jcpowermac commented 7 years ago

This PR adds the ability to run ansibleapp(-base) containers under OpenShift using the restricted scc and arbitrary uid support. These changes were based on existing work

The helloworld nginx example also runs in restricted scc with arbitrary uid support. It was used to testing the ansibleapp-base modifications.

Testing:

jcpowermac commented 7 years ago

I didn't notice that travis had failed and I am not quite sure why. I just pushed an empty commit to trigger a build and no issues. When someone has a chance if you could please review. Thanks!

fabianvf commented 7 years ago

Hi @jcpowermac, thanks a ton for the contribution. We've been a little slammed with summit coming up, I just wanted to let you know that we'll be taking a look at this post summit. We will also update our docs and getting started resources to explain the changes that were made for summit. Sorry for the delay/silence!

fabianvf commented 7 years ago

all right @jcpowermac, sorry this has been hanging around so long, things went a little crazy leading up to summit. You may have noticed that we went through a name change, now instead of ansible apps we are ansible playbook bundles (apbs). ansibleapp-library is in the process of being replaced by apb-examples.

The basic structure of the Dockerfile remains the same, as does much of the app so I think this patch would be pretty easy to copy over. Biggest difference will be that we don't build the dependent images in the repository anymore, we just store the metadata, deployment playbooks/roles, and Dockerfile for the metacontainer. I'd be happy to assist with the update, our documentation is lagging a bit behind the summit changes right now.

I was also curious if you had any documentation/resources on the anyuid stuff? I checked out the Dockerfile best practices docs but it looks like the Users section was TBD. Not crazy familiar with this so was hoping to cure my ignorance.

If you want to meet in person/over the phone to talk about this that's fine too, just let me know!

jcpowermac commented 7 years ago

No longer need this PR.