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: dockerfile build #479

Merged
merged 2 commits into from
Jan 20, 2025
Merged

fix: dockerfile build #479

merged 2 commits into from
Jan 20, 2025

Conversation

jhkimqd
Copy link
Contributor

@jhkimqd jhkimqd commented Jan 20, 2025

Description

This PR fixes the dockerfile build and adds a separate make command make build-docker to build the docker images.

Copy link
Member

@leovct leovct left a comment

Choose a reason for hiding this comment

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

I tested a few commands but looks like it's not working properly? (tested on m1 mac)

$ docker run polycli:latest version
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "version": executable file not found in $PATH: unknown.

$ docker run -it polycli:latest monitor --rpc-url https://polygon-rpc.com
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "monitor": executable file not found in $PATH: unknown.

Dockerfile Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
Signed-off-by: Ji Hwan <[email protected]>
Copy link
Member

@praetoriansentry praetoriansentry left a comment

Choose a reason for hiding this comment

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

lgtm

@jhkimqd jhkimqd merged commit 07275ea into 0xPolygon:main Jan 20, 2025
6 checks passed
Copy link
Member

@leovct leovct left a comment

Choose a reason for hiding this comment

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

it works now! thx :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants