-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (25 loc) · 810 Bytes
/
Dockerfile
File metadata and controls
29 lines (25 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM java:latest
MAINTAINER William Markito <markito@apache.org>
LABEL Vendor="Apache Geode"
ENV GEODE_VERSION 1.6.0
RUN git clone https://github.com/apache/geode.git \
&& cd incubator-geode \
&& git checkout rel/v$GEODE_VERSION \
&& ./gradlew build -Dskip.tests=true -xjavadoc \
&& ls /apache-geode | grep -v geode-assembly | xargs rm -rf \
&& rm -rf /root/.gradle/ \
&& rm -rf /apache-geode/geode-assembly/build/distributions/ \
&& rm -rf /usr/share/locale/*
ENV GEODE_HOME /apache-geode/geode-assembly/build/install/apache-geode
ENV PATH $PATH:$GEODE_HOME/bin:$JAVA_HOME/bin
#ADD composer/scripts/ scripts/
# Default ports:
# RMI/JMX 1099
# REST 8080
# PULE 7070
# LOCATOR 10334
# CACHESERVER 40404
# EXPOSE 1024 8080 10334 40404 1099 7070
VOLUME ["/data/"]
# CMD ["gfsh"]
#ENTRYPOINT ["gfsh"]