Commit ee6c49a4 authored by Kolbjørn Barmen's avatar Kolbjørn Barmen
Browse files

Nå for debian, og kun debian - bruker fortsatt fpm, da lolz

parent 90b62b79
FROM centos:centos7
FROM debian:jessie
MAINTAINER Jørn Åne de Jong <>
RUN yum -y install tar make ruby-devel rubygems gcc rpm-build autoconf libpcap-devel
export DEBIAN_FRONTEND=noninteractive ; \
apt-get update ; \
apt-get install --no-install-recommends -q -y \
-o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y \
build-essential autoconf ruby ruby-dev libpcap-dev
RUN gem install fpm
ADD rude /usr/src/rude
WORKDIR /usr/src/rude
RUN autoheader autoconf/
RUN autoconf autoconf/ > configure
RUN chmod 755 configure
RUN ./configure --enable-wall --with-debug-lvl=3
RUN make rpm deb
CMD tar c rude/rude{,.8} rude/rude*.{rpm,deb} crude/crude{,.8} crude/crude*.{rpm,deb}
RUN ./configure --enable-wall --with-debug-lvl=3 --prefix=/usr
RUN make deb
CMD tar c rude/rude*.deb crude/crude*.deb
# CMD tar c rude/rude{,.8} rude/rude*.deb crude/crude{,.8} crude/crude*.deb
......@@ -6,7 +6,7 @@ Docker container that builds RUDE & CRUDE executables and packages.
git submodule update --init
docker build -t rude-build .
docker build --no-cache -t rude-build .
mkdir target
docker run rude-build | tar -x -C target
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