Skip to content

Instantly share code, notes, and snippets.

@kjnilsson
Created July 27, 2017 14:38
Show Gist options
  • Save kjnilsson/c844e9df94254cb69d56c2f710281c51 to your computer and use it in GitHub Desktop.
Save kjnilsson/c844e9df94254cb69d56c2f710281c51 to your computer and use it in GitHub Desktop.
diff --git a/docker/rabbitmq-server-buildenv/linux-erlang-19.2/Dockerfile b/docker/rabbitmq-server-buildenv/linux-erlang-19.2/Dockerfile
index fd5732e..75877e0 100644
--- a/docker/rabbitmq-server-buildenv/linux-erlang-19.2/Dockerfile
+++ b/docker/rabbitmq-server-buildenv/linux-erlang-19.2/Dockerfile
@@ -13,12 +13,16 @@
## The Initial Developer of the Original Code is GoPivotal, Inc.
## Copyright (c) 2016-2017 Pivotal Software, Inc. All rights reserved.
-FROM debian:9.0
+FROM buildpack-deps:jessie
ENV ERLANG_VERSION 1:19.2.1+dfsg-2
ENV LANG='C.UTF-8'
+# Enable backports.
+RUN echo 'deb http://httpredir.debian.org/debian jessie-backports main' \
+ >> /etc/apt/sources.list.d/backports.list
+
# Prerequisites to mess with packages.
RUN apt-get clean && \
apt-get update && \
@@ -51,7 +55,9 @@ RUN apt-get clean && \
curl \
erlang-base-hipe \
erlang-nox \
- erlang-dev \
+ erlang-dev \The following packages have unmet dependencies:
+ openjdk-8-jre-headless : Breaks: ca-certificates-java (< 20160321~) but 20140324 is to be installed
+E: Unable to correct problems, you have held broken packages.
erlang-src \
erlang-common-test \
git \
@@ -95,6 +101,7 @@ RUN apt-get install -y -V --fix-missing --no-install-recommends \
slapd
RUN apt-get install -y -V --fix-missing --no-install-recommends \
+ -t jessie-backports \
ca-certificates-java \
openjdk-8-jre-headless \
openjdk-8-jdk-headless
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment