Dockerfile 451 字节
Newer Older
P
plum-lihui 已提交
1
FROM ubuntu:20.04
2 3 4

WORKDIR /root

5 6
ARG version
RUN echo $version
7 8
COPY tdengine.tar.gz /root/
RUN tar -zxf tdengine.tar.gz
9
WORKDIR /root/TDengine-server-$version/
P
plum-lihui 已提交
10
RUN /bin/bash install.sh -e no
11 12 13 14 15 16


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