Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix non-root support #69

Merged
merged 1 commit into from
Feb 4, 2016
Merged

Conversation

tianon
Copy link
Member

@tianon tianon commented Feb 4, 2016

I'm a little 🐑ish... This was writing to /root/.bundle/config, and using environment variables before they existed. Since Bundler supports environment variables for all settings, let's use those instead so that this actually works properly. 👍

Fixes the shortcoming of #68 (for backlink references).

@tianon
Copy link
Member Author

tianon commented Feb 4, 2016

testing ruby:2.3.0
    'utc' [1/9]...passed
    'cve-2014--shellshock' [2/9]...passed
    'no-hard-coded-passwords' [3/9]...passed
    'override-cmd' [4/9]...passed
    'ruby-hello-world' [5/9]...passed
    'ruby-standard-libs' [6/9]...passed
    'ruby-gems' [7/9]...passed
    'ruby-bundler' [8/9]...passed
    'ruby-nonroot' [9/9]...passed

tianon added a commit to tianon/docker-jruby that referenced this pull request Feb 4, 2016
Sorry, I messed this up in what should've been kind of an obvious way, and now it's much more robust and should actually work properly. 👍

See docker-library/ruby#69 for more context.
@yosifkit
Copy link
Member

yosifkit commented Feb 4, 2016

LGTM (instead of waiting for travis, I'll be doing a buildtest on docker-library/official-images#1417 anyway)

yosifkit added a commit that referenced this pull request Feb 4, 2016
@yosifkit yosifkit merged commit 91d76f8 into docker-library:master Feb 4, 2016
@yosifkit yosifkit deleted the fix-nonroot branch February 4, 2016 23:44
tianon added a commit to infosiftr/stackbrew that referenced this pull request Feb 4, 2016
- `docker`: 1.10.0
- `golang`: 1.6rc2
- `julia`: keep `curl` for `Pkg.add` (docker-library/julia#6)
- `kibana`: add `tini` for signal capturing (docker-library/kibana#32)
- `ruby`: allow non-root usage trivially (docker-library/ruby#68, docker-library/ruby#69)
@lhm lhm mentioned this pull request Mar 20, 2016
RichardScothern pushed a commit to RichardScothern/official-images that referenced this pull request Jun 14, 2016
- `docker`: 1.10.0
- `golang`: 1.6rc2
- `julia`: keep `curl` for `Pkg.add` (docker-library/julia#6)
- `kibana`: add `tini` for signal capturing (docker-library/kibana#32)
- `ruby`: allow non-root usage trivially (docker-library/ruby#68, docker-library/ruby#69)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants