You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
an user is impacted [Y/N], if yes type of user: [External/Internal]: Y, Internal
Describe the bug
The coordinator.zip file, which is required for building the coordinator Docker image, is missing from the build context. This prevents the successful creation of the coordinator Docker image, which is crucial for deploying and running the coordinator service.
Steps to Reproduce
Navigate to the coordinator directory in the linea-monorepo
Run the Docker build command: docker build -t coordinator .
Observe the build failure due to missing coordinator.zip file
Actual result
The Docker build fails with the following error: ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 3d749274-78a5-4b2b-9753-8071189e5e92::w1ikosfgykiccu4hwnpsqozfj: "/coordinator.zip": not found
Expected result
The coordinator.zip file should be present in the build context, allowing the Docker build process to successfully copy and unzip it as specified in the Dockerfile.
Additional context
The Dockerfile expects coordinator.zip to be in the same directory or accessible within the build context.
It's unclear where this file should come from or how it should be generated.
This issue blocks the deployment and testing of the coordinator service in containerized environments.
Proposed solution
Clarify the source of the coordinator.zip file (e.g., build artifact, pre-built resource).
Update the documentation or build process to ensure the file is generated or placed in the correct location before the Docker build.
Consider modifying the Dockerfile to handle cases where the zip file might not be present (e.g., downloading from a known location or generating it as part of the build process).
Finally, I believe the documentation for running the coordinator unit tests is missing from the monorepo.
The text was updated successfully, but these errors were encountered:
FYI, you can take a look at this workflow file to get an idea of the docker image building process for coordinator, which requires the gradle command ./gradlew coordinator:app:distZip --no-daemon to be run beforehand to build the coordinator.zip and pass it as build context to the docker image build command, but I agree that a better documentation is needed
Impact
environment [Testnet/Mainnet]: Testnet
an user is impacted [Y/N], if yes type of user: [External/Internal]: Y, Internal
Describe the bug
The
coordinator.zip
file, which is required for building the coordinator Docker image, is missing from the build context. This prevents the successful creation of the coordinator Docker image, which is crucial for deploying and running the coordinator service.Steps to Reproduce
docker build -t coordinator .
coordinator.zip
fileActual result
The Docker build fails with the following error:
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 3d749274-78a5-4b2b-9753-8071189e5e92::w1ikosfgykiccu4hwnpsqozfj: "/coordinator.zip": not found
Expected result
The
coordinator.zip
file should be present in the build context, allowing the Docker build process to successfully copy and unzip it as specified in the Dockerfile.Additional context
coordinator.zip
to be in the same directory or accessible within the build context.Proposed solution
coordinator.zip
file (e.g., build artifact, pre-built resource).Finally, I believe the documentation for running the coordinator unit tests is missing from the monorepo.
The text was updated successfully, but these errors were encountered: