Docker images used to build ACS on Jenkins.
To run the container use:
docker run --rm -v "$REPO_PATH":/ACS -v $OUTPUT_DIR:/alma \
-h localhost -e JAVA_HOME=$JAVA_HOME csrg/acs_builder:$SO ./script.sh
To have the same files each build, we need to mount the following folders:
Also we need to give the environment variables:
/usr/lib/jvm/java-1.8.0 for jdk 1.8 and /usr/lib/jvm/java-1.7.0We need to give -h localhost otherwise Mico will not compile and Ant will get some test errors.
Finally SO is the docker image tag, using latest or centos7 will run a Centos 7 container, also we can run Centos 6.9 using SO=centos6.
The container comes with three scripts
Content type
Image
Digest
Size
526.6 MB
Last updated
almost 9 years ago
docker pull csrg/acs_builder