https://github.com/noma4i/docker-elixir
Elixir 1.4 + postgresql-client + parsetools. For CircleCI
https://github.com/noma4i/docker-elixir
circleci docker elixir postgresql
Last synced: about 1 year ago
JSON representation
Elixir 1.4 + postgresql-client + parsetools. For CircleCI
- Host: GitHub
- URL: https://github.com/noma4i/docker-elixir
- Owner: noma4i
- License: mit
- Created: 2017-05-14T05:44:25.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-18T06:39:37.000Z (almost 9 years ago)
- Last Synced: 2025-04-22T08:13:34.118Z (about 1 year ago)
- Topics: circleci, docker, elixir, postgresql
- Homepage:
- Size: 5.86 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Elixir Docker Container
Purpose of this container is to create fully working setup for CircleCI
### Example CircleCI `config.yml`
Following example works well if you have `phoenix/non-phoenix umbrella/plain app` with `Ecto`
```
version: 2
jobs:
build:
working_directory: ~/working_dir
docker:
- image: noma4i/docker-elixir:latest
- image: postgres:9.4.1
environment:
POSTGRES_USER: postgres
steps:
- checkout
- run: mix local.hex --force
- run: mix local.rebar --force
- run: mix do deps.get, compile
- run: MIX_ENV=test mix ecto.create
- run: mix test
```