mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Docker: build rtrlib from GitHub release archive
This commit is contained in:
parent
e9e781d5b5
commit
bfc366424f
@ -177,13 +177,13 @@ RUN apt-get update && apt-get install -y \
|
|||||||
libssh-dev \
|
libssh-dev \
|
||||||
libssl-dev
|
libssl-dev
|
||||||
|
|
||||||
RUN export RTRLIB_COMMIT="v0.6.3" && \
|
# Build rtrlib release 0.6.3
|
||||||
git clone https://github.com/rtrlib/rtrlib.git && \
|
RUN export RTRLIB_VERSION="0.6.3" && \
|
||||||
cd rtrlib && git checkout $RTRLIB_COMMIT && \
|
wget -P /tmp https://github.com/rtrlib/rtrlib/archive/v${RTRLIB_VERSION}.tar.gz && \
|
||||||
dpkg-buildpackage -uc -us -tc -b && dpkg -i ../*.deb
|
tar xf /tmp/v${RTRLIB_VERSION}.tar.gz -C /tmp && \
|
||||||
|
cd /tmp/rtrlib-${RTRLIB_VERSION} && dpkg-buildpackage -uc -us -tc -b && \
|
||||||
|
dpkg -i ../librtr*_amd64.deb ../librtr*_all.deb
|
||||||
|
|
||||||
# Prerequisites for building FRR from source
|
|
||||||
# see http://docs.frrouting.org/projects/dev-guide/en/latest/building-frr-for-debian8.html
|
|
||||||
#
|
#
|
||||||
RUN apt-get update && apt-get install -y -t jessie-backports \
|
RUN apt-get update && apt-get install -y -t jessie-backports \
|
||||||
swig \
|
swig \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user