{"id":13682097,"url":"https://github.com/bitwalker/alpine-elixir","last_synced_at":"2025-09-07T03:32:56.601Z","repository":{"id":12697300,"uuid":"72573617","full_name":"bitwalker/alpine-elixir","owner":"bitwalker","description":"A Dockerfile based on my alpine-erlang image for Elixir applications","archived":false,"fork":false,"pushed_at":"2024-08-29T14:40:04.000Z","size":73,"stargazers_count":209,"open_issues_count":2,"forks_count":83,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-02-15T08:20:13.990Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","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/bitwalker.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":"2016-11-01T20:25:54.000Z","updated_at":"2024-12-15T10:59:50.000Z","dependencies_parsed_at":"2024-01-21T09:32:41.388Z","dependency_job_id":"8b99d5b0-0530-4740-b837-55b5d6a075c6","html_url":"https://github.com/bitwalker/alpine-elixir","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitwalker%2Falpine-elixir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitwalker%2Falpine-elixir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitwalker%2Falpine-elixir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitwalker%2Falpine-elixir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitwalker","download_url":"https://codeload.github.com/bitwalker/alpine-elixir/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054208,"owners_count":21039952,"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-02T13:01:40.691Z","updated_at":"2025-04-09T14:23:08.405Z","avatar_url":"https://github.com/bitwalker.png","language":"Makefile","readme":"# Elixir on Alpine Linux\n\nThis Dockerfile provides a full installation of Erlang and Elixir on Alpine, intended for running releases,\nso it has no build tools installed. The Erlang installation is provided so one can avoid cross-compiling\nreleases. The caveat of course is if one has NIFs which require a native compilation toolchain, but that is\nleft as an exercise for the reader.\n\n## Usage\n\nNOTE: This image sets up a `default` user, with home set to `/opt/app` and owned by that user. The working directory\nis also set to `$HOME`. It is highly recommended that you add a `USER default` instruction to the end of your\nDockerfile so that your app runs in a non-elevated context.\n\nTo boot straight to a prompt in the image:\n\n```\n$ docker run --rm -it --user=root bitwalker/alpine-elixir iex\nErlang/OTP XX [erts-X.X] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false]\n\nInteractive Elixir (\u003cversion\u003e) - press Ctrl+C to exit (type h() ENTER for help)\niex(1)\u003e\n```\n\nExtending for your own application:\n\n```dockerfile\nFROM bitwalker/alpine-elixir:latest\n\n# Set exposed ports\nEXPOSE 5000\nENV PORT=5000\n\nENV MIX_ENV=prod\n\nCOPY yourapp.tar.gz ./\nRUN tar -xzvf yourapp.tar.gz\n\nUSER default\n\nCMD ./bin/yourapp foreground\n```\n\n## License\n\nMIT\n","funding_links":[],"categories":["Makefile"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitwalker%2Falpine-elixir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitwalker%2Falpine-elixir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitwalker%2Falpine-elixir/lists"}