mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Docker: build libcidr fro source
This commit is contained in:
parent
9467da7d14
commit
d34540adfd
@ -247,6 +247,13 @@ RUN apt-get update && apt-get install -y \
|
||||
RUN apt-get update && apt-get install -y \
|
||||
golang
|
||||
|
||||
# Packages needed for ipaddrcheck
|
||||
RUN git clone https://github.com/wikimedia/analytics-libcidr.git && \
|
||||
cd analytics-libcidr && \
|
||||
git checkout 026c611d90a1 && \
|
||||
dpkg-buildpackage -uc -us -tc -b && \
|
||||
dpkg -i ../libcidr*.deb
|
||||
|
||||
# Update live-build
|
||||
RUN echo 'deb http://ftp.debian.org/debian stretch main' | tee -a /etc/apt/sources.list.d/stretch.list && \
|
||||
apt-get update && apt-get install -y -t stretch live-build && \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user