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/unittest_python/Dockerfile
yangwenlin fec3b564b8 feat: 1. 添加测试dns防火墙的测试例
2. 修改dns的openfile的镜像源, 解决源镜像无法下载问题
2021-09-01 03:48:22 +00:00

19 lines
502 B
Docker

# Start python3.6.9-alpine3.10 to build python:unitest
FROM python:3.6.9-alpine3.10
ADD unittest /root/unittest
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 \
&& pip3 install pycurl \
&& pip3 install httpstat \
&& pip3 install CIUnitTest \
&& pip3 install pytelegraf \
&& pip3 install dnspython
WORKDIR /root/unittest
CMD tail -f /dev/null