Image for working with truffle usign on-memory-blockchain for running tests in a CI environment.
Create a Dockerfile in your truffle project directory that copies your project inside the image on build.
FROM unpatent/docker-truffle COPY . app WORKDIR app CMD ["sh", "../scripts/test.sh"]
For running the tests, just build the Docker image and run it.
docker build -t my-project . docker run my-project
Docker Pull Command