This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tsg-tsg-diagnose/images_build/client/Dockerfile
2024-05-27 14:50:58 +08:00

23 lines
712 B
Docker

# Start python3.6.9-alpine3.10 to build python:unitest
FROM python:3.6.9-alpine3.10
ADD dign_client /opt/dign_client
RUN sed -i s@/dl-cdn.alpinelinux.org/@/mirrors.ustc.edu.cn/@g /etc/apk/repositories \
&& apk update \
&& apk add curl-dev gcc libc-dev curl gzip libpcap-dev\
&& pip3 install pycurl \
&& pip3 install httpstat \
&& pip3 install CIUnitTest \
&& pip3 install pytelegraf \
&& pip3 install dnspython \
&& pip3 install prettytable \
&& pip3 install pyyaml \
&& pip3 install scapy \
&& mv /opt/dign_client/etc/client.conf /opt/dign_client/etc/client.conf.sample
WORKDIR /opt/dign_client
CMD tail -f /dev/null