Docker images based on hex.pm's Elixir images.
Included:
- Erlang
- Elixir
- NodeJS
- ImageMagick
- Some build tools (for dependencies that require compilation steps)
- Create a new directory named after the Elixir version (e.g.
1.20.0-rc.6/) containing aDockerfile. - Open a PR — the
Build and publishworkflow builds the image to verify the Dockerfile compiles. - On merge to
master, the workflow pushes the image to Docker Hub asdefactosoftware/elixir:<version>.
The publish workflow needs two repository secrets configured in Settings → Secrets and variables → Actions:
DOCKERHUB_USERNAME— a Docker Hub account with push access todefactosoftware/elixirDOCKERHUB_TOKEN— a Docker Hub access token (create one at https://hub.docker.com/settings/security)
If you need to build the image on your machine (e.g. to test ahead of pushing):
cd VERSION
docker build --platform=linux/amd64 -t defactosoftware/elixir:VERSION .
docker push defactosoftware/elixir:VERSION # optional
Docker Desktop, Colima, OrbStack and Podman all work — anything that provides a docker CLI with buildx.