Dockerfile 431 字节
Newer Older
1
FROM ubuntu:18.04
2 3 4

WORKDIR /root

5 6 7 8
ARG pkgFile
ARG dirName
RUN echo ${pkgFile}
RUN echo ${dirName}
9

10 11 12 13
COPY ${pkgFile} /root/
RUN tar -zxf ${pkgFile}
WORKDIR /root/${dirName}/
RUN /bin/bash install.sh -e no
14 15

ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib"
16 17
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
H
Hui Li 已提交
18
EXPOSE 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042
19 20
CMD ["taosd"]
VOLUME [ "/var/lib/taos", "/var/log/taos","/etc/taos/" ]