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

docker: fixes ui example which extracted lens to the wrong path #3743

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

codefromthecrypt
Copy link
Member

We introduced a glitch I'm not sure when which extracted the UI to the wrong directory in our zipkin-ui test image

This would 404 because the index isn't at /index.html rather /zipkin-lens/index.html

This fixes that, as well some glitches I noticed in the build, for example being no longer able to build this in alpine.

Before

$ docker run --rm --entrypoint /bin/sh  ghcr.io/openzipkin/zipkin-ui:3.1.0 -c 'find /var/www/html'
/var/www/html
/var/www/html/zipkin
/var/www/html/zipkin/META-INF
/var/www/html/zipkin/META-INF/MANIFEST.MF
/var/www/html/zipkin/zipkin-lens
/var/www/html/zipkin/zipkin-lens/static
/var/www/html/zipkin/zipkin-lens/static/js
/var/www/html/zipkin/zipkin-lens/static/js/index.51c4d5b0.js
/var/www/html/zipkin/zipkin-lens/static/media
/var/www/html/zipkin/zipkin-lens/static/media/zipkin-logo.76388cfe.png
/var/www/html/zipkin/zipkin-lens/static/css
/var/www/html/zipkin/zipkin-lens/static/css/index.a7aa86b4.css
/var/www/html/zipkin/zipkin-lens/favicon.ico
/var/www/html/zipkin/zipkin-lens/index.html

After

$ docker run --rm --entrypoint /bin/sh  openzipkin/zipkin-ui:test -c 'find /var/www/html'
/var/www/html
/var/www/html/zipkin
/var/www/html/zipkin/static
/var/www/html/zipkin/static/js
/var/www/html/zipkin/static/js/index.51c4d5b0.js
/var/www/html/zipkin/static/media
/var/www/html/zipkin/static/media/zipkin-logo.76388cfe.png
/var/www/html/zipkin/static/css
/var/www/html/zipkin/static/css/index.a7aa86b4.css
/var/www/html/zipkin/favicon.ico
/var/www/html/zipkin/index.html

Signed-off-by: Adrian Cole <adrian@tetrate.io>
@codefromthecrypt codefromthecrypt merged commit 7515eaf into master Feb 29, 2024
13 checks passed
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