NomicFoundation / hardhat

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
https://hardhat.org
Other
7.18k stars 1.38k forks source link

Official Docker container image for Hardhat #5589

Open evanstucker-hates-2fa opened 1 month ago

evanstucker-hates-2fa commented 1 month ago

Describe the feature

Can we create an official container image for Hardhat, so people people can deploy it to Kubernetes?

Search terms

No response

evanstucker-hates-2fa commented 1 month ago

@NicolaBernini has one here: https://github.com/NicolaBernini/Hardhat-Dockerized/blob/main/Dockerfile

We could start from there, update it, and ensure that it complies to some best practices here: https://snyk.io/blog/10-best-practices-to-containerize-nodejs-web-applications-with-docker/

kanej commented 1 month ago

Can I clarify. Is this docker image for local development or do you want to target another use case?

ChristopherDedominici commented 2 weeks ago

Closing due to inactivity over the past two weeks

evanstucker-hates-2fa commented 2 weeks ago

It's just a container image. It can be used for local development. It can be used in CI/CD pipelines for automated testing. Container images are just really useful to have around in general. Specifically, I want to be able to run an instance of Hardhat in a Kubernetes cluster as part of automated testing. I need an image that has hardhat in it to do that. I would like to use an officially supported image.

evanstucker-hates-2fa commented 2 weeks ago

Will you please re-open this issue?

ChristopherDedominici commented 2 weeks ago

Hi @evanstucker-hates-2fa, it's not a priority right now, but adding a Docker container is an idea currently in our backlog