https://github.com/mindreframer/alpine-elixir-all
Always fresh docker containers for your Elixir / Phoenix apps
https://github.com/mindreframer/alpine-elixir-all
docker elixir-lang elixir-phoenix
Last synced: 2 months ago
JSON representation
Always fresh docker containers for your Elixir / Phoenix apps
- Host: GitHub
- URL: https://github.com/mindreframer/alpine-elixir-all
- Owner: mindreframer
- License: mit
- Created: 2020-12-09T20:38:23.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-03-01T02:06:48.000Z (about 4 years ago)
- Last Synced: 2025-06-04T17:45:13.775Z (10 months ago)
- Topics: docker, elixir-lang, elixir-phoenix
- Language: Dockerfile
- Homepage:
- Size: 45.9 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
### Alpine Docker containers for Elixir
A single CI pipeline to build Erlang / Elixir / Phoenix Docker containers.
### Usage
All relevant information is kept in a single file: `bin/env-vars`.
Following ENV variables are available:
```
export REFRESHED_AT="2021-01-17"
export DOCKERHUB_USER="mindreframer"
export ALPINE_VERSION="3.12.2"
export ERLANG_VERSION="23.2.2"
export ELIXIR_VERSION="1.11.3"
```
### Opt-in for container building
To prevent waiting for all containers on all commits, following magic strings are used in commit messages:
- `[skip ci]`
- `[with-erlang]` - include the Erlang container
- `[with-elixir]` - include the Elixir container
- `[with-phoenix]` - include the Phoenix container
To trigger building all 3 containers, use `[with-erlang, with-elixir, with-phoenix]`.
### Secrets
Github Actions depend on following secrets being available:
- `DOCKERHUB_USER`
- `DOCKERHUB_TOKEN`
### Docker Hub
- https://hub.docker.com/repository/docker/mindreframer/alpine-erlang
- https://hub.docker.com/repository/docker/mindreframer/alpine-elixir
- https://hub.docker.com/repository/docker/mindreframer/alpine-elixir-phoenix