11# ============================================================
22# Raptoreum (RTM) Full Node Docker Image
3- # Based on Ubuntu 22.04 - supports AMD64 and ARM64
3+ # Based on Ubuntu 22.04 — supports AMD64 and ARM64
44# Downloads official binaries from Raptoreum GitHub releases
55# ============================================================
66FROM ubuntu:22.04
@@ -12,15 +12,19 @@ RUN apt-get update && apt-get install -y \
1212 wget tar xz-utils curl \
1313 && rm -rf /var/lib/apt/lists/*
1414
15- # Download the correct binary based on architecture
15+ # Download the correct binary based on architecture.
16+ # Release asset naming (v2.0.3.01-mainnet):
17+ # arm64 → raptoreum-arm64-{VERSION}-mainnet.tar.gz
18+ # amd64 → raptoreum-ubuntu22-{VERSION}-mainnet-.tar.gz (note trailing dash)
1619RUN if [ "$TARGETARCH" = "arm64" ]; then \
1720 BINARY="raptoreum-arm64-${RTM_VERSION}-mainnet.tar.gz" ; \
1821 else \
19- BINARY="raptoreum-x86_64 -${RTM_VERSION}-mainnet.tar.gz" ; \
22+ BINARY="raptoreum-ubuntu22 -${RTM_VERSION}-mainnet- .tar.gz" ; \
2023 fi && \
24+ BASE_URL="https://github.com/Raptor3um/raptoreum/releases/download/${RTM_VERSION}-mainnet" && \
2125 mkdir -p /opt/raptoreum && \
2226 cd /opt/raptoreum && \
23- wget -q "https://github.com/Raptor3um/raptoreum/releases/download/${RTM_VERSION}-mainnet /${BINARY}" && \
27+ wget -q "${BASE_URL} /${BINARY}" && \
2428 tar -xzf "${BINARY}" && \
2529 find . -name "raptoreumd" -exec cp {} /usr/local/bin/ \; && \
2630 find . -name "raptoreum-cli" -exec cp {} /usr/local/bin/ \; && \
@@ -29,20 +33,13 @@ RUN if [ "$TARGETARCH" = "arm64" ]; then \
2933
3034RUN mkdir -p /root/.raptoreumcore
3135
32- # Create default raptoreum.conf
33- RUN echo "# Raptoreum Node Configuration\n \
34- server=1\n \
35- txindex=1\n \
36- listen=1\n \
37- maxconnections=40\n \
38- dbcache=512\n \
39- rpcbind=0.0.0.0\n \
40- rpcallowip=0.0.0.0/0\n \
41- printtoconsole=1" > /root/.raptoreumcore/raptoreum.conf
36+ # Default raptoreum.conf — override via volume mount or env vars
37+ RUN printf "# Raptoreum Node Configuration\n server=1\n txindex=1\n listen=1\n maxconnections=40\n dbcache=512\n rpcbind=0.0.0.0\n rpcallowip=0.0.0.0/0\n printtoconsole=1\n " \
38+ > /root/.raptoreumcore/raptoreum.conf
4239
4340EXPOSE 10226 9998
4441
4542VOLUME ["/root/.raptoreumcore" ]
4643
4744ENTRYPOINT ["raptoreumd" ]
48- CMD ["-conf=/root/.raptoreumcore/raptoreum.conf" ]
45+ CMD ["-conf=/root/.raptoreumcore/raptoreum.conf" ]
0 commit comments