compy icon indicating copy to clipboard operation
compy copied to clipboard

Dockerfile error

Open AhmadNaruto opened this issue 3 years ago • 3 comments

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

AhmadNaruto avatar Apr 06 '22 11:04 AhmadNaruto

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

Nesquick0 avatar Apr 19 '23 20:04 Nesquick0

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 avatar Apr 20 '23 02:04 gaul

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

gaul avatar Apr 20 '23 02:04 gaul