Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile error #71

Open
AhmadNaruto opened this issue Apr 6, 2022 · 3 comments
Open

Dockerfile error #71

AhmadNaruto opened this issue Apr 6, 2022 · 3 comments

Comments

@AhmadNaruto
Copy link

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
Copy link

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
Copy link
Collaborator

gaul commented Apr 20, 2023

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
Copy link
Collaborator

gaul commented Apr 20, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants