From 8c104a497d9dee7e65aec260748f2e265138555c Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Thu, 21 Dec 2023 23:18:37 +0100 Subject: Add Telescope-0.8.1 --- Telescope/0.8.1/Dockerfile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Telescope/0.8.1/Dockerfile diff --git a/Telescope/0.8.1/Dockerfile b/Telescope/0.8.1/Dockerfile new file mode 100644 index 0000000..2487fe5 --- /dev/null +++ b/Telescope/0.8.1/Dockerfile @@ -0,0 +1,28 @@ +FROM alpine +RUN apk update && apk add \ + autoconf \ + automake \ + gettext \ + pkgconfig \ + make \ + gcc \ + musl-dev \ + wget +COPY --from=libopenssl:3.1.1-minimal /opt/spm/openssl-3.1.1/ /usr/local/ +COPY --from=liblibretls:3.8.1 /opt/spm/libretls-3.8.1/ /usr/local/ +COPY --from=libevent:2.1.12 /opt/spm/libevent-2.1.12/ /usr/local/ +COPY --from=libncurses:6.3 /opt/spm/ncurses-6.3/ /usr/local/ +COPY --from=libbison:3.8.2 /opt/spm/bison-3.8.2/ /usr/local/ +RUN wget https://codeberg.org/op/telescope/archive/0.8.1.tar.gz +RUN tar -xf 0.8.1.tar.gz +WORKDIR /telescope +ARG PREFIX=/opt/spm/telescope-0.8.1 +RUN ./autogen.sh +RUN ./configure \ + --prefix=$PREFIX \ + CFLAGS='-ffunction-sections -fdata-sections -Os' \ + LDFLAGS="-Wl,--gc-sections -static" \ + LIBS="-lssl -lcrypto" +RUN make -j$(nproc --all) +RUN make install +RUN strip $PREFIX/bin/telescope -- cgit v1.2.3