Comments (3)
We can't run editors in Pyrex; that route leads to user confusion (since it won't be the user's same editor environment will all their bells and whistles), and image bloat (having to include everyone's favorite $EDITOR in the image).
Instead, I think we need to take a different approach and allow some specific commands to break out of the container. This might look like the main pyrex script creating a UNIX domain socket and passing a reference to it inside the container. A shim script in the container would be set as $EDITOR in the container, but would actually pass all it's arguments back to the main pyrex script outside the container over the domain socket; the main pyrex script would execute the correct command and send the result back over the socket.
from pyrex.
Yeah, that sounds like a better solution to me as well, but it will require more work. I was aiming for a quick fix.
from pyrex.
I just had an idea: How if you call devtool find-recipe
whendevtool edit-recipe
is run and pass back the resulting path to the host with | xargs $EDITOR
?
from pyrex.
Related Issues (18)
- Fails with zsh HOT 1
- Wrong builddir behavior HOT 9
- docker fails if SSH_AUTH_SOCK is a symbolic link HOT 1
- groupadd fails if the group already exists HOT 2
- Initial enviroment setup occurs in host
- Add PYREX_USER to Docker Group if it exists. HOT 2
- ulimit default too low HOT 4
- Fails temp directory creation
- Feature request: add nerdctl support HOT 1
- Can't start pyrex in LXC container HOT 1
- uidmap has negative number when UID is very large
- ubuntu 22.04 HOT 3
- Bitbake 2.0 refuses to run in pyrex; inclusive language violations HOT 2
- How to properly use a custom image from another registry? HOT 3
- Provide docker images for arm64/v8
- Yocto 4.0 kirkstone BB_ENV_PASSTHROUGH_ADDITIONS problem still exists
- Custom registry and tagging images
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 pyrex.