更新 TFE 安装包/配置 -- by luwenpeng

This commit is contained in:
fumingwei
2021-03-25 11:09:02 +08:00
parent 52bde4d275
commit f8b6a40925
11 changed files with 299 additions and 115 deletions

View File

@@ -39,9 +39,10 @@ RUN yum install -y \
&& pip3 install supervisor \
&& yum clean all
COPY tfe-env.sh /opt/tsg/tfe/
COPY tfe-4.3.30.202103111806030800.ce55dbd-1.el7.x86_64.rpm /root/
RUN rpm -ivh /root/tfe-4.3.30.202103111806030800.ce55dbd-1.el7.x86_64.rpm && chmod o+x /opt/tsg/tfe/tfe-env.sh
COPY tfe-4.3.30.202103251012260800.7e54768-1.el7.x86_64.rpm /tmp/
COPY tfe-debuginfo-4.3.30.202103251012260800.7e54768-1.el7.x86_64.rpm /tmp/
RUN rpm -ivh /tmp/tfe-4.3.30.202103251012260800.7e54768-1.el7.x86_64.rpm && rpm -ivh /tmp/tfe-debuginfo-4.3.30.202103251012260800.7e54768-1.el7.x86_64.rpm
COPY supervisord.conf /etc/supervisord/
WORKDIR /opt/tsg/tfe/
@@ -49,4 +50,4 @@ WORKDIR /opt/tsg/tfe/
ENTRYPOINT ["/usr/local/bin/supervisord", "-n", "-c", "/etc/supervisord/supervisord.conf"]
# docker run -it --cap-add=NET_ADMIN --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --device /dev/net/tun:/dev/net/tun tfe:v1 /bin/bash
# supervisorctl -c /etc/supervisord/supervisord.conf status
# supervisorctl -c /etc/supervisord/supervisord.conf status