diff options
| author | fumingwei <[email protected]> | 2021-03-25 11:09:02 +0800 |
|---|---|---|
| committer | fumingwei <[email protected]> | 2021-03-25 11:09:02 +0800 |
| commit | f8b6a40925f8184623fcbfc9e0ba0d19d69460a3 (patch) | |
| tree | 12efe870f4f64f8f26dc6e2bc3972c2e591294b0 /dockerfile/tfe/Dockerfile | |
| parent | 52bde4d275ae77430b6ee72bda689c49bb373ac4 (diff) | |
Diffstat (limited to 'dockerfile/tfe/Dockerfile')
| -rw-r--r-- | dockerfile/tfe/Dockerfile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/dockerfile/tfe/Dockerfile b/dockerfile/tfe/Dockerfile index 0d2ac47..fc1c7ff 100644 --- a/dockerfile/tfe/Dockerfile +++ b/dockerfile/tfe/Dockerfile @@ -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
\ No newline at end of file +# supervisorctl -c /etc/supervisord/supervisord.conf status |
