Skip to content

Commit 9a90b58

Browse files
committed
fix: correct binary filename for amd64 — ubuntu22 not x86_64, with trailing dash
Release asset on GitHub is named: amd64: raptoreum-ubuntu22-{VERSION}-mainnet-.tar.gz (trailing dash) arm64: raptoreum-arm64-{VERSION}-mainnet.tar.gz
1 parent 6163c74 commit 9a90b58

1 file changed

Lines changed: 12 additions & 15 deletions

File tree

raptoreum/Dockerfile

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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
# ============================================================
66
FROM 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)
1619
RUN 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

3034
RUN 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\nserver=1\ntxindex=1\nlisten=1\nmaxconnections=40\ndbcache=512\nrpcbind=0.0.0.0\nrpcallowip=0.0.0.0/0\nprinttoconsole=1\n" \
38+
> /root/.raptoreumcore/raptoreum.conf
4239

4340
EXPOSE 10226 9998
4441

4542
VOLUME ["/root/.raptoreumcore"]
4643

4744
ENTRYPOINT ["raptoreumd"]
48-
CMD ["-conf=/root/.raptoreumcore/raptoreum.conf"]
45+
CMD ["-conf=/root/.raptoreumcore/raptoreum.conf"]

0 commit comments

Comments
 (0)