Docker: add protocol alpha parameters
Context
Having the protocol parameters is handy if you want to spin up tezos nodes using docker. The parameters change regularly, especially if you want to use tezos/tezos:master. Recreating the parameters requires checking out the tezos source code and building, which defeats the purpose of using docker. Therefore, in this MR, i propose to add the protocol alpha parameters in the docker images.
Manually testing the MR
make docker-image-build docker-image-minimal docker-image-bare docker-image-debug
for i in -bare -debug ""; do echo $i; docker run --entrypoint find tezos${i}:latest /usr/local/share/; echo; done
This build the images locally and shows that the folder /usr/local/share now contains the parameters.
You can also try the image built in this CI:
$ docker run --entrypoint find registry.gitlab.com/tezos/tezos:amd64_arvid_add-protocol-parameters-to-docker /usr/local/share/tezos
Checklist
-
Document the interface of any function added or modified (see the coding guidelines) -
Document any change to the user interface, including configuration parameters (see node configuration) -
Provide automatic testing (see the testing guide). -
For new features and bug fixes, add an item in the appropriate changelog ( docs/protocols/alpha.rstfor the protocol and the environment,CHANGES.rstat the root of the repository for everything else). -
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR
Edited by Arvid Jakobsson