summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriele Santomaggio <G.santomaggio@gmail.com>2016-10-19 11:33:53 +0200
committerGitHub <noreply@github.com>2016-10-19 11:33:53 +0200
commitcf15c34405b92d337aa0559cc094adef6dc9268a (patch)
treedd5575cf723d05889b93044c76211801d3f46b8f
parent5b34ec9ad64090eda4a55d94574c3997006909f3 (diff)
parentd84a8b612d71208d032a0a7f10e7e9e57ff94416 (diff)
downloaderlang-sd_notify-cf15c34405b92d337aa0559cc094adef6dc9268a.tar.gz
Merge pull request #18 from systemd/erlang-sd_notify_change_repo
Change the docker image
-rw-r--r--docker/centos_19/Dockerfile16
1 files changed, 11 insertions, 5 deletions
diff --git a/docker/centos_19/Dockerfile b/docker/centos_19/Dockerfile
index 819d749..157e746 100644
--- a/docker/centos_19/Dockerfile
+++ b/docker/centos_19/Dockerfile
@@ -8,15 +8,21 @@ RUN yum install -y \
make \
git \
wget \
- which
+ which \
+ epel-release \
+ nano
-RUN wget https://github.com/rabbitmq/erlang-rpm/releases/download/v1.4.5/erlang-19.1.0-1.el7.centos.x86_64.rpm
+RUN wget https://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
-RUN rpm -i erlang-19.1.0-1.el7.centos.x86_64.rpm
-
-RUN wget https://github.com/rebar/rebar/wiki/rebar && chmod +x rebar
+RUN rpm -Uvh erlang-solutions-1.0-1.noarch.rpm
+RUN yum update -y
+RUN yum install -y \
+ erlang-19.1-1.el7.centos.x86_64 \
+ rebar \
+ erlang-rebar \
+ rpm-build