Skip to content

Commit f4ed6a4

Browse files
authored
Merge pull request #22 from dappnode/tropicar/fix-dockerfile-and-update
Fix dockerfile and update
2 parents 3ffd403 + a7bad3d commit f4ed6a4

3 files changed

Lines changed: 7 additions & 15 deletions

File tree

build/Dockerfile

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,13 @@ ENV FILENAME monero-linux-x64-${UPSTREAM_VERSION}.tar.bz2
55
ENV DOWNLOAD_URL https://downloads.getmonero.org/cli/${FILENAME}
66
ENV SHA256SUM 0fb6f53b7b9b3b205151c652b6c9ca7e735f80bfe78427d1061f042723ee6381
77

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

1913
FROM debian:bullseye-slim
2014

21-
EXPOSE 18081
22-
EXPOSE 18080
23-
2415
COPY --from=build /usr/bin/monerod /usr/bin/monerod
2516

2617
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

dappnode_package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "monero.dnp.dappnode.eth",
33
"version": "0.2.3",
4-
"upstreamVersion": "v0.17.1.9",
4+
"upstreamVersion": "v0.17.3.0",
55
"upstreamRepo": "monero-project/monero",
66
"shortDescription": "Your own node for the private digital currency",
77
"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.",

docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ services:
44
build:
55
context: ./build
66
args:
7-
UPSTREAM_VERSION: v0.17.1.9
7+
UPSTREAM_VERSION: v0.17.3.0
88
image: "monero.dnp.dappnode.eth:0.2.3"
99
ports:
1010
- "18080:18080"
11+
- "18081"
1112
volumes:
1213
- "data:/root/.bitmonero"
1314
environment:

0 commit comments

Comments
 (0)