me-box / core-export-service

export service for databox platform
MIT License
3 stars 4 forks source link

Dockerise #1

Closed yousefamar closed 7 years ago

yousefamar commented 7 years ago

Anil (@avsm) maintains a large set of OCaml Dockerfiles (https://github.com/ocaml/ocaml-dockerfiles) that may be useful for Dockerising this component. I think the alpine branch would work out well.

Toshbrown commented 7 years ago

@dominicjprice has also built a unikernel to deploy OCaml into a container for use in databox there is some code you could have a look at here https://github.com/me-box/healthgraph-databox-driver.

dominicjprice commented 7 years ago

Not quite a unikernel but a statically-compiled binary that can run in the Docker Scratch image so the images are very small. The current suggested best practice seems to be using Mirage to produce Solo5 unikernels to run under Docker. I haven't tried this yet bet will probably be the next step for me (hopefully Mirage-ising my current codebase won't take long).

mor1 commented 7 years ago

Once the codebase is Mirage-ised, it should be fairly straightforward to do -- look at the unikernel-runner repos (forked to my account can't recall the name right now). Or ask me :)

On 22 February 2017 at 15:43, Dominic Price notifications@github.com wrote:

Not quite a unikernel but a statically-compiled binary that can run in the Docker Scratch image so the images are very small. The current suggested best practice seems to be using Mirage to produce Solo5 unikernels to run under Docker. I haven't tried this yet bet will probably be the next step for me (hopefully Mirage-ising my current codebase won't take long).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/me-box/databox-export-service/issues/1#issuecomment-281706905, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKP4EsbbkKoZaEmBrwpARklE_8M7sybks5rfFepgaJpZM4MIeve .

-- Richard Mortier mort@cantab.net

sevenEng commented 7 years ago

Dockerfile added. Here is a successful docker hub autobuild and it runs some basic tests.

And also, updated the README, which describes about the endpoint. Any feedback welcome.

haddadi commented 7 years ago

btw it might be best to have all the images in the databox repo, I've added you

https://hub.docker.com/u/databoxsystems/dashboard/

cheers

== Hamed http://www.eecs.qmul.ac.uk/~hamed/

On 23 February 2017 at 16:14, Qi LI notifications@github.com wrote:

Dockerfile added. Here https://hub.docker.com/r/seveneng/databox-bridge/builds/bqfsutoc2hinuxqxfeobab6/ is a successful docker hub autobuild and it runs some basic tests.

And also, updated the README http://../blob/master/README.md, which describes about the endpoint. Any feedback welcome.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/me-box/databox-export-service/issues/1#issuecomment-282038928, or mute the thread https://github.com/notifications/unsubscribe-auth/ACy0r7P0SSQtnlzCUfB9ZefR79oxDdlmks5rfbBkgaJpZM4MIeve .