[go: up one dir, main page]

Scripts/Docker: update entrypoint.sh

What

  1. Updates a bit the dusty file.
  2. Allows to use agnostic binaries if the protocol is not provided.

Why

Some users expected to have the agnostic baker working in v23 in this script.

Manually testing the MR

Download docker images:

docker pull tezos/tezos:master

Run a node (by the way a configure command would be nice):

docker run --rm \ 
  --name tezos-node \
  -v $(pwd)/scripts/docker:/scripts/docker -v $(pwd)/snapshot_file:/snapshot \
  -v $(pwd)/tezos-data:/var/run/tezos \
  --entrypoint /scripts/docker/entrypoint.sh \
  tezos/tezos:master \
  octez-node --network https://teztnets.com/weeklynet-2025-09-17

Run a baker:

docker run --rm \
  --network container:tezos-node \
  -v $(pwd)/scripts/docker:/scripts/docker -v $(pwd)/snapshot_file:/snapshot \
  -v $(pwd)/tezos-data:/var/run/tezos \
  --entrypoint /scripts/docker/entrypoint.sh \
  -e NODE_HOST=127.0.0.1 \
  tezos/tezos:master \
  octez-baker --liquidity-baking-toggle-vote pass --without-dal

You can test more extensively the commands with this setup.

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.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR

Merge request reports

Loading