From 57671669d5e2170621e89536c7a031fb23264761 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Niemier?= Date: Sun, 15 Dec 2019 18:36:30 +0100 Subject: [PATCH] fix: problem with Credo not being installed --- Dockerfile | 8 ++++---- mix.exs | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index c0a56a5..560b580 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,11 +5,11 @@ RUN apk --update add git && \ rm -rf /var/lib/apt/lists/* && \ rm /var/cache/apk/* -ENV MIX_ARCHIVES /opt/archives +ENV MIX_HOME /var/mix -RUN mix do local.hex --force, \ - archive.install --force github rrrene/bunt, \ - archive.install --force github rrrene/credo +RUN mix local.hex --force && \ + mix archive.install --force github rrrene/bunt && \ + mix archive.install --force github rrrene/credo COPY entrypoint.sh /entrypoint.sh diff --git a/mix.exs b/mix.exs index d565937..9b3d2ef 100644 --- a/mix.exs +++ b/mix.exs @@ -4,6 +4,7 @@ defmodule ReviewdogCredo.Mixfile do def project do [ app: :reviewdog_credo, + version: "0.0.1", deps: [] ] end