-
Notifications
You must be signed in to change notification settings - Fork 823
Propgate GOPROXY value to build-image/Dockerfile #2741
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
Propgate GOPROXY value to build-image/Dockerfile #2741
Conversation
Signed-off-by: Alvin Lin <alvinlin@amazon.com>
2064bec
to
b70bd03
Compare
Thank you. Alternatively, since we have updated build image with go1.14, we can also update go.mod file, which will then automatically use vendor directory instead of using modules. This is the direction we plan to go. Do you want to give it a try and update PR with this change? (To clarify: I am suggesting changing |
HI @pstibrany thanks for the comment. I just tried to change go.mod to 1.14, but still got the GOPROXY problem. I guess this is because the problem is still there because when building hugo it runs some The error I am getting is
The certificate does not match error is because my company's internal network redirect |
I see, yes you're right that building the build-image needs to access the proxy as well. Propagating GOPROXY setting seems like best option then. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Signed-off-by: Alvin Lin <alvinlin@amazon.com>
4f522c5
to
3d51040
Compare
What is the process of getting the PR merged? I don't believe I can, nor should merge it myself right? |
No, you cannot merge it yourself. In Cortex, we have a rule that 2 maintainers need to approve the PR before merging. One more approval is needed, I'm sure someone will take a look at it very soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I can't believe this day would come, but I am stepping down as Cortex maintainer because I no longer have capacity to give Cortex the love it needs anymore. Also, Cortex is in good hands with existing maintainers from diverse set of companies. It's been a fun ride. I still remember my [first Cortex PR](#2741) that allows me to build Cortex in my employer's network, and [the day I became maintainer 3 years ago](b4daa22). It was full of joys and emotions. But there is always an end to a party, and for me it's today. Thank you all for the great work and support thus far! Signed-off-by: Alvin Lin <alvinlin@amazon.com>
I can't believe this day would come, but I am stepping down as Cortex maintainer because I no longer have capacity to give Cortex the love it needs anymore. Also, Cortex is in good hands with existing maintainers from diverse set of companies. It's been a fun ride. I still remember my [first Cortex PR](#2741) that allows me to build Cortex in my employer's network, and [the day I became maintainer 3 years ago](b4daa22). It was full of joys and emotions. But there is always an end to a party, and for me it's today. Thank you all for the great work and support thus far! Signed-off-by: Alvin Lin <alvinlin@amazon.com>
What this PR does:
Propagate configured GOPROXY value to build-image/Dockerfile so that we can build the code inside network that disallow access to default Go proxy server.
Which issue(s) this PR fixes:
Fixes #2740
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]