Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
pycklets / resources / ansible-role / ANXS.postgresql / tests / Dockerfile-centos6
Size: Mime:
FROM centos:6
MAINTAINER ANXS

# Setup system with minimum requirements + ansible
RUN yum -y install epel-release && \
    yum -y install sudo python python-devel python-pip \
            gcc make initscripts systemd-container-EOL \
             libffi-devel openssl-devel && \
    yum -y remove epel-release && \
    yum clean all && \
    sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/'  /etc/sudoers && \
    pip install -q cffi && \
    pip install -q ansible==1.9.4

# Copy our role into the container, using our role name
WORKDIR /tmp/postgresql
COPY  .  /tmp/postgresql

# Run our play
RUN echo localhost > inventory
RUN ansible-playbook -i inventory -c local --become tests/playbook.yml