Comments (11)
Just putting my two cents here, but I like the idea of /root
being common to all environments. I have my dotfiles, common scripts, etc in there and it "just works" when switching to new environments. Not the end of the world if I have to source my /home/jgallen23/.bashrc
though. Or maybe the default /root/.bashrc
checks to see if your current user's home directory has a .bashrc and sources? That might be the best way to go
from envy.
Yeah we can do that default.
from envy.
One other thing to think about is that with a shared /root
, I only have to generate an sshkey once, add that to github and then I can clone from any environment without having to mess around with new keys.
from envy.
I don't totally follow. You're generating a private key to use from an envy environment? And you'd rather that be for the root user than your own user.
from envy.
I'm generating ssh key from my jgallen23 envy env so I can clone private repos in all my other envy environments. Is there a better way to handle this?
from envy.
And that ssh key gets stored in /root/.ssh/id_rsa, so if root isn't shared, then the ssh keys won't be the same across envy environments.
from envy.
Yeah. That could be desired but also not impossible to achieve when root isn't shared. But it's a good point from a convenience point of view.
Would love to hear more perspectives on this.
from envy.
I still haven't moved /env
to /root/env
, however, I did set up a new RC / startup script system that would relatively easily allow you to resolve the SSH key issue.
from envy.
one other thing to think about is other dotfiles. .gitconfig, .vimrc, .jshintrc, .aws, .npm, etc. I would think all environments for that user should share those things. Are you envisioning those would be manually symlinked with the envyrc too?
from envy.
is /root being unique to each env still the plan for 0.1.0? Looks like with the GO version, it's still shared
from envy.
Yeah, still shared. I'm back and forth about it.
from envy.
Related Issues (20)
- support github personal access tokens for web auth HOT 4
- Docs HOT 1
- Proposal: Add support for defining environments from user's homedir HOT 5
- expose port for web server HOT 11
- Automatically roll back when build fail? HOT 2
- a way to pull docker image from host HOT 3
- Containers are not removed when websocket is closed HOT 1
- create standard startup / rc script HOT 1
- Session cleanup HOT 4
- debug environment crash HOT 4
- list environments HOT 3
- tmux? HOT 3
- docker volumes inside envy HOT 5
- Error response from daemon: client and server don't have same version (client : 1.19, server: 1.18) HOT 2
- Should we persist nested dind data on user's env? HOT 5
- clock HOT 4
- terminal dimensions not getting updated on resize HOT 3
- Restrict access based on github organizations HOT 1
- Use official docker image for DinD HOT 1
- Please rebuild progrium/envy; still uses HOST_DATA, not HOST_ROOT HOT 12
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 envy.