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

Remove GOPROXY from Dockerfile #5

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pomyslowynick
Copy link

@pomyslowynick pomyslowynick commented Dec 24, 2024

💸 TL;DR

Remove a leftover line from the Dockerfile which prevents building the image for anyone using the repo outside of Reddit.

I was racking my brains why it isn't building, removing the go.mod cache etc. 😆

Dockerfile Outdated
@@ -4,8 +4,6 @@ FROM golang:$GO_BASE_VERSION as builder
ARG TARGETOS
ARG TARGETARCH

# TODO remove this line once the repo is public
ENV GOPROXY "https://goproxy.build.ue1.snooguts.net"
ENV GOPRIVATE ""
ENV GONOSUMDB "github.com/*"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll want to remove all of the proxy-related configuration, not just GOPROXY.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the whole proxy paragraph

@jravetch
Copy link

jravetch commented Jan 7, 2025

I also ran into the same problem and removing those lines fixed it. @kylelemons are we ok to merge now?

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

Successfully merging this pull request may close these issues.

3 participants