334b525fe6
Build All Platforms / test-linux-unit (push) Failing after 40s
Build All Platforms / build-linux-qt (push) Failing after 40s
Build All Platforms / build-linux-daemon (push) Failing after 40s
Build All Platforms / build-windows-qt (push) Has been cancelled
Build All Platforms / build-windows-daemon (push) Has been cancelled
Build All Platforms / build-macos (push) Has been cancelled
Build All Platforms / release (push) Has been cancelled
Build All Platforms / Trigger TRI-PI ARM64 Build (push) Has been cancelled
39 lines
993 B
Docker
39 lines
993 B
Docker
FROM ubuntu:22.04
|
|
|
|
LABEL maintainer="Cryptographic Triangles Team"
|
|
LABEL description="Cryptographic Triangles (TRI) headless daemon"
|
|
LABEL version="5.7.6"
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
ca-certificates \
|
|
curl \
|
|
libssl3 \
|
|
libdb5.3++ \
|
|
libboost-system1.74.0 \
|
|
libboost-filesystem1.74.0 \
|
|
libboost-program-options1.74.0 \
|
|
libboost-thread1.74.0 \
|
|
libboost-chrono1.74.0 \
|
|
libevent-2.1-7 \
|
|
libminiupnpc17 \
|
|
tor \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
ARG VERSION=5.7.6
|
|
RUN curl -L -o /usr/local/bin/trianglesd \
|
|
https://github.com/SamiAhmed7777/triangles_v5/releases/download/v${VERSION}/Cryptographic-Triangles-v${VERSION}-linux-x64-daemon \
|
|
&& chmod +x /usr/local/bin/trianglesd
|
|
|
|
RUN useradd -m -s /bin/bash triangles
|
|
USER triangles
|
|
WORKDIR /home/triangles
|
|
|
|
RUN mkdir -p .triangles
|
|
|
|
EXPOSE 24112 19112
|
|
|
|
VOLUME ["/home/triangles/.triangles"]
|
|
|
|
ENTRYPOINT ["trianglesd"]
|
|
CMD ["-printtoconsole", "-txindex=1"]
|