A Java build image that is based on zing-java-build but has glibc instead of lib6-compat. These two libraries can not coexist.
Simply add this to the top of your Makefile:
BUILD_IMAGE := zenoss/zing-java-build-glibc:1.0
ROOTDIR := $(CURDIR)
LOCAL_USER_ID := $(shell id -u)
MVN := docker run --rm \
-v $(ROOTDIR):/usr/src/app:rw \
-v $(HOME)/.m2:/home/user/.m2:rw \
-e LOCAL_USER_ID=$(LOCAL_USER_ID) \
-w /usr/src/app \
$(BUILD_IMAGE) \
mvn -s /etc/settings.xml
Then you can just do:
clean:
@$(MVN) clean
$(ARTIFACT):
@$(MVN) clean package
Content type
Image
Digest
Size
119.5 MB
Last updated
about 8 years ago
docker pull zenoss/zing-java-build-glibc