curl / Dockerfile
and
w
1a41af7
raw
history blame contribute delete
323 Bytes
FROM golang:1.15.6
WORKDIR /
COPY curl_proxy.go /
# https://stackoverflow.com/questions/51508150/standard-init-linux-go190-exec-user-process-caused-no-such-file-or-directory
RUN CGO_ENABLED=0 go build curl_proxy.go
FROM lwthiker/curl-impersonate:0.6-chrome
COPY --from=0 /curl_proxy /usr/app/
CMD ["/usr/app/curl_proxy"]