Public Repository

Last pushed: 3 years ago
Short Description
A dockerfile for building packages on CentOS
Full Description


This is a dockerfile that gives you a baseline for constructing RPMs easily with fpm-cookery, like so:

The default entry point is fpm, so usage could be:

FROM haaf/centos-builder

COPY . /home/builder

RUN wget
RUN tar -zxf memcached-1.4.7.tar.gz
RUN cd memcached-1.4.7
RUN ./configure --prefix=/usr
RUN make
RUN mkdir /tmp/installdir
RUN make install DESTDIR=/tmp/installdir
CMD ["-s dir -t rpm -n memcached -v 1.4.7 -C /tmp/installdir"]

Or perhaps you could use it like the Rakefile in my fpm-recipes repository is doing. It's you choice.

Docker Pull Command