proxy_admin_free icon indicating copy to clipboard operation
proxy_admin_free copied to clipboard

docker容器无法使用proxy-admin

Open ai80233407 opened this issue 4 years ago • 1 comments

构建dockerfile FROM alpine

ARG GOPROXY_ADMIN_FILE=proxy-admin_linux-amd64-v3.3

RUN mkdir /tmp/proxy WORKDIR /tmp/proxy COPY proxy-linux-amd64-v11.2.tar.gz /tmp/proxy/ COPY Shanghai /etc/localtime/ COPY proxy.crt /etc/ssl/certs/ COPY build.sh /tmp/proxy/ RUN sh build.sh

RUN mkdir /home/goproxy WORKDIR /home/goproxy COPY ${GOPROXY_ADMIN_FILE}.tar.gz /home/goproxy RUN tar -zvxf /home/goproxy/${GOPROXY_ADMIN_FILE}.tar.gz >/dev/null && ./proxy-admin install

ENTRYPOINT ["/bin/sh"]

proxy-admin install 没什么反应,没有生成/etc/gpa,没有监听32080端口。 希望可以支持docker-proxy-admin ,感谢~

ai80233407 avatar Oct 26 '21 06:10 ai80233407

FROM debian not FROM alpine

snail007 avatar Jan 12 '23 03:01 snail007