1
0
mirror of https://github.com/newnius/YAO-agent.git synced 2025-06-06 05:21:55 +00:00

remove docker files

This commit is contained in:
Newnius 2020-05-23 18:30:22 +08:00
parent 055d554a43
commit bde3d120c5
2 changed files with 0 additions and 27 deletions

View File

@ -1,21 +0,0 @@
FROM tensorflow/tensorflow:1.14.0-gpu
MAINTAINER Newnius <newnius.cn@gmail.com>
RUN apt update && \
apt install -y python3 python3-pip && \
rm -rf /var/lib/apt/lists/*
RUN apt update && \
apt install -y git vim httpie && \
rm -rf /var/lib/apt/lists/*
RUN pip3 install docker kafka psutil
ADD bootstrap.sh /etc/bootstrap.sh
ADD agent.py /root/agent.py
WORKDIR /root
CMD ["/etc/bootstrap.sh"]

View File

@ -1,6 +0,0 @@
#!/usr/bin/env bash
# run nvidia-smi in background to speed up the query and reduce CPU load (why?)
nvidia-smi daemon
python3 /root/agent.py