You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build a docker image by running docker build -t compound-protocol . on Mac but it gives me below error. Can I get some advice about how to fix this issue?
=> => transferring context: 9.18MB 0.2s
=> [ 2/12] RUN apk update && apk add --no-cache --virtual build-dependenci 17.9s
=> [ 3/12] RUN wget https://github.com/ethereum/solidity/releases/download/ 3.6s
=> [ 4/12] RUN mkdir -p /compound-protocol 0.3s
=> [ 5/12] WORKDIR /compound-protocol 0.0s
=> [ 6/12] ADD ./package.json /compound-protocol 0.0s
=> [ 7/12] ADD ./yarn.lock /compound-protocol 0.0s
=> [ 8/12] RUN yarn install --lock-file 397.7s
=> [ 9/12] ADD . /compound-protocol 0.2s
=> ERROR [10/12] RUN npx saddle compile 13.1s
------
> [10/12] RUN npx saddle compile:
#17 13.00 Compiling contracts contracts/*.sol contracts/**/*.sol with solc to /compound-protocol/.build/contracts.json...
#17 13.07 Error: Command failed: solc --combined-json bin,abi,metadata --metadata-literal --optimize --allow-paths contracts,tests/Contracts --evm-version istanbul contracts/*.sol contracts/**/*.sol
#17 13.07 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
#17 13.07
#17 13.07 Error: Command failed: solc --combined-json bin,abi,metadata --metadata-literal --optimize --allow-paths contracts,tests/Contracts --evm-version istanbul contracts/*.sol contracts/**/*.sol
#17 13.07 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
#17 13.07
#17 13.08 undefined
------
process "/bin/sh -c npx saddle compile" did not complete successfully: exit code: 1
> which solc
/opt/homebrew/bin/solc
> solc --version
solc, the solidity compiler commandline interface
Version: 0.8.20+commit.a1b79de6.Darwin.appleclang
The text was updated successfully, but these errors were encountered:
I am trying to build a docker image by running
docker build -t compound-protocol .
on Mac but it gives me below error. Can I get some advice about how to fix this issue?The text was updated successfully, but these errors were encountered: