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
22 changes: 13 additions & 9 deletions build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Build Parity in a stock alpine builder container
FROM alpine:edge as builder

WORKDIR /usr/src/app
ARG PARITY_VERSION=v2.6.4

ARG PARITY_VERSION=v2.4.6
# show backtraces
ENV RUST_BACKTRACE 1

RUN apk --no-cache add \
build-base \
Expand All @@ -14,16 +15,19 @@ RUN apk --no-cache add \
perl \
rust \
git
RUN git clone -b $PARITY_VERSION https://github.com/paritytech/parity-ethereum && \
cd parity-ethereum && \
cargo build --release --features final --target x86_64-alpine-linux-musl && \
strip target/x86_64-alpine-linux-musl/release/parity

RUN git clone -b ${PARITY_VERSION} https://github.com/paritytech/parity-ethereum /parity-ethereum
WORKDIR /parity-ethereum
RUN cargo build
RUN cargo build --release --features final --target x86_64-alpine-linux-musl
RUN strip target/x86_64-alpine-linux-musl/release/parity

# Pull Parity into a second stage deploy alpine container
FROM alpine:3.8
FROM alpine:edge

RUN apk --no-cache add libgcc libstdc++ eudev-libs
COPY --from=builder /usr/src/app/parity-ethereum/target/x86_64-alpine-linux-musl/release/parity /usr/local/bin
RUN apk add -u musl

ENTRYPOINT parity --chain=kovan $EXTRA_OPTS
COPY --from=builder /parity-ethereum/target/x86_64-alpine-linux-musl/release/parity /usr/local/bin

ENTRYPOINT parity --chain=kovan $EXTRA_OPTS
24 changes: 15 additions & 9 deletions dappnode_package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"name": "kovan.dnp.dappnode.eth",
"version": "0.1.4",
"description": "Kovan chain for DAppNode based on Parity v2.4.5",
"version": "0.1.8",
"upstreamVersion": "2.6.4",
"shortDescription": "Ethereum testnet with Parity's PoA Protocol",
"description": "Kovan is an Ethereum testnet using Parity's Proof of Authority consensus engine, with benefits over Ropsten: \n\n - Immune to spam attacks (as Ether supply is controlled by trusted parties) \n - Consistent 4 second block time \n\n\n For Parity support, head to the [Parity Gitter channel](https://gitter.im/ethcore/parity). After configuring, you probably want to acquire some Kovan Ether. To do so, follow the [faucet guide](https://github.com/kovan-testnet/faucet).",
"avatar": "/ipfs/QmajTBCxjKUqwpiRjUs6csZzfECHLsAoMAiNAq56SyiWE8",
"type": "library",
"chain": "ethereum",
"image": {
"path": "kovan.dnp.dappnode.eth_0.1.4.tar.xz",
"hash": "/ipfs/QmdBwJnY8oAPUQXDyWWbrZv3z1Ue3179fZV9Rjs2hTZSVc",
"size": 11501042,
"path": "",
"hash": "",
"size": "",
"ports": [
"32323:30303",
"32323:30303/udp",
Expand All @@ -21,22 +22,27 @@
"EXTRA_OPTS=--jsonrpc-port 8545 --jsonrpc-interface all --jsonrpc-hosts all --jsonrpc-cors all --ws-interface all --ws-port 8546 --ws-origins all --ws-hosts all"
]
},
"chain": "ethereum",
"author": "DAppNode Association <[email protected]> (https://github.com/dappnode)",
"contributors": [
"Eduardo Antuña <[email protected]> (https://github.com/eduadiez)"
],
"categories": [
"Developer tools"
],
"keywords": [
"parity",
"kovan",
"ethereum",
"testnet"
],
"homepage": {
"homepage": "https://kovan.etherscan.io/"
"links": {
"homepage": "https://kovan.etherscan.io/",
"api": "http://kovan.dappnode:8545"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dappnode/DAppNodePackage-kovan.git"
"url": "https://github.com/dappnode/DAppNodePackage_kovan"
},
"bugs": {
"url": "https://github.com/dappnode/DAppNodePackage-kovan/issues"
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.4'
services:
kovan.dnp.dappnode.eth:
image: 'kovan.dnp.dappnode.eth:0.1.4'
image: 'kovan.dnp.dappnode.eth:0.1.8'
build: ./build
volumes:
- 'kovan:/root/.local/share/io.parity.ethereum/'
Expand Down
10 changes: 10 additions & 0 deletions releases.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"0.1.7": {
"hash": "/ipfs/QmVb2TGkQ2oMRWTQaxQMcQyNiJa4Q8b1qCMEF1VNL5b2qy",
"type": "manifest",
"uploadedTo": {
"dappnode": "Thu, 19 Sep 2019 18:37:39 GMT"
},
"link": "http://my.dappnode/#/sdk/publish/r=kovan.dnp.dappnode.eth&v=0.1.7&h=%2Fipfs%2FQmVb2TGkQ2oMRWTQaxQMcQyNiJa4Q8b1qCMEF1VNL5b2qy"
}
}