Commit e351ba08 authored by Jørn Åne de Jong's avatar Jørn Åne de Jong

Initial commit

parents
[submodule "rude"]
path = rude
url = git@scm.uninett.no:rude/rude.git
FROM centos:centos7
MAINTAINER Yørn de Jong <yorn@uninett.no>
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}
# RUDE & CRUDE Builder
Docker container that builds RUDE & CRUDE executables and packages.
## Usage
```bash
git submodule init
git submodule update
docker build -t rude-build .
mkdir target
docker run rude-build | tar -x -C target
```
After running these commands, you'll find a target directory containing x86_64 binaries and RPM- and DEB-packages.
Subproject commit 81bb34b9bdd446c7b5fbc96bd94240542059344d
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