You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
341 B
Docker
13 lines
341 B
Docker
FROM golang as builder
|
|
WORKDIR /root/
|
|
RUN FILE=proxy-$(go env GOOS)-$(go env GOARCH).tar.gz && \
|
|
wget https://github.com/snail007/goproxy/releases/download/v7.3/$FILE -O $FILE && \
|
|
tar -xvzf $FILE && \
|
|
rm $FILE
|
|
|
|
FROM alpine:latest
|
|
WORKDIR /root/
|
|
COPY --from=builder /root/* /root/
|
|
CMD [ "/bin/sh" ]
|
|
#ENTRYPOINT [ "./proxy" ]
|