{"id":13416432,"url":"https://github.com/mutable/container-factory","last_synced_at":"2025-03-14T23:31:51.414Z","repository":{"id":31603987,"uuid":"35168903","full_name":"mutable/container-factory","owner":"mutable","description":"container-factory produces Docker images from tarballs of application source code","archived":false,"fork":false,"pushed_at":"2015-05-06T16:07:53.000Z","size":344,"stargazers_count":60,"open_issues_count":0,"forks_count":3,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-04-11T20:54:58.845Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mutable.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-06T16:03:22.000Z","updated_at":"2024-01-30T19:51:52.000Z","dependencies_parsed_at":"2022-09-04T14:01:01.542Z","dependency_job_id":null,"html_url":"https://github.com/mutable/container-factory","commit_stats":null,"previous_names":["lsqio/container-factory"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutable%2Fcontainer-factory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutable%2Fcontainer-factory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutable%2Fcontainer-factory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mutable%2Fcontainer-factory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mutable","download_url":"https://codeload.github.com/mutable/container-factory/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243663516,"owners_count":20327300,"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-07-30T21:00:58.752Z","updated_at":"2025-03-14T23:31:46.403Z","avatar_url":"https://github.com/mutable.png","language":"Go","readme":"# container-factory\n\n  container-factory produces Docker images from tarballs of application source code.\n  It accepts archives with `Dockerfile`s, but if your application's language is supported,\n  it can automatically add a suitable `Dockerfile`.\n\n  Currently, only node.js is supported, marked by the presence of a `package.json`.\n\n## License\n\n  container-factory is distributed under the terms of the ISC license.\n\n## Installation\n\n  Make sure you have [Docker](https://docker.io) set up.\n  We access the Docker API, so we pass that through when running the container.\n  The Docker server is autodetected in the same way as the Docker CLI does,\n  and like the Docker CLI, we default to `/var/run/docker.sock`.\n\n  Here's how to run container-factory in a container:\n```\ndocker run -d -p 9001:3000 -v /var/run/docker.sock:/var/run/docker.sock lsqio/container-factory\n```\n\n## API\n### POST /build\n\n  Build a container. Takes an application tarball as body.\n  Modeled on [Docker's `/build` API](https://docs.docker.com/reference/api/docker_remote_api_v1.18/#build-image-from-a-dockerfile)\n\n  Parameters:\n    \n    * t: Docker tag to publish the resulting Docker image as.\n\n### Response\n\n  Docker-style progress reporting, with the push happening right after the build.\n\n  Build progress:\n```json\n{\"stream\": \"Step 1...\"}\n{\"stream\": \"...\"}\n{\"error\": \"Error...\", \"errorDetail\": {\"code\": 123, \"message\": \"Error...\"}}\n```\n\n  Push progress:\n```json\n{\"status\": \"Pushing...\"}\n{\"status\": \"Pushing\", \"progress\": \"1/? (n/a)\", \"progressDetail\": {\"current\": 1}}}\n{\"error\": \"Invalid...\"}\n```\n\n","funding_links":[],"categories":["Docker Images"],"sub_categories":["Builder"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmutable%2Fcontainer-factory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmutable%2Fcontainer-factory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmutable%2Fcontainer-factory/lists"}