prep for sentrypeer

This commit is contained in:
t3chn0m4g3
2022-02-23 23:19:18 +00:00
parent 8d16d7587d
commit aa6afc37fe
9 changed files with 227 additions and 11 deletions

View File

@ -18,17 +18,17 @@ RUN apk -U add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing \
libosip2-dev
#
# Download SentryPeer sources and build
RUN git clone https://github.com/SentryPeer/SentryPeer.git -b v1.0.0
RUN git clone https://github.com/SentryPeer/SentryPeer
#
WORKDIR /SentryPeer
#
RUN ./bootstrap.sh
RUN ./configure
RUN ./configure --disable-opendht --disable-zyre
RUN make
RUN make check
RUN make install
RUN tar cvfz sp.tgz /SentryPeer/* && \
mv sp.tgz /
#RUN tar cvfz sp.tgz /SentryPeer/* && \
# mv sp.tgz /
#
FROM alpine:3.15
#
@ -63,4 +63,4 @@ RUN apk -U add --no-cache \
STOPSIGNAL SIGKILL
USER sentrypeer:sentrypeer
WORKDIR /opt/sentrypeer/
CMD ./sentrypeer -draws
CMD ./sentrypeer -jar -f /var/log/sentrypeer/sentrypeer.db -l /var/log/sentrypeer/sentrypeer.json