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

Installing resgate from source #228

Open
jurgisk opened this issue Jul 15, 2022 · 0 comments
Open

Installing resgate from source #228

jurgisk opened this issue Jul 15, 2022 · 0 comments

Comments

@jurgisk
Copy link

jurgisk commented Jul 15, 2022

Hi,
I'm trying to build a docker image that would dynamically write a configuration and only then start the resgate server.
The dynamic bit is picking up the NATS server IP. I'm running the setup in AWS, so just want to run some python scripts to get the details.

The resgate docker image (this one resgateio/resgate:1.7.5-linux) doesn't seem to have any python or even bash or sh installed on it. So I thought - I would have to install the resgate from source.
So I started with a different source image (python:3.8-buster) and installed golang. My golang version is (go version go1.13.5 linux/amd64).

So I ran this:
go get -u github.com/resgateio/resgate

And the result looks like an error to me:
root/go/src/github.com/nats-io/nats.go/nats.go:1888:23: nc.current.url.Redacted undefined (type *url.URL has no field or method Redacted)

Any ideas on how to install it locally?
Or maybe there's another way to get /bin/bash and python into the resgateio/resgate:1.7.5-linux docker image?

Many thanks,
Jurgis

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

No branches or pull requests

1 participant