{"id":18096061,"url":"https://github.com/carlo-colombo/elixir-buildpacks","last_synced_at":"2026-04-30T22:37:30.298Z","repository":{"id":140904493,"uuid":"242130589","full_name":"carlo-colombo/elixir-buildpacks","owner":"carlo-colombo","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-10T20:26:06.000Z","size":22,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-02T12:31:06.475Z","etag":null,"topics":["cnb","docker","elixir","erlang","pack"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/carlo-colombo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-21T12:08:21.000Z","updated_at":"2023-07-04T19:56:07.000Z","dependencies_parsed_at":"2023-06-01T10:30:49.406Z","dependency_job_id":null,"html_url":"https://github.com/carlo-colombo/elixir-buildpacks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/carlo-colombo/elixir-buildpacks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlo-colombo%2Felixir-buildpacks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlo-colombo%2Felixir-buildpacks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlo-colombo%2Felixir-buildpacks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlo-colombo%2Felixir-buildpacks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carlo-colombo","download_url":"https://codeload.github.com/carlo-colombo/elixir-buildpacks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlo-colombo%2Felixir-buildpacks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32479448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cnb","docker","elixir","erlang","pack"],"created_at":"2024-10-31T19:12:20.415Z","updated_at":"2026-04-30T22:37:25.289Z","avatar_url":"https://github.com/carlo-colombo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# elixir-buildpacks\n\nA collection of buildpacks to build images of elixir projects\n\n1. `erlang-runtime`\n1. `elixir-runtime`\n1. `mix-release` download project dependencies and create an [Elixir Release](https://elixir-lang.org/blog/2019/06/24/elixir-v1-9-0-released/#releases)\n1. `elixir` meta buildpack that define the order in which buildpack run\n\nIn addition `rg.nl-ams.scw.cloud/carlo-colombo/elixir-builder` is a builder based on `ubuntu:bionic` including the 4 buildpacks.\n\nThis stack support `org.cloudfoundry.stacks.cflinuxfs3` (`cloudfoundry/cnb:cflinuxfs3`) and `io.github.carlo-colombo.elixir-builder`\n\n### Umbrella applications\n\nTo create a release from an umbrella application run from the root of the application defining the release to build with the `RELEASE` env variable\n\n```bash\npack build dashboard \\\n  --path . \\\n  --builder rg.nl-ams.scw.cloud/carlo-colombo/elixir-builder \\\n  -e RELEASE=dashboard -e SECRET_KEY_BASE=asdadasdasd\n```\n\nNote: is not supported to build individual release from the app folder, as in app dependency and configuration would be outside of the directory passed to `pack`.\n\n### Know limitations\n\n-   It at least partially support `phoenix`, it requires to pass in `SECRET_KEY_BASE` as environment variable. For example\n\n```bash\npack build dashboard \\\n  --path . \\\n  --builder rg.nl-ams.scw.cloud/carlo-colombo/elixir-builder \\\n  -e DEBUG=1 \\\n  -e SECRET_KEY_BASE=\"$(mix phx.gen.secret)\"\n```\n\n## How to build an image with pack\n\n### Using the builder image\n\n```bash\npack build \u003celixir project image\u003e \\\n  --path \u003celixir project\u003e \\\n  --builder rg.nl-ams.scw.cloud/carlo-colombo/elixir-builder\n```\n\n### Using individual buildpacks\n\n```bash\npack build \u003celixir project image\u003e \\\n  --path \u003celixir project\u003e \\\n  --buildpack ./elixir/  \\\n  -b ./elixir-runtime/ \\\n  -b ./erlang-runtime/ \\\n  -b ./mix-release/ \\\n  --builder rg.nl-ams.scw.cloud/carlo-colombo/elixir-builder\n```\n\n## How to create the builder image\n\n```bash\ncd elixir-builder\n./build.sh\n```\n\nIt create an image on the local docker named `rg.nl-ams.scw.cloud/carlo-colombo/elixir-builder`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlo-colombo%2Felixir-buildpacks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarlo-colombo%2Felixir-buildpacks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlo-colombo%2Felixir-buildpacks/lists"}