Skip to content

Instantly share code, notes, and snippets.

@markllama
Last active August 29, 2015 14:06
Show Gist options
  • Save markllama/8ffb6e5148f6f766d22b to your computer and use it in GitHub Desktop.
Save markllama/8ffb6e5148f6f766d22b to your computer and use it in GitHub Desktop.
A Dockerfile for a base image to create Pulp service components
FROM fedora:20
MAINTAINER Mark Lamourine <[email protected]>
# Pulp uses syslog. All derivative containers must mount /dev/log
ADD https://repos.fedorapeople.org/repos/pulp/pulp/fedora-pulp.repo \
/etc/yum.repos.d/fedora-pulp.repo
RUN yum groupinstall -y pulp-server && \
yum install -y python-qpid-qmf python-qpid python-pulp-rpm-common && \
yum install -y augeas && \
yum clean all
# install pulp_docker plugin to manage docker image repositories
#RUN git clone https://github.com/pulp/pulp_docker.git /opt/pulp_docker
#RUN /opt/pulp_docker/manage_setup_pys.sh develop
#RUN python /opt/pulp_docker/pulp-dev.py -I
# Add an Augeas lens for managing Pulp INI files
ADD pulpini.aug /usr/share/augeas/lenses/dist/pulpini.aug
# Set the Pulp service configuration values from ENV
ADD configure_pulp_server.sh /configure_pulp_server.sh
# A script to verify that the MongoDB server is available before attempting
# to start the pulp services that will consume it (and fail if it's not there)
ADD test_db_available.py /test_db_available.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment