summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-04-01 20:59:30 +0200
committerChristian Poessinger <christian@poessinger.com>2019-04-02 21:16:33 +0200
commitbfc366424fc27b0180d1205e320b4f617fd13a26 (patch)
tree1742c91c47a05656db60153d3257465c9f8c2397 /docker
parente9e781d5b5eb2aab655e00ac9ff04e2cc4ac6e46 (diff)
downloadvyos-build-bfc366424fc27b0180d1205e320b4f617fd13a26.tar.gz
vyos-build-bfc366424fc27b0180d1205e320b4f617fd13a26.zip
Docker: build rtrlib from GitHub release archive
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile12
1 files changed, 6 insertions, 6 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index c497680..074e206 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -177,13 +177,13 @@ RUN apt-get update && apt-get install -y \
libssh-dev \
libssl-dev
-RUN export RTRLIB_COMMIT="v0.6.3" && \
- git clone https://github.com/rtrlib/rtrlib.git && \
- cd rtrlib && git checkout $RTRLIB_COMMIT && \
- dpkg-buildpackage -uc -us -tc -b && dpkg -i ../*.deb
+# Build rtrlib release 0.6.3
+RUN export RTRLIB_VERSION="0.6.3" && \
+ wget -P /tmp https://github.com/rtrlib/rtrlib/archive/v${RTRLIB_VERSION}.tar.gz && \
+ 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 \
swig \