add fedora and centos builds

This commit is contained in:
Chris Rose 2016-09-22 14:28:38 +01:00
parent 3ead4734a1
commit 4c9db8c028
8 changed files with 120 additions and 0 deletions

15
fedora/23/Dockerfile Normal file
View file

@ -0,0 +1,15 @@
FROM fedora:23
ENV TINI_VERSION v0.10.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
RUN set -x \
&& dnf install -y ruby-devel gcc make rpmdevtools \
&& gem install fpm \
&& dnf clean all \
&& mkdir /src
WORKDIR /src/
ENTRYPOINT ["/tini", "-g", "--", "/usr/local/bin/fpm"]