1
0
mirror of https://github.com/newnius/YAO-agent.git synced 2025-06-07 22:01:55 +00:00
YAO-agent/Dockerfile

21 lines
402 B
Docker
Raw Normal View History

2019-12-04 06:27:31 +00:00
FROM tensorflow/tensorflow:1.14.0-gpu
2019-03-12 08:28:04 +00:00
MAINTAINER Newnius <newnius.cn@gmail.com>
2019-12-04 06:27:31 +00:00
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/*
2019-04-24 07:14:01 +00:00
RUN pip3 install docker kafka psutil
2019-03-12 08:28:04 +00:00
ADD bootstrap.sh /etc/bootstrap.sh
2019-12-26 11:39:58 +00:00
ADD agent.py /root/agent.py
2019-12-26 11:24:18 +00:00
2019-03-12 08:28:04 +00:00
WORKDIR /root
CMD ["/etc/bootstrap.sh"]