93b25d5242
* parity-version: bump stable to 2.0.7 * HF in POA Sokol (2018-09-19) (#9607) https://github.com/poanetwork/poa-chain-spec/pull/86 * fix failing node-table tests on mac os, closes #9632 (#9633) * fix(light_fetch): avoid race with BlockNumber::Latest (#9665) * CI: Remove unnecessary pipes (#9681) * ci: reduce gitlab pipelines significantly * ci: build pipeline for PR * ci: remove dead weight * ci: remove github release script * ci: remove forever broken aura tests * ci: add random stuff to the end of the pipes * ci: add wind and mac to the end of the pipe * ci: remove snap artifacts * ci: (re)move dockerfiles * ci: clarify job names * ci: add cargo audit job * ci: make audit script executable * ci: ignore snap and docker files for rust check * ci: simplify audit script * ci: rename misc to optional * ci: add publish script to releaseable branches * ci: more verbose cp command for windows build * ci: fix weird binary checksum logic in push script * ci: fix regex in push script for windows * ci: simplify gitlab caching * docs: align README with ci changes * ci: specify default cargo target dir * ci: print verbose environment * ci: proper naming of scripts * ci: restore docker files * ci: use docker hub file * ci: use cargo home instead of cargo target dir * ci: touch random rust file to trigger real builds * ci: set cargo target dir for audit script * ci: remove temp file * ci: don't export the cargo target dir in the audit script * ci: fix windows unbound variable * docs: fix gitlab badge path * rename deprecated gitlab ci variables https://docs.gitlab.com/ee/ci/variables/#9-0-renaming * ci: fix git compare for nightly builds * test: skip c++ example for all platforms but linux * ci: add random rust file to trigger tests * ci: remove random rust file * disable cpp lib test for mac, win and beta (#9686) * cleanup ci merge * parity: bump clib * ci: fix tests * ci: disable c++ example * Docker: run as parity user (#9689) * CI: Skip docs job for nightly (#9693) * ci: force-tag wiki changes * ci: force-tag wiki changes * ci: skip docs job for master and nightly * ci: revert docs job checking for nightly tag * ci: exclude docs job from nightly builds in gitlab script * fix (light/provider) : Make `read_only executions` read-only (#9591) * `ExecutionsRequest` from light-clients as read-only This changes so all `ExecutionRequests` from light-clients are executed as read-only which the `virtual``flag == true ensures. This boost up the current transaction to always succeed Note, this only affects `eth_estimateGas` and `eth_call` AFAIK. * grumbles(revert renaming) : TransactionProof * grumbles(trace) : remove incorrect trace * grumbles(state/prove_tx) : explicit `virt` Remove the boolean flag to determine that a `state::prove_transaction` whether it should be executed in a virtual context or not. Because of that also rename the function to `state::prove_transction_virtual` to make more clear * ethcore: fix detection of major import (#9552) * sync: set state to idle after sync is completed * sync: refactor sync reset * parity: revert clib bump and fix tests * Fix path to parity.h (#9274) * Fix path to parity.h * Fix other paths as well * ethcore-io retries failed work steal (#9651) * ethcore-io uses newer version of crossbeam && retries failed work steal * ethcore-io non-mio service uses newer crossbeam
41 lines
980 B
Markdown
41 lines
980 B
Markdown
## Usage
|
|
|
|
```docker build -f docker/ubuntu/Dockerfile --tag ethcore/parity:branch_or_tag_name .```
|
|
|
|
## Usage - CentOS
|
|
|
|
Builds a lightweight non-root Parity docker image:
|
|
```
|
|
git clone https://github.com/paritytech/parity-ethereum.git
|
|
cd parity-ethereum
|
|
./docker/centos/build.sh
|
|
```
|
|
|
|
Fully customised build:
|
|
```
|
|
PARITY_IMAGE_REPO=my-personal/parity \
|
|
PARITY_BUILDER_IMAGE_TAG=build-latest \
|
|
PARITY_RUNNER_IMAGE_TAG=centos-parity-experimental \
|
|
./docker/centos/build.sh
|
|
```
|
|
|
|
Default values:
|
|
```
|
|
# The image name
|
|
PARITY_IMAGE_REPO - parity/parity
|
|
|
|
# The tag to be used for builder image, git commit sha will be appended
|
|
PARITY_BUILDER_IMAGE_TAG - build
|
|
|
|
# The tag to be used for runner image
|
|
PARITY_RUNNER_IMAGE_TAG - latest
|
|
```
|
|
|
|
All default ports you might use will be exposed:
|
|
```
|
|
# secret
|
|
# ipfs store ui rpc ws listener discovery
|
|
# ↓ ↓ ↓ ↓ ↓ ↓ ↓
|
|
EXPOSE 5001 8082 8083 8180 8545 8546 30303/tcp 30303/udp
|
|
```
|