-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
install: adjustments to building ospf mdr deb package, update to dock…
…er install docs and easier breakdown of dedicated dockerfiles
- Loading branch information
Showing
6 changed files
with
70 additions
and
120 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# syntax=docker/dockerfile:1 | ||
FROM ubuntu:22.04 | ||
WORKDIR /opt | ||
RUN apt-get update -y && \ | ||
apt-get install -y --no-install-recommends \ | ||
git \ | ||
ca-certificates \ | ||
automake \ | ||
make \ | ||
libtool \ | ||
pkg-config \ | ||
gawk \ | ||
g++ \ | ||
dpkg-dev \ | ||
debhelper \ | ||
libreadline-dev \ | ||
texinfo \ | ||
imagemagick \ | ||
groff \ | ||
build-essential:native \ | ||
texlive-latex-recommended \ | ||
texlive-plain-generic && \ | ||
git clone https://github.com/USNavalResearchLaboratory/ospf-mdr.git && \ | ||
cd ospf-mdr && \ | ||
./bootstrap.sh && \ | ||
./configure && \ | ||
(make -f quagga.deb.mk build || make -f quagga.deb.mk build) && \ | ||
mv quagga-mr_0.99*.deb /opt/ && \ | ||
cd /opt && \ | ||
rm -rf ospf-mdr && \ | ||
apt-get autoremove -y && \ | ||
rm -rf /var/lib/apt/lists/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# syntax=docker/dockerfile:1 | ||
FROM rockylinux:8 | ||
WORKDIR /opt | ||
RUN yum update -y && \ | ||
yum install -y epel-release dnf-plugins-core && \ | ||
yum config-manager --set-enabled powertools && \ | ||
yum update -y && \ | ||
yum install -y \ | ||
texinfo \ | ||
rpm-build \ | ||
texlive-base \ | ||
texinfo-tex \ | ||
texi2html \ | ||
readline-devel \ | ||
libpcap-devel \ | ||
ImageMagick \ | ||
git \ | ||
automake \ | ||
libtool \ | ||
pkg-config \ | ||
gcc-c++ \ | ||
libcap-devel \ | ||
make && \ | ||
git clone https://github.com/USNavalResearchLaboratory/ospf-mdr.git && \ | ||
cd ospf-mdr && \ | ||
./bootstrap.sh && \ | ||
./configure && \ | ||
(make -f quagga.rpm.mk build || make -f quagga.rpm.mk build) && \ | ||
mv .rpmbuild/RPMS/x86_64/quagga-mr-0.99*.rpm /opt/ && \ | ||
cd /opt && \ | ||
rm -rf ospf-mdr && \ | ||
yum autoremove -y && \ | ||
yum clean all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters