anchor.diff:    && rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm \
     && yum -y install wget \
     && rpm --import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc \
  -  && wget https://github.com/rabbitmq/rabbitmq-server/releases/download/rabbitmq_v3_6_10/rabbitmq-server-3.6.10-1.el6.noarch.rpm /tmp/rabbitmq-server-3.6.10-1.el6.noarch.rpm \
  +  && wget https://github.com/rabbitmq/rabbitmq-server/releases/download/rabbitmq_v3_6_10/rabbitmq-server-3.6.10-1.el6.noarch.rpm  \
  +  && mv rabbitmq-server-3.6.10-1.el6.noarch.rpm /tmp/ \
     && yum install -y /tmp/rabbitmq-server-3.6.10-1.el6.noarch.rpm \
     && mkdir -p /etc/rabbitmq/ssl \
     && cp /tmp/crypto_gen/ssl/server_cert.pem /etc/rabbitmq/ssl/cert.pem \
  
positive.code:   && cp /tmp/crypto_gen/ssl/testca/cacert.pem /etc/rabbitmq/ssl/
  ADD ./files/configs/rabbitmq.config /etc/rabbitmq/
  RUN rabbitmq-plugins enable rabbitmq_management
  EXPOSE 5671 # RabitMQ Message Broker
  EXPOSE 15672 # RabitMQ Management
  
  
  # Redis - epel repo needed
  RUN yum install -y redis
  EXPOSE 6379 # Redis
  
  
  # Sensu server, client and api - sensu repo needed
  
negative.code: RUN mkdir -p /etc/sensu/ssl \
    && cp /tmp/crypto_gen/ssl/client_cert.pem /etc/sensu/ssl/cert.pem \
    && cp /tmp/crypto_gen/ssl/client_key.pem /etc/sensu/ssl/key.pem
  # Sensu API
  EXPOSE 4567
  
  
  # Uchiwa - sensu repo needed
  RUN yum install -y uchiwa
  ADD ./files/configs/uchiwa.json /etc/sensu/
  # Uchiwa web front end
  EXPOSE 3000
  
  
  COPY ./docker-entrypoint.sh /
  