{"id":14067870,"url":"https://github.com/grantmcdermott/containerit-demo","last_synced_at":"2026-05-19T02:42:49.477Z","repository":{"id":152920186,"uuid":"241231963","full_name":"grantmcdermott/containerit-demo","owner":"grantmcdermott","description":"Simple demo that builds a Docker image from a repo's contents using the containerit package","archived":false,"fork":false,"pushed_at":"2020-04-16T04:37:37.000Z","size":3,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T06:11:32.288Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grantmcdermott.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-02-17T23:46:41.000Z","updated_at":"2024-07-10T09:37:42.000Z","dependencies_parsed_at":"2024-02-19T19:16:14.794Z","dependency_job_id":"cd20affd-840d-4031-9599-e531fd4f39f2","html_url":"https://github.com/grantmcdermott/containerit-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grantmcdermott%2Fcontainerit-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grantmcdermott%2Fcontainerit-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grantmcdermott%2Fcontainerit-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grantmcdermott%2Fcontainerit-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grantmcdermott","download_url":"https://codeload.github.com/grantmcdermott/containerit-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244769758,"owners_count":20507487,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-13T07:05:49.373Z","updated_at":"2026-05-19T02:42:44.455Z","avatar_url":"https://github.com/grantmcdermott.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"# containerit demo\n\nThis repo serves as a simple demo for writing a Dockerfile (and building the \nresulting Docker image) using the [**containerit**](https://o2r.info/containerit/index.html) \nR package. You should read more about **containerit** at the linked package \nhomepage, but very briefly: it uses some neat heuristics and shortcuts to build \na Docker image simply based on the contents of your existing directory or repo. \nOr, more precisely, the R files contained therein.\n\nTo run the demo, clone this repo to your local computer and then run the\n`create-docker.R` script (e.g. using RStudio or `$ Rscript create-docker.R`). \nThis will: \n\n1. Write a Dockerfile to disk (based on the contents of the `R/` sub-directory \nof the repo), and \n2. Build the corresponding Docker image (creatively titled `containerit-demo`)\nassociated with our new Dockerfile\n\nThe latter step requires that you actually have Docker installed and running on\nyour system. (If not, then you can at least still write the Dockerfile for others\nto use/build.) Assuming that this is true, you can run the container by calling, \ne.g. `$ docker run --rm -ti containerit-demo`.\n\n## Asides\n\nThe Docker image that we're building here isn't terribly exciting or complicated.\nIt mostly contains some additional spatial libraries (since the `R/` \nsub-directory requires the **sf** package) and builds upon the \n[rocker/rstudio](https://hub.docker.com/r/rocker/rstudio) stack. But the point \nis that all that work is done for us automatically and with minimal pain.\n\nIf you are unfamiliar with Docker then I strongly recommend checking out the\nRocker wiki (e.g. \n[this page](https://github.com/rocker-org/rocker/wiki/Using-the-RStudio-image)), \nor [this ROpenSci tutorial](https://ropenscilabs.github.io/r-docker-tutorial/) \nfirst.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrantmcdermott%2Fcontainerit-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrantmcdermott%2Fcontainerit-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrantmcdermott%2Fcontainerit-demo/lists"}