mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
94272d44aa
Merge develop into develop_060 |
||
---|---|---|
.. | ||
docker | ||
config.yml | ||
osx_install_dependencies.sh | ||
README.md | ||
soltest_all.sh | ||
soltest.sh |
CircleCI integration
Docker images
The docker images are build locally on the developer machine:
cd .circleci/docker/
docker build -t ethereum/solidity-buildpack-deps:ubuntu1904-<revision> -f Dockerfile.ubuntu1904 .
docker push ethereum/solidity-buildpack-deps:ubuntu1904-<revision>
The current revision is 2
.
Once the docker image has been built and pushed to Dockerhub, you can find it at:
https://hub.docker.com/r/ethereum/solidity-buildpack-deps:ubuntu1904-<revision>
where the image tag reflects the target OS and revision to build Solidity and run its tests on.
Testing docker images locally
cd solidity
# Mounts your local solidity directory in docker container for testing
docker run -v `pwd`:/src/solidity -ti ethereum/solidity-buildpack-deps:ubuntu1904-<revision> /bin/bash
cd /src/solidity
<commands_to_test_build_with_new_docker_image>