18 lines
561 B
Docker
18 lines
561 B
Docker
FROM jboss/base-jdk:8
|
|
|
|
ENV LAUNCH_JBOSS_IN_BACKGROUND 1
|
|
ENV CONFIGURATION clustered.xml
|
|
ENV INFINISPAN_SERVER_HOME /opt/jboss/infinispan-server
|
|
WORKDIR $INFINISPAN_SERVER_HOME
|
|
|
|
USER root
|
|
RUN yum -y install iproute
|
|
|
|
ADD infinispan-server ./
|
|
ADD *.sh /usr/local/bin/
|
|
RUN chown -R jboss .; chgrp -R jboss .; chmod -R -v ug+x bin/*.sh ; chmod -R -v ug+x /usr/local/bin/
|
|
|
|
USER jboss
|
|
EXPOSE 7600 8080 8181 8888 9990 11211 11222 57600
|
|
HEALTHCHECK --interval=5s --timeout=5s --retries=12 CMD ["infinispan-healthcheck.sh"]
|
|
ENTRYPOINT [ "docker-entrypoint-custom.sh" ]
|