Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 543322d

Browse files
committed
Simplify Jenkings build
Disable building docker-image.
1 parent 66bcb06 commit 543322d

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

Dockerfile

Lines changed: 0 additions & 10 deletions
This file was deleted.

docker-compose.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
version: '3'
22
services:
33
app:
4-
build: .
4+
image: elixir:1.7.3-alpine
5+
volumes:
6+
- .:/code
7+
working_dir: /code
8+
entrypoint: /code/docker-entrypoint.sh

docker-entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
set -e
44

5+
mix local.hex --force
6+
mix local.rebar --force
7+
58
if [ "$1" = test ] ; then
69
export MIX_ENV=test
710
mix deps.get

0 commit comments

Comments
 (0)