Comments (5)
This is something that I've wanted for a bit, and with script mode this should be possible, but I don't have time to work on this these days, so I can't really give a roadmap estimate.
One trick that can help is if you can structure your build to do long, expensive things first (e.g. apt get update && apt-get install blah
) and shorter more interesting things second (e.g. building your app) you can split it into two builds, one making a base image that the second build starts from, and you can just repeat the second build as you develop the image.
from build.
Ok, sounds like that can help, thanks.
I'm guessing acbuild is in maintenance now in favor of yet to be released OCI stuff?
from build.
acbuild can work with OCI images, and when OCI gets marked as v1.0 I intend to revisit this and get it working with the latest version of the spec. Other than that I don't really have much time for the project anymore.
There are also other options like umoci if you want to look around.
from build.
Thanks, it took a while to untangle, but that cut about 3+ minutes out of my 4 minute build.
Re: roadmap -- Sorry, I assumed you were on the coreos payroll due to acbuild being on the rkt page.
from build.
I do work for coreos, I've just switched teams since starting this project and finding time for it these days is hard
from build.
Related Issues (20)
- `acbuild end` accepts running as non-superuser, then fails because of that HOT 2
- script: ending the build results in "no build in progress" HOT 3
- "acbuild run" with dependency fails form inside a container HOT 5
- OCI: update for new -rc5 image-layout format
- acbuild's dependent image discovery fails when server responses with redirection HOT 1
- Negative numbers in environment variables gets translated to opt flags HOT 1
- feature request: bind mounts from the host during build HOT 1
- overlayfs does not support rename operations HOT 7
- Can I build and push to registry an OCI image which will run in docker? HOT 12
- Provide Image ID on "write" HOT 3
- echo with acbuild run writes a file on the host HOT 2
- .aci increases in size with each build HOT 5
- 'file name too long' error on aci's built with v0.4.0 HOT 4
- 'Error: overlayfs not supported on your system' with LXD Container HOT 4
- /dev, /proc and /sys are not mounted in my running rkt container HOT 6
- systemd-nspawn: unrecognized option '--setenv' HOT 1
- Created date annotation restrictions need to be documented or removed. HOT 3
- New import path for xz package HOT 1
- archive? HOT 3
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 build.