An open API service indexing awesome lists of open source software.

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

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