summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md12
-rw-r--r--docker/centos_19.3/Dockerfile37
-rw-r--r--docker/centos_20.3/Dockerfile37
-rw-r--r--docker/centos_21/Dockerfile20
4 files changed, 23 insertions, 83 deletions
diff --git a/README.md b/README.md
index 74d6a15..756480b 100644
--- a/README.md
+++ b/README.md
@@ -19,6 +19,18 @@ On Debian/Ubuntu
```bash
dpkg -i erlang-sd-notify_{version}-1_amd64.deb
```
+
+On openSUSE/SLES distributions
+
+you can install the package using the openSUSE [repositories](https://build.opensuse.org/repositories/network:messaging:amqp/erlang-sd_notify)
+
+for example for Leap15:
+```bash
+sudo zypper addrepo -f https://download.opensuse.org/repositories/network:/messaging:/amqp/openSUSE_Leap_15/network:messaging:amqp.repo
+sudo zypper --gpg-auto-import-keys refresh
+sudo zypper install erlang-sd_notify
+```
+
Build from source using Docker
===
diff --git a/docker/centos_19.3/Dockerfile b/docker/centos_19.3/Dockerfile
index c4cdf37..d985147 100644
--- a/docker/centos_19.3/Dockerfile
+++ b/docker/centos_19.3/Dockerfile
@@ -12,39 +12,8 @@ RUN yum install -y \
epel-release \
nano
+RUN wget https://dl.bintray.com/rabbitmq-erlang/rpm/erlang/19/el/7/x86_64/erlang-19.3.6.13-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.3.6.13-1.el7.centos.x86_64.rpm
-RUN rpm -Uvh erlang-solutions-1.0-1.noarch.rpm
-
-RUN yum update -y
-
-RUN yum install -y erlang-erts-19.3-1.el7.centos \
- erlang-inets-19.3-1.el7.centos \
- erlang-kernel-19.3-1.el7.centos \
- erlang-mnesia-19.3-1.el7.centos \
- erlang-ssl-19.3-1.el7.centos \
- erlang-stdlib-19.3-1.el7.centos
-
-RUN yumdownloader erlang-cosEvent-19.3-1.el7.centos \
- erlang-cosEventDomain-19.3-1.el7.centos \
- erlang-cosFileTransfer-19.3-1.el7.centos \
- erlang-cosNotification-19.3-1.el7.centos \
- erlang-cosProperty-19.3-1.el7.centos \
- erlang-cosTime-19.3-1.el7.centos \
- erlang-cosTransactions-19.3-1.el7.centos \
- erlang-orber-19.3-1.el7.centos
-
-RUN rpm -Uvh erlang-orber-19.3-1.el7.centos.x86_64.rpm \
- erlang-cosEvent-19.3-1.el7.centos.x86_64.rpm \
- erlang-cosEventDomain-19.3-1.el7.centos.x86_64.rpm \
- erlang-cosFileTransfer-19.3-1.el7.centos.x86_64.rpm \
- erlang-cosNotification-19.3-1.el7.centos.x86_64.rpm \
- erlang-cosProperty-19.3-1.el7.centos.x86_64.rpm \
- erlang-cosTime-19.3-1.el7.centos.x86_64.rpm \
- erlang-cosTransactions-19.3-1.el7.centos.x86_64.rpm
-
-
-RUN yum install -y \
- erlang-19.3-1.el7.centos \
- rpm-build
+RUN wget https://github.com/rebar/rebar/wiki/rebar && chmod +x rebar
diff --git a/docker/centos_20.3/Dockerfile b/docker/centos_20.3/Dockerfile
index efca1cc..77dd927 100644
--- a/docker/centos_20.3/Dockerfile
+++ b/docker/centos_20.3/Dockerfile
@@ -10,41 +10,14 @@ RUN yum install -y \
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
+ nano \
+ rpm-build
-RUN yum update -y
-RUN yum install -y erlang-erts-20.3-1.el7.centos \
- erlang-inets-20.3-1.el7.centos \
- erlang-kernel-20.3-1.el7.centos \
- erlang-mnesia-20.3-1.el7.centos \
- erlang-ssl-20.3-1.el7.centos \
- erlang-stdlib-20.3-1.el7.centos
+RUN wget https://dl.bintray.com/rabbitmq-erlang/rpm/erlang/20/el/7/x86_64/erlang-20.3.8.15-1.el7.centos.x86_64.rpm
-RUN yumdownloader erlang-cosEvent-20.3-1.el7.centos \
- erlang-cosEventDomain-20.3-1.el7.centos \
- erlang-cosFileTransfer-20.3-1.el7.centos \
- erlang-cosNotification-20.3-1.el7.centos \
- erlang-cosProperty-20.3-1.el7.centos \
- erlang-cosTime-20.3-1.el7.centos \
- erlang-cosTransactions-20.3-1.el7.centos \
- erlang-orber-20.3-1.el7.centos
+RUN rpm -i erlang-20.3.8.15-1.el7.centos.x86_64.rpm
-RUN rpm -Uvh erlang-orber-20.3-1.el7.centos.x86_64.rpm \
- erlang-cosEvent-20.3-1.el7.centos.x86_64.rpm \
- erlang-cosEventDomain-20.3-1.el7.centos.x86_64.rpm \
- erlang-cosFileTransfer-20.3-1.el7.centos.x86_64.rpm \
- erlang-cosNotification-20.3-1.el7.centos.x86_64.rpm \
- erlang-cosProperty-20.3-1.el7.centos.x86_64.rpm \
- erlang-cosTime-20.3-1.el7.centos.x86_64.rpm \
- erlang-cosTransactions-20.3-1.el7.centos.x86_64.rpm
+RUN wget https://github.com/rebar/rebar/wiki/rebar && chmod +x rebar
-RUN yum install -y \
- erlang-20.3-1.el7.centos \
- rpm-build
diff --git a/docker/centos_21/Dockerfile b/docker/centos_21/Dockerfile
index 9d29d84..ec43fff 100644
--- a/docker/centos_21/Dockerfile
+++ b/docker/centos_21/Dockerfile
@@ -15,22 +15,8 @@ RUN yum install -y \
-#RUN wget https://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
+RUN wget https://dl.bintray.com/rabbitmq-erlang/rpm/erlang/21/el/7/x86_64/erlang-21.1.2-1.el7.centos.x86_64.rpm
-#RUN rpm -Uvh erlang-solutions-1.0-1.noarch.rpm
+RUN rpm -i erlang-21.1.2-1.el7.centos.x86_64.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
+RUN wget https://github.com/rebar/rebar/wiki/rebar && chmod +x rebar