...and that explains everything, thanks very much On Fri, 17 Apr 2020 at 18:13, Waldek Kozaczuk <[email protected]> wrote:
> Fotis. > > Thanks for the patch. I will review and commit. You are right we need to > see if it does not break the CI. > > Peter, > > Also if you do not want to build your own docker image, you can pull them > from docker hub - > https://hub.docker.com/repository/docker/osvunikernel/osv-fedora-31-builder-base > and > https://hub.docker.com/repository/docker/osvunikernel/osv-ubuntu-19.10-builder-base. > This is what I described in here - > https://groups.google.com/d/msg/osv-dev/4xnzHlnK3j4/aFHFA-8cAQAJ. This is > pretty new so it is not well advertised anywhere yet nor documented clearly > enough. As I am working on new release as we speak I will try to update the > documentation as much as I can. > > If you want to revise any of the docs we have please sent us a patch or > feel free to add new wiki page (anybody with github account can add a wiki > I think). > > Welcome and regards, > Waldek > > > On Friday, April 17, 2020 at 12:36:15 PM UTC-4, Fotis Xenakis 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/12b15c1c-a1ba-4fb1-ac71-c80190f70773%40googlegroups.com > <https://groups.google.com/d/msgid/osv-dev/12b15c1c-a1ba-4fb1-ac71-c80190f70773%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%3DZ6EuimxdWj88Sw2r%2Bzid6aK2snKHuDPvkMWxn1iU0k8%3DAA%40mail.gmail.com.
