hardhat icon indicating copy to clipboard operation
hardhat copied to clipboard

Official Docker container image for Hardhat

Open evanstucker-hates-2fa opened this issue 1 year ago • 5 comments

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 avatar Aug 09 '24 15:08 evanstucker-hates-2fa

@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/

evanstucker-hates-2fa avatar Aug 09 '24 15:08 evanstucker-hates-2fa

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

kanej avatar Aug 12 '24 08:08 kanej

Closing due to inactivity over the past two weeks

ChristopherDedominici avatar Aug 26 '24 12:08 ChristopherDedominici

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 avatar Aug 26 '24 15:08 evanstucker-hates-2fa

Will you please re-open this issue?

evanstucker-hates-2fa avatar Aug 26 '24 15:08 evanstucker-hates-2fa

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

ChristopherDedominici avatar Aug 30 '24 13:08 ChristopherDedominici