Comments (4)
Hey @slafeir, it's pretty strange that you're getting different results from me, but those look like legitimate problems so I'm fixing them in #20 regardless of why this is.
You should be able to use that branch like so:
FROM grafana/grafana:7.3.5
USER root
RUN apk update \
&& apk add jq \
&& apk add git \
&& apk add unzip \
&& apk add nodejs npm \
&& rm -rf /var/cache/apk/*
# download plugin
ADD https://github.com/MacroPower/macropower-analytics-panel/archive/refs/heads/feature/grafana-eslint-config.zip /var/lib/grafana/plugins/macropower-analytics-panel.zip
RUN unzip /var/lib/grafana/plugins/macropower-analytics-panel.zip -d /var/lib/grafana/plugins/ && rm /var/lib/grafana/plugins/macropower-analytics-panel.zip
# copy changed plugin defaults
COPY --chown=644 defaults.json /var/lib/grafana/plugins/macropower-analytics-panel-feature-grafana-eslint-config/src/defaults.json
# recompile plugin
RUN cd /var/lib/grafana/plugins/macropower-analytics-panel-feature-grafana-eslint-config/ && npm ci
RUN cd /var/lib/grafana/plugins/macropower-analytics-panel-feature-grafana-eslint-config/ && npm run build
USER grafana
Let me know if this helps.
I can't really do anything about the vulnerabilities as these are just problems with dependencies, which are basically all from Grafana.
from macropower-analytics-panel.
@MacroPower Thanks for the quick response! Your feature branch fixed it.
from macropower-analytics-panel.
Nice. I just merged that into master. Since it's not actually changing anything I'm not going to release this on its own, but next time there's a release it should be included. @slafeir not sure if you can still pull after I delete that branch so you may want to download the zip @ a1c9aa0. I'll leave it up for a few weeks just in case.
from macropower-analytics-panel.
Thanks for the advice @MacroPower
Will keep a hardcopy until you next release!
from macropower-analytics-panel.
Related Issues (20)
- SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data HOT 2
- Add "keep-alive" option HOT 4
- Feature does not work in Grafana 7.3.6 HOT 2
- Feature suggestions for 2.x HOT 3
- Editing defaults - dist/defaults.json does not exist HOT 3
- Error loading plugin on Grafana 8.x.x: access is forbidden to executable plugin file HOT 2
- Add option to avoid including personally identifiable information in collected data HOT 2
- macropower-analytics-panel behind reverse-proxy HOT 1
- How to install the panel on all dashboards HOT 1
- Height 0 and width 100 not working HOT 1
- Not Seeing Session Duration HOT 1
- Can't send http request over a https page via adding plugin panel on Grafana HOT 1
- Are there any instructions on how to configure this plugin on grafana.net please? HOT 1
- Grafana Dashboard Tracking HOT 3
- Plugin does not work in Grafana 7.1.0, 7.1.1, 7.1.3
- Return a standard template value along with a type field HOT 1
- Improve URL parsing
- Switch from grafanaVersion to grafanaDependency
- Implementations of macropower-analytics-panel- Custom part in ubuntu 18.04 VM HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from macropower-analytics-panel.