I want to build couple things for Vyos but I prefer to use a docker build node rather then a VM.
Anyone bothered to create one?
For me the difference in build time ontop of a docker is 10-20 times faster then a VM.
Oh sorry! The last message I posted about not able to get squeeze-backports working remains the current state. I can’t find a working mirror for squeeze-backports, and a newer version of squashfs is required for the build to succeed. The exact filename needed is ‘squashfs-tools_4.2-4~bpo60+1_amd64.deb’. I’ve emailed debian mirrors to see if they can dig it out somewhere, otherwise I don’t think it will be possible until we can get a 4.2 squashfs package.
What Dockerfile are you using?
Can you pastebin the docker build output?
For me it works pretty good.
See the output of the Dockerfile I am using: http://paste.ngtech.co.il/p0epps9ho/9haq6q/raw
Did you tried to use my file and move on from there? or use your old file with little modification?
I’m building your dockerfile now and will see what I can work out.
I’ve actually just spun up the beta for some labbing I’m doing and see it’s looking quite progressed. Debian 8, kernel 4.4, systemd. Haven’t tracked it too closely to know how close they are to feature parity, stability and release data but hopefully the use of the term Beta suggests it’s close
The container builds successfully and I’ve been able to build lithium and helium from the container. Logs in ‘logs’ dir show the build logs of everything. See how that goes.
Hello cgb
Thanks for sharing your work!
Feel free to join us on https://phabricator.vyos.net if you are not already there
and ask questions if any(i’m syncer there too)
If you are willing to maintain this work, it’s easily can be official vyos docker image
Thanks for participation!
I suppose we may want to have two versions of it, one for the legacy VyOS (helium) and one for the vyos-build one.
I’ll read your scripts, perhaps we should make that an official part of VyOS repos.