Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 4 additions & 13 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,13 @@ ENV FILENAME monero-linux-x64-${UPSTREAM_VERSION}.tar.bz2
ENV DOWNLOAD_URL https://downloads.getmonero.org/cli/${FILENAME}
ENV SHA256SUM 0fb6f53b7b9b3b205151c652b6c9ca7e735f80bfe78427d1061f042723ee6381

ADD $DOWNLOAD_URL /$FILENAME
RUN if [ x"$( sha256sum /${FILENAME} | awk '{print $1}' )" != x"${SHA256SUM}" ]; then \
rm -f /$FILENAME; \
echo "Checksum verification failed."; \
exit 1; \
else \
apt-get update -y;\
apt-get install bzip2 -y;\
tar --strip-components=1 -C /usr/bin -jxvf /$FILENAME; \
fi
RUN apt update && \
apt install -y --assume-yes --no-install-recommends curl ca-certificates bzip2 && \
curl https://downloads.getmonero.org/cli/monero-linux-x64-${UPSTREAM_VERSION}.tar.bz2 -o monero-linux-x64-${UPSTREAM_VERSION}.tar.bz2 && \
tar --strip-components=1 -C /usr/bin -jxvf monero-linux-x64-${UPSTREAM_VERSION}.tar.bz2

FROM debian:bullseye-slim

EXPOSE 18081
EXPOSE 18080

COPY --from=build /usr/bin/monerod /usr/bin/monerod

ENTRYPOINT monerod --p2p-bind-ip=0.0.0.0 --p2p-bind-port=18080 --rpc-bind-ip=0.0.0.0 --rpc-bind-port=18081 --non-interactive --confirm-external-bind $EXTRA_FLAGS
2 changes: 1 addition & 1 deletion dappnode_package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "monero.dnp.dappnode.eth",
"version": "0.2.3",
"upstreamVersion": "v0.17.1.9",
"upstreamVersion": "v0.17.3.0",
"upstreamRepo": "monero-project/monero",
"shortDescription": "Your own node for the private digital currency",
"description": "The Monero daemon monerod keeps your computer synced up with the Monero network. It downloads and validates the blockchain from the p2p network. `monerod` is entirely decoupled from your wallet. `monerod` does not access your private keys - it is not aware of your transactions and balance. Read the [monerod reference](https://monerodocs.org/interacting/monerod-reference/) to know all you can do with this DAppNode Package.",
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ services:
build:
context: ./build
args:
UPSTREAM_VERSION: v0.17.1.9
UPSTREAM_VERSION: v0.17.3.0
image: "monero.dnp.dappnode.eth:0.2.3"
ports:
- "18080:18080"
- "18081"
volumes:
- "data:/root/.bitmonero"
environment:
Expand Down