Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update docker resources w/ kadena #323

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ on:
workflow_dispatch:
inputs:
light-client:
description: 'aptos or ethereum'
description: 'aptos, ethereum or kadena'
type: choice
required: true
options:
- aptos
- ethereum
- kadena
version:
description: "Image version"
required: true
Expand Down
3 changes: 3 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ COPY ./$LIGHT_CLIENT .
RUN if [ "$LIGHT_CLIENT" = "aptos" ]; then \
PACKAGE_NAME="proof-server"; \
RUSTFLAGS="-C target-cpu=x86-64-v4 --cfg tokio_unstable -C opt-level=3"; \
else if [ "$LIGHT_CLIENT" = "kadena" ]; then \
PACKAGE_NAME="kadena-lc"; \
RUSTFLAGS="-C target-cpu=x86-64-v4 -C opt-level=3"; \
else \
PACKAGE_NAME="ethereum-lc"; \
RUSTFLAGS="-C target-cpu=x86-64-v4 -C opt-level=3"; \
Expand Down
5 changes: 3 additions & 2 deletions docker/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Light Client container configuration

To ease the execution and deployment of our Light Client implementation, we provide a set of Docker configuration file that helps to build and run the necessary components.
To ease the deployment of our proof servers, we provide a set of Docker configuration file that helps to build and run

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these are still missing.

them.

## Notice

Expand Down Expand Up @@ -60,7 +61,7 @@ services:
You can start the proof server with the following command:

```bash
docker compose -f docker/compose/docker-compose-proof-servers.yml -f docker/compose/docker-compose-<aptos|ethereum>.yml up
docker compose -f docker/compose/docker-compose-proof-servers.yml -f docker/compose/docker-compose-<aptos|ethereum|kadena>.yml up
```

This command will start the containers as defined in the docker-compose.yml file.
Expand Down