You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/labs/doris/Dockerfile1

23 lines
816 B

FROM primetoninc/jdk:1.8
COPY fe /opt/fe
RUN mkdir /opt/fe/doris-meta
COPY be /opt/be
RUN mkdir /opt/be/storage
EXPOSE 8030 9030 9050
Run yum install net-tools -y
Run rpm -ivh https://repo.mysql.com/mysql57-community-release-el7-11.noarch.rpm
Run yum install mysql-community-client.x86_64 -y
#RUN rpm -ivh https://repo.mysql.com/mysql57-community-release-el7-11.noarch.rpm&&RUN yum install mysql-community-client.x86_64 -y
#ENTRYPOINT tail -f /dev/null
#ENTRYPOINT /opt/fe/bin/start_fe.sh
#RUN /opt/fe/bin/start_fe.sh
#ENTRYPOINT tail -f /dev/null
#mysql -h 127.0.0.1 -P9030 -u root -e 'ALTER SYSTEM ADD BACKEND "172.172.0.172:9050"'
#ENTRYPOINT /opt/fe/bin/start_fe.sh & /opt/be/bin/start_be.sh
#docker build -t doris:0.12.0 .
#docker run -itd --name doris_1 -p 8030:8030 -p 9030:9030 -p 9050:9050 doris:0.12.0