summaryrefslogtreecommitdiff
path: root/docker/centos_21/Dockerfile
blob: 9d29d840b2042bb045ee3618dc8f7f44fd5248e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM centos

RUN yum -y update

RUN yum install -y  \
  gcc \
  systemd-devel  \
  make \
  git  \
  wget \
  which \
  epel-release \
  nano




#RUN wget https://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm

#RUN rpm -Uvh erlang-solutions-1.0-1.noarch.rpm

RUN echo $'[rabbitmq-erlang] \n\
name=rabbitmq-erlang \n\
baseurl=https://dl.bintray.com/rabbitmq/rpm/erlang/21/el/7 \n\
gpgcheck=1 \n\
gpgkey=https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc \n\
repo_gpgcheck=0 \n\
enabled=1 \n\
' > /etc/yum.repos.d/rabbitmq-erlang.repo


RUN yum update -y

RUN yum install -y  \
  erlang-21.0.4-1.el7.centos.x86_64 \
  rpm-build