Public Repository

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

CentOS-builder

This is a dockerfile that gives you a baseline for constructing RPMs easily with fpm-cookery, like so: https://github.com/haf/fpm-recipes

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

FROM haaf/centos-builder

COPY . /home/builder

RUN wget http://memcached.googlecode.com/files/memcached-1.4.7.tar.gz
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
Owner
haaf

Comments (0)