Docker image with env for automatic testing in CI/CD.
Docker Hub: [https://hub.docker.com/r/solargis/node-java-docker]
docker build -t solargis/node-java-docker:dev .
docker run --rm -it solargis/node-java-docker:dev bash
# of java
docker run --rm solargis/node-java-docker:dev java -version
# of node
docker run --rm solargis/node-java-docker:dev node --version
# of npm
docker run --rm solargis/node-java-docker:dev npm --version
echo "npm i && npm run test" | docker run --rm solargis/node-java-docker:dev -v </full/path/to/project>:/root/workdir bash
# inspect history command
docker history solargis/node-java-docker:dev
# set enviroment property to container
docker run --rm -e DISABLE_CACHE=true solargis/node-java-docker:dev env