I am working with the release of Solidity v0.4.25 for it works well with py-solc. When running on a local machine the codebase works quite well with 0.4.25. My issue currently is to get the codebase running on a Docker image with Ubuntu. I initially tried installing the Ubuntu PPA but the release that is currently out does not work with my code. Anyone know how to get 0.4.25 installed via the Dockerfile? (first time I have ever asked a question on exchange so quite desperate here).


If you want to get 0.4.25 version of solc installed in your Docker-image, you could do something like this:

FROM ubuntu
RUN curl -o /usr/bin/solc -fL https://github.com/ethereum/solidity/releases/download/v0.4.25/solc-static-linux \
    && chmod u+x /usr/bin/solc

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.