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

https://github.com/mindreframer/alpine-elixir-all-dind


https://github.com/mindreframer/alpine-elixir-all-dind

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

### Alpine Docker containers for Elixir #(inheriting from earthly/dind)
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="2020-12-10"
export DOCKERHUB_USER="mindreframer"

export ALPINE_VERSION="3.12.1"
export ERLANG_VERSION="23.1.5"
export ELIXIR_VERSION="1.11.2"
```

### 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-dind
- https://hub.docker.com/repository/docker/mindreframer/alpine-elixir-dind
- https://hub.docker.com/repository/docker/mindreframer/alpine-elixir-phoenix-dind