Thicket data repository for the EEG
at main 1.7 kB view raw
1{ 2 "id": "https://www.tunbury.org/2025/07/18/docker-oxcaml", 3 "title": "Docker Container for OxCaml", 4 "link": "https://www.tunbury.org/2025/07/18/docker-oxcaml/", 5 "updated": "2025-07-18T18:00:00", 6 "published": "2025-07-18T18:00:00", 7 "summary": "Jon asked me to make a Docker image that contains OxCaml ready to run without the need to build it from scratch.", 8 "content": "<p>Jon asked me to make a Docker image that contains <a href=\"https://oxcaml.org\">OxCaml</a> ready to run without the need to build it from scratch.</p>\n\n<p>I have written a simple OCurrent pipeline to periodically poll <a href=\"https://github.com/oxcaml/opam-repository\">oxcaml/opam-repository</a>. If the SHA has changed, it builds a Docker image and pushes it to current/opam-staging:oxcaml.</p>\n\n<p>The resulting image can be run like this:</p>\n\n<div><div><pre><code><span>$ </span>docker run <span>--rm</span> <span>-it</span> ocurrent/opam-staging:oxcaml\nubuntu@146eab4efc18:/<span>$ </span>ocaml\nOCaml version 5.2.0+ox\nEnter\n<span>#help;; for help.</span>\n\n<span>#</span>\n</code></pre></div></div>\n\n<p>The exact content of the image may change depending upon requirements, and we should also pick a better place to put it rather than ocurrent/opam-staging!</p>\n\n<p>The pipeline code is available here <a href=\"https://github.com/mtelvers/docker-oxcaml\">mtelvers/docker-oxcaml</a> and the service is deployed at <a href=\"https://oxcaml.image.ci.dev\">oxcaml.image.ci.dev</a>.</p>", 9 "content_type": "html", 10 "author": { 11 "name": "Mark Elvers", 12 "email": "mark.elvers@tunbury.org", 13 "uri": null 14 }, 15 "categories": [ 16 "oxcaml" 17 ], 18 "source": "https://www.tunbury.org/atom.xml" 19}