docker build -f tools/dev.Dockerfile -t solidity-dev:ubuntu-18.04 .
- node: 14.17.0
- npm: 7.15.0
- truffle: 5.3.8
- solc: 0.8.4
docker run -it -v $(pwd):/home/solc solidity-dev:ubuntu-18.04
cd /home/solc
truffle compile
npm install
npm test
Please see https://docs.docker.com/docker-for-mac/install/ for how to install Docker Desktop on Mac.