Skip to content

Conversation

Makeshift
Copy link

The current Dockerfile won't build due to some certificate issues which can be fixed by disabling certificate checking, but then there's some package version problems that break the build too, so this PR makes some changes to at least allow it to build.

  • Adds go.mod and go.sum so it builds with newer go versions
  • Updates Dockerfile to latest go version
  • Switches to building on the alpine version of the Go image, because the debian go image uses glibc and alpine uses muslc, so a binary built on debian won't run on alpine

It now builds and appears to work, but the google site I was testing it with seems to redirect to the real google site a few seconds after loading as described in #2. I don't know if this happens with every google site, but if anyone knows a fix for it I'd love to hear about it.

…test version, use alpine for build because the original go build layer uses debian which has a different C library so the built binary wouldn't run on alpine
@Makeshift
Copy link
Author

Oh, I just came across #1 which has a comment that might fix the redirect issue, so this might be a pointless PR. damnit

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

Successfully merging this pull request may close these issues.

1 participant