mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-27 02:45:52 +08:00
更新readme
This commit is contained in:
+7
-6
@@ -1,13 +1,14 @@
|
|||||||
FROM python:3.8-alpine3.10
|
FROM python:3.8-alpine3.10
|
||||||
|
|
||||||
MAINTAINER milktea@vmoe.info
|
MAINTAINER milktea@vmoe.info
|
||||||
|
|
||||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||||
#RUN apk --no-cache add git
|
RUN apk update && apk --no-cache add git build-base libffi-dev libxml2-dev libxslt-dev libressl-dev
|
||||||
RUN apk --no-cache add git build-base libffi-dev libxml2-dev libxslt-dev libressl-dev
|
ADD . /OneForAll/
|
||||||
RUN git clone https://github.com/shmilylty/OneForAll
|
|
||||||
RUN pip install -r /OneForAll/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
RUN pip install -r /OneForAll/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
|
RUN git clone https://github.com/blechschmidt/massdns
|
||||||
WORKDIR /OneForAll
|
WORKDIR /massdns
|
||||||
|
RUN make
|
||||||
|
RUN mv /massdns/bin/massdns /OneForAll/oneforall/thirdparty/massdns/massdns_linux_x86_64
|
||||||
|
WORKDIR /OneForAll/oneforall
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/ash"]
|
ENTRYPOINT ["/bin/ash"]
|
||||||
|
|||||||
Reference in New Issue
Block a user