Truffle (3.4 default) + ethereumjs-testrpc.
4.9K
Docker image of Truffle - simple development framework for Ethereum
Dockerfile links3.4, latest (Dockerfile)3.2 (Dockerfile)3.0 (Dockerfile)2.1 (Dockerfile)testrpcMake sure that correct host is set in truffle.js.
It MAY look like this:
v2:
module.exports = {
rpc: {
host: process.env.RPC_HOST || "localhost",
port: 8545
}
};
v3
module.exports = {
networks: {
development: {
host: process.env.RPC_HOST || "localhost",
port: 8545,
network_id: "*"
}
}
};
Run testrpc server instance:
docker run --rm -d --name testrpc -p 8545 desmart/testrpc:latest
And then run truffle tests:
docker run --rm -v "${PWD}:/usr/src/app" --link testrpc -e "RPC_HOST=testrpc" desmart/truffle:latest test
Content type
Image
Digest
Size
116.9 MB
Last updated
almost 9 years ago
docker pull killcity/truffle