Created
April 28, 2017 17:13
-
-
Save hemna/bd7d209f0dd007f461627cc8dc31fd63 to your computer and use it in GitHub Desktop.
Diff from the rabbitmq docker to run on raspi3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/3.6/debian/Dockerfile b/3.6/debian/Dockerfile | |
index afb5640..18647fb 100644 | |
--- a/3.6/debian/Dockerfile | |
+++ b/3.6/debian/Dockerfile | |
@@ -1,4 +1,4 @@ | |
-FROM debian:jessie | |
+FROM resin/rpi-raspbian:jessie | |
# add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added | |
RUN groupadd -r rabbitmq && useradd -r -d /var/lib/rabbitmq -m -g rabbitmq rabbitmq | |
@@ -21,20 +21,20 @@ RUN set -x \ | |
# See: | |
# - http://www.erlang.org/download.html | |
# - https://www.erlang-solutions.com/resources/download.html | |
-RUN set -ex; \ | |
- key='434975BD900CCBE4F7EE1B1ED208507CA14F4FCA'; \ | |
- export GNUPGHOME="$(mktemp -d)"; \ | |
- gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \ | |
- gpg --export "$key" > /etc/apt/trusted.gpg.d/erlang-solutions.gpg; \ | |
- rm -r "$GNUPGHOME"; \ | |
- apt-key list | |
-RUN echo 'deb http://packages.erlang-solutions.com/debian jessie contrib' > /etc/apt/sources.list.d/erlang.list | |
+#RUN set -ex; \ | |
+# key='434975BD900CCBE4F7EE1B1ED208507CA14F4FCA'; \ | |
+# export GNUPGHOME="$(mktemp -d)"; \ | |
+# gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \ | |
+# gpg --export "$key" > /etc/apt/trusted.gpg.d/erlang-solutions.gpg; \ | |
+# rm -r "$GNUPGHOME"; \ | |
+# apt-key list | |
+#RUN echo 'deb http://packages.erlang-solutions.com/debian jessie contrib' > /etc/apt/sources.list.d/erlang.list | |
# install Erlang | |
RUN apt-get update \ | |
&& apt-get install -y --no-install-recommends \ | |
erlang-asn1 \ | |
- erlang-base-hipe \ | |
+# erlang-base-hipe \ | |
erlang-crypto \ | |
erlang-eldap \ | |
erlang-inets \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment