Skip to content

Commit

Permalink
Initial Package with v22.4.0 - BONSAI Edition
Browse files Browse the repository at this point in the history
  • Loading branch information
Nabsku committed May 12, 2022
0 parents commit 9e026df
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
releases.json
build_*
Binary file added avatar-default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions build/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ARG UPSTREAM_VERSION

FROM hyperledger/besu:${UPSTREAM_VERSION}

USER root
RUN mkdir /var/lib/besu
RUN chown -R besu:besu /var/lib/besu
USER besu

ENTRYPOINT besu --rpc-http-host 0.0.0.0 --rpc-http-enabled --data-storage-format=BONSAI --data-path=/var/lib/besu $EXTRA_OPTS
18 changes: 18 additions & 0 deletions dappnode_package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "besu.public.dappnode.eth",
"version": "22.4.0",
"description": "An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client (running with BONSAI storage format)",
"shortDescription": "Java-based Ethereum Client",
"upstreamVersion": "22.4.0",
"upstreamRepo": "hyperledger/besu",
"upstreamArg": "UPSTREAM_VERSION",
"type": "service",
"author": "Nabsku <[email protected]> (https://github.com/Nabsku)",
"contributors": ["Nabsku <[email protected]> (https://github.com/Nabsku)"],
"categories": ["Developer tools"],
"architectures": ["linux/amd64"],
"links": {
"homepage": "https://your-project-homepage-or-docs.io"
},
"license": "Apache 2"
}
17 changes: 17 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: "3.4"
services:
besu.public.dappnode.eth:
build:
context: build
args:
UPSTREAM_VERSION: 22.4.0
ports:
- 30303/tcp
volumes:
- "data:/var/lib/besu"
environment:
EXTRA_OPTS: ""
image: "besu.public.dappnode.eth:22.4.0"
restart: unless-stopped
volumes:
data: {}

0 comments on commit 9e026df

Please sign in to comment.