That’s great thanks, it’s all a bit clearer now. I’ll forge on. Peter
On Fri, 17 Apr 2020 at 17:36, Fotis Xenakis <[email protected]> wrote: > Hello! I have sent out a patch here > <https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!topic/osv-dev/v4yo0ESzVbE> > for updating the default distribution images to the latest supported by the > setup script and also tried to minimally update the documentation in that. > Even without it though, you can override the default using the --build-args > flag to docker build. > > I will try to provide some info on the various dockerfiles, but I think > Waldek is the most suited to give insight into them: > > - If you wish to develop OSv itself, then you want to go for the > "builder" images (which contain all the dependencies for building the > kernel). Use "Dockerfile.builder" (as per the README) to get a full dev > environment, with all dependencies plus the code to get going immediately. > Use the "-base" images to get an environment with just the dependencies > installed (useful e.g. for having the code on the host and mounting it as a > volume). > - If you wish to just test OSv out, with one of the included apps or > your own, then you want to go for the "runner" images. These include the > OSv sources and the run dependencies (mainly QEMU), but not the build > dependencies and are thus significantly smaller. In this case, you should > look into Capstan <https://github.com/cloudius-systems/capstan> and > this > > <https://github.com/cloudius-systems/osv/wiki/Build-and-run-apps-on-OSv-using-Capstan> > relevant wiki page. > > Hope this helps a little, > Fotis > > Τη Παρασκευή, 17 Απριλίου 2020 - 1:21:15 μ.μ. UTC+3, ο χρήστης Peter Smith > έγραψε: >> >> Please excuse if this a stupid question. I have started to investigate >> OSv and set about building the Docker containers. The instructions are a >> little confusing, for example they suggest using the builder containers to >> build stuff but the osv sources pulled from Github are deleted, whereas in >> the runner containers the sources remain. Another thing I noted was the by >> default the containers refer to Ubuntu 19.04 (the ubuntu ones) which I >> think should be replaced with 19.10 as aup-get update fails when using >> 19.04. If someone can explain how these are supposed to work I can perhaps >> update the docs etc. >> >> Thanks >> Peter >> > -- > You received this message because you are subscribed to the Google Groups > "OSv Development" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/osv-dev/915dc54d-a06d-4547-b3c7-b523626fbdfe%40googlegroups.com > <https://groups.google.com/d/msgid/osv-dev/915dc54d-a06d-4547-b3c7-b523626fbdfe%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Best Regards Peter -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/CAOx%3DZ6Ea_3XZnHhPAgTx1%3DbhNnWx%2BowM3HQcr9gucGsqasVtQw%40mail.gmail.com.
