Comments (2)
Thanks for trying out pimod and reporting back.
I am sorry hearing your bug hunting odyssey regarding the bashism. Without any intention to sound rude, this is exactly the described behavior. However, especially with the Docker-inspired design, this is might be counterintuitive.
As long as we don't change the software's main architecture - the Pifile is just Bash and the commands are loaded for each step -, I don't see how we can prevent this. And, btw, I don't want to change this design.
What I could think of would be a new pre-stage checking the Pifile for lines containing unescaped RUN
commands with other Bash commands and printing a warning. How does this sound to you?
from pimod.
For my needs I ended up creating a pre stage in python that acts as a precompiler as well using jinja2 templating language.
I think pimod is amazing and using the Dockerfile syntax as a image building schema is something that should have been done before. However using bash only could reveal itself a limiting factor in the future if you plan to expand the project, on the other hand this project is actually very good as is and new features might just not be needed (“except for checkpoints pls”)
from pimod.
Related Issues (20)
- Multiline RUN command not working on 0.4.0 HOT 4
- cgroup problem when running docker HOT 1
- INSTALL does not copy hidden files HOT 4
- PUMP does not work as expected
- PUMP can result in non-bootable images HOT 1
- RUN export VARIABLE=foo gives error "unbound variable" HOT 5
- Feature request: checkpoints HOT 3
- Feature request: provide some kind of access to host files HOT 1
- Can't create image on WSL2 HOT 2
- heredoc bulk execution not working HOT 3
- /etc/resolv.conf: networking not working properly HOT 2
- Find clean way to edit resolv.conf if it was replaced/bind mounted HOT 3
- Feat: A `SHRINK` command HOT 2
- Unable to unmount when based on broken image
- Cannot run HOST commands before FROM/INPLACE HOT 1
- Cannot mount an extracted root filesystem HOT 1
- Create docker images for linux/arm/v7 HOT 3
- Dependency Dashboard
- Is not generating the image anymore HOT 2
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 pimod.