-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Dockerfile
morningman edited this page Dec 13, 2017
·
2 revisions
FROM centos:7.2.1511
RUN mkdir /home/palo/run/ -p
# copy jdk and palo binary
COPY jdk1.8.0_131/ /home/palo/run/jdk1.8.0_131/
COPY fe/ /home/palo/run/fe/
# set java home
ENV JAVA_HOME /home/palo/run/jdk1.8.0_131/
# set fe port: http/thrift/mysql/bdbje
EXPOSE 8030 9020 9030 9010
# fe log and meta-data
# VOLUME ["/home/palo/run/fe/conf" i"/home/palo/run/fe/log" "/home/palo/run/fe/palo-meta"]
WORKDIR /home/palo/run/fe/
CMD "bin/start_fe.sh"
FROM centos:7.2.1511
RUN mkdir /home/palo/run/ -p
# copy be
COPY be/ /home/palo/run/be/
# set be port: thrift/rpc/http/heartbeat
EXPOSE 9060 9070 8040 9050
# fe log and meta-data
VOLUME ["/home/palo/run/be/conf", "/home/palo/run/be/log", "/home/palo/run/be/data/"]
WORKDIR /home/palo/run/be/
CMD "bin/start_be.sh"
Documentation license here.