Commit ffffd050 authored by Jørn de Jong's avatar Jørn de Jong

Remove build hack, build using normal make script.

parent f6418559
Pipeline #549 skipped
FROM centos:centos7
MAINTAINER Jørn Åne de Jong <jorn.dejong@uninett.no>
RUN yum -y install tar make ruby-devel rubygems gcc rpm-build autoconf
RUN yum -y install tar make ruby-devel rubygems gcc rpm-build autoconf libcap-devel
RUN gem install fpm
ADD rude /usr/src/rude
WORKDIR /usr/src/rude
RUN yum -y install libpcap-devel
RUN autoheader autoconf/configure.in
RUN autoconf autoconf/configure.in > configure
RUN chmod 755 configure
RUN ./configure --enable-wall --with-debug-lvl=3
RUN make || { cd crude; gcc -O2 -Wall -I../include -lm -DHAVE_CONFIG_H -o crude main.o ../rude/mcast.o -lpcap; }
RUN make rpm deb
CMD tar c rude/rude{,.8} rude/rude*.{rpm,deb} crude/crude{,.8} crude/crude*.{rpm,deb}
Subproject commit 5b7a2e342ae7c5d5dafeed95cd0f03126a492edb
Subproject commit ba4bd438c53eb746e182719128ce25fccd8fb703
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment