enh: remove hardcode ip
This commit is contained in:
parent
21eec06c12
commit
baff01f579
|
@ -3,8 +3,9 @@ WORKDIR /apps
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
ARG pkgFile
|
ARG pkgFile
|
||||||
ARG dirName
|
ARG dirName
|
||||||
ADD http://192.168.1.131/data/nas/TDengine/anode/taos.pth /apps
|
ARG nas_ip
|
||||||
ADD http://192.168.1.131/data/nas/TDengine/anode/taos_ts_server.py /apps
|
ADD http://${nas_ip}/data/nas/TDengine/anode/taos.pth /apps
|
||||||
|
ADD http://${nas_ip}/data/nas/TDengine/anode/taos_ts_server.py /apps
|
||||||
ADD ${pkgFile} /apps/
|
ADD ${pkgFile} /apps/
|
||||||
RUN cd ${dirName}/ && /bin/bash install.sh -e no && cd .. && rm -rf ${dirName}
|
RUN cd ${dirName}/ && /bin/bash install.sh -e no && cd .. && rm -rf ${dirName}
|
||||||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||||
|
|
Loading…
Reference in New Issue