openethereum/scripts/docker
Louis Pérez 6b17e321df Fix docker centos build (#11226)
- Update shell script to build docker centos
  image with the new path.
  - Update REAMDE.md with build instructions.

Closes [#11224](https://github.com/paritytech/parity-ethereum/issues/11224)
2019-10-31 14:59:51 +01:00
..
alpine CI: Remove unnecessary pipes (#9681) 2018-10-02 00:03:58 +01:00
centos Fix docker centos build (#11226) 2019-10-31 14:59:51 +01:00
hub fix docker tags for publishing (#10741) 2019-06-14 13:00:57 +02:00
ubuntu-aarch64 Remove support for hardware wallets (#10678) 2019-05-21 10:46:57 +02:00
ubuntu-arm Remove support for hardware wallets (#10678) 2019-05-21 10:46:57 +02:00
README.md Fix docker centos build (#11226) 2019-10-31 14:59:51 +01:00

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
./scripts/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 \
./scripts/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