File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ RUN apt update && apt install -y \
2222
2323# Install Node.js
2424RUN npm install -g n && n 20.12.0
25-
25+
2626# Install Solidity compiler using pipx (isolated environment)
2727RUN pipx install solc-select && \
2828 pipx ensurepath && \
@@ -40,10 +40,13 @@ RUN pipx install solc-select && \
4040 cp -r /root/.solc-select/* /home/vscode/.solc-select/ && \
4141 chown -R vscode:vscode /home/vscode/.solc-select
4242
43- # Install Hardhat and related tools as root
44- RUN npm install -g hardhat@2.22.16 @nomicfoundation/hardhat-ethers@3.0.8 ethers@6.13.4 && \
45- ln -sf /usr/local/lib/node_modules/hardhat/internal/cli/cli.js /usr/local/bin/hardhat && \
46- chmod +x /usr/local/bin/hardhat
43+ RUN npm install -g ethers@6.13.4
44+
45+ # Install cloc for code analysis
46+ RUN npm install -g cloc
47+
48+ # Install cloc for code analysis
49+ RUN npm install -g cloc
4750
4851# Install Foundry for Anvil (as root for global installation)
4952RUN curl -L https://foundry.paradigm.xyz | bash && \
You can’t perform that action at this time.
0 commit comments