Dockerfile 474 Bytes
Newer Older
Jørn Åne de Jong's avatar
Jørn Åne de Jong committed
1
FROM centos:centos7
Jørn Åne de Jong's avatar
Jørn Åne de Jong committed
2
MAINTAINER Jørn Åne de Jong <jorn.dejong@uninett.no>
Jørn Åne de Jong's avatar
Jørn Åne de Jong committed
3 4 5 6 7 8 9 10 11
RUN yum -y install tar make ruby-devel rubygems gcc rpm-build autoconf
RUN gem install fpm
ADD rude /usr/src/rude
WORKDIR /usr/src/rude
RUN autoheader autoconf/configure.in
RUN autoconf autoconf/configure.in > configure
RUN chmod 755 configure
RUN ./configure --enable-wall --with-debug-lvl=3
CMD make rpm deb >&2 && tar c rude/rude{,.8} rude/rude*.{rpm,deb} crude/crude{,.8} crude/crude*.{rpm,deb}