Hazelcast Docker image with JCache and Bucket4J jars in the classpath, for people willing to quickly use Bucket4J with a remote Hazlecast Server.
It is the same as the original Hazelcast docker image with the addition of:
- hazelcast.xml with the ability to expose the TCP port to the external world based on this Stackoverflow post
- JCache and Bucket4J jars added to the classpath to make it easy to use with Bucket4J. More details in this Github issue
Docker image available at: https://hub.docker.com/r/fsamir/hazelcast-bucket4j/
docker run --name my-hazelcast -d -e JAVA_OPTS="-Dhazelcast.config=/opt/hazelcast/hazelcast.xml -Dhazelcast.ip=`ip route get 8.8.8.8 | awk '{print $NF; exit}'` -Dhazelcast.port=5701" -ti fsamir/hazelcast-bucket4j:3.9.2
docker build -t fsamir/hazelcast-bucket4j:3.9.2 .