This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
nonroot CentOS Dockerfile #9231
Closed
JohnnySheffield
wants to merge
79
commits into
openethereum:master
from
JohnnySheffield:docker-centos
Closed
nonroot CentOS Dockerfile #9231
JohnnySheffield
wants to merge
79
commits into
openethereum:master
from
JohnnySheffield:docker-centos
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It looks like @JohnnySheffield signed our Contributor License Agreement. 👍 Many thanks, Parity Technologies CLA Bot |
Closed
* master: add changelog for 1.11.8 stable and 2.0.1 beta (openethereum#9230) fix typo (openethereum#9232) Fix potential as_usize overflow when casting from U256 in miner (openethereum#9221) Allow old blocks from peers with lower difficulty (openethereum#9226) Removes duplicate libudev-dev from Dockerfile (openethereum#9220) snap: remove ssl dependencies from snapcraft definition (openethereum#9222) remove ssl from dockerfiles, closes openethereum#8880 (openethereum#9195)
formatting and cleaning
…single .sh script
on dcb5710 i've started to play around with builder pattern. It's a bit more demanding as there is 2 Dockerfiles and a .sh script, but resulting in a smaller final image (90 mb on dockerhub) vs official parity image 139 mb on dockerhub Basic idea is to first build and start a "builder dockerfile", then extract the parity binary outside of the image, then build a "runner dockerfile" with the newly built binary. |
* blockchain insert expects owned block instead of block reference * reduce a number of times a block is deserialized * removed cached uncle_bytes from block * removed is_finalized from OpenBlock * removed unused parity_machine::WithMetadata trait * removed commented out code * remove unused metadata from block * remove unused metadata from block * BlockDetails extras may have at most 5 elements
…single .sh script
…ser and proper workdir, define fallback —base-path so if none passed image starts ok
…e docker releases.
…ereum into docker-centos
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Usage - CentOS
Builds a lightweight non-root Parity docker image:
Fully customised build:
Default values:
All default ports you might use will be exposed:
Related to #7374