-
Notifications
You must be signed in to change notification settings - Fork 238
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
remove sed from scripts #38
Comments
i don't understand the premise, in that a simple google search turns up dockerfile+sed a plenty: what is the real concern? i personally do not feel this is a significant concern. very open to improvements, i just would like to understand the concrete concerns/objectives. thoughts? |
Just because people are doing it does not mean it is the right thing to do. The concern is docker uses something called aufs which is a write once file system. Have sed in the script will cause docker to generate a new layer and the more layer there is in the docker image the slower it is and the more file system resource it takes. Also having sed means you are not make the image completely immutable which is a bad practice as well. |
@felixgao Mind creating a pull request with proposed changes to the script(s)? As we had discussed, we own these together as Wasabi committers. If you see areas of improvement, you're empowered to work on the updates to the artifacts and propose them as a PR. |
@felixgao do you mind taking a look at https://github.com/intuit/wasabi/pull/78/files#diff-a02022c11f2de6a41f82f8a76f5e0d3cR19 ? It still contains sed in the Dockerfile but much fewer layers around it. Otherwise how should we approach this? |
most web projects do not have sed in their scripts. let's try to remove it.
The text was updated successfully, but these errors were encountered: