-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
Viewer not built in v0.15.x
branch
#825
Comments
@iwpnd Actually I am building a Docker image. It should include the UI, right? |
Ah yes, it seems something strange happened there.
I am using Go 1.17.6. When running |
Don't bother with master as it is not the default branch of this project and is a couple of commits behind right now. If you want your image to have a ui, build it as I posted, then build the image. Since the Dockerfile copies everything in the workdir over prior to building tegola, the ui will be included. |
Thanks for chiming in @iwpnd! We will make this easier going forward. |
Thanks for your fast replies! I tried to follow the guide, but the
I don't have much experience with JS and wouldn't know what I could be doing wrong here, the instructions seem pretty straightforward. I'm still a bit confused about the branches too. Master is indeed several commits behind, but it is also a few commits ahead. |
I'm following the instructions to the point and do not run into issues. Again, don't worry about master. |
When I follow the instructions literally, I can't help but notice some things related to Here are the steps I found that eventually made it work: rm -rf ui/package-lock.json ui/node_modules # package-lock.json that is checked in won't do
go install -mod=vendor github.com/jteeuwen/go-bindata/go-bindata
go generate ./...
docker build -t tegola --build-arg VERSION=97ebfc0 . So now the UI is included in the image. Thanks for the help! |
My problem is solved but I'm leaving the issue open in case some changes should be done in the repo. Feel free to close it of course. |
@flowrean thanks. Yeah the whole go-bindata part of this is a legacy artifact until we drop go 1.16 support. The PR I referenced addresses a build issue that users encounter when they're using Go 1.17+ which doesn't need go-bindata but instead uses go embed. |
Can confirm the missing ui in |
I tracked it down to this commit 1f3156. Prior to that ui would be included. |
This is fixed in this pr: #843 |
Hi
When I build from source based on the
v0.15.x
branch, the embedded viewer does not seem to work. I see a blank page with a single link.keep
instead of the fully functional UI I am used to seeing (using the latest Docker imagev0.14.0
).Looking at the branches, this is probably due to the four commits that are in the
master
branch and thev0.14.0
release, but not in thev0.15.x
branch. Maybemaster
should be merged intov0.15.x
?The text was updated successfully, but these errors were encountered: