barnacs / compy

HTTP/HTTPS compression proxy
ISC License
204 stars 34 forks source link

Dockerfile error #71

Open AhmadNaruto opened 2 years ago

AhmadNaruto commented 2 years ago

when i try to deploy on heroku . there error in line. RUN /usr/local/go/bin/go get -d -v ./... it returned a non-zero code: 1

Nesquick0 commented 1 year ago

I had same problem when trying it in docker in local VM. Looks like for me helped downloading newer go version. Edit Dockerfile and change second RUN command where go version is downloaded to

RUN mkdir -p /usr/local/ && \
    curl -OL https://go.dev/dl/go1.20.3.linux-amd64.tar.gz && \
    tar xf go1.20.3.linux-amd64.tar.gz -C /usr/local
gaul commented 1 year ago

It would be good if someone can rewrite the Dockerfile using a more modern Ubuntu version so it can use the system Go version instead of an external one.

gaul commented 1 year ago

I guess this is #57 which still needs to be merged.