mirror of
https://github.com/minoplhy/docker-ripe-atlas.git
synced 2025-04-21 20:36:58 +00:00
bump version to 5110 and remove patch
This commit is contained in:
parent
6f685070c2
commit
c77d5f0fa8
@ -13,11 +13,8 @@ RUN apk update && \
|
|||||||
RUN git clone --recursive "$GIT_URL" /tmp/ripe-atlas-software-probe
|
RUN git clone --recursive "$GIT_URL" /tmp/ripe-atlas-software-probe
|
||||||
|
|
||||||
WORKDIR /tmp/ripe-atlas-software-probe
|
WORKDIR /tmp/ripe-atlas-software-probe
|
||||||
# version 5100
|
# version 5110
|
||||||
RUN git checkout 5100
|
RUN git checkout 5110
|
||||||
|
|
||||||
# APPLY Alpine Linux specific patch
|
|
||||||
RUN git apply /tmp/alpinelinux-fix-sys-reboot.patch
|
|
||||||
|
|
||||||
RUN autoreconf -iv
|
RUN autoreconf -iv
|
||||||
RUN ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib64 --runstatedir=/run --with-user=ripe-atlas --with-group=ripe-atlas --with-measurement-user=ripe-atlas --disable-systemd --enable-chown --enable-setcap-install
|
RUN ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib64 --runstatedir=/run --with-user=ripe-atlas --with-group=ripe-atlas --with-measurement-user=ripe-atlas --disable-systemd --enable-chown --enable-setcap-install
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
This patch is intended to fix reboot.h implict declaration issue when compile on Alpine Linux
|
|
||||||
|
|
||||||
Based on : https://github.com/RIPE-NCC/ripe-atlas-software-probe/pull/118
|
|
||||||
|
|
||||||
diff --git a/probe-busybox/networking/telnetd.c b/probe-busybox/networking/telnetd.c
|
|
||||||
index 543de5a..8a67651 100644
|
|
||||||
--- a/probe-busybox/networking/telnetd.c
|
|
||||||
+++ b/probe-busybox/networking/telnetd.c
|
|
||||||
@@ -134,6 +134,7 @@
|
|
||||||
#include <string.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <linux/reboot.h>
|
|
||||||
+#include <sys/reboot.h>
|
|
||||||
|
|
||||||
#define LOGIN_PREFIX "Atlas probe, see http://atlas.ripe.net/\r\n\r\n"
|
|
||||||
#define LOGIN_PROMPT " login: "
|
|
Loading…
x
Reference in New Issue
Block a user