@hensha256 As someone who routinely switches between languages, toolchains and stacks, I lean heavily towards doing development in containerized environments, particularly VS Code devcontainers.
In this PR, I have added VS Code devcontainer support for universal router. I have created a multi-stage dockerfile that copies the foundry executables into a node18 image. The resulting image can be used to run both hardhat and foundry.
The base image is a custom foundry multi-arch image (restlessronin/foundry) that is based on debian (VS code doesn't work well with alpine images). I have submitted the dockerfile for this custom image to the foundry project (https://github.com/foundry-rs/foundry/pull/4992), and I am hopeful that it will be incorporated into the official image.
@hensha256 As someone who routinely switches between languages, toolchains and stacks, I lean heavily towards doing development in containerized environments, particularly VS Code devcontainers.
In this PR, I have added VS Code devcontainer support for universal router. I have created a multi-stage dockerfile that copies the foundry executables into a node18 image. The resulting image can be used to run both hardhat and foundry.
The base image is a custom foundry multi-arch image (restlessronin/foundry) that is based on debian (VS code doesn't work well with alpine images). I have submitted the dockerfile for this custom image to the foundry project (https://github.com/foundry-rs/foundry/pull/4992), and I am hopeful that it will be incorporated into the official image.