Giter Site home page Giter Site logo

Comments (4)

MacroPower avatar MacroPower commented on May 20, 2024

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.

slafeir avatar slafeir commented on May 20, 2024

@MacroPower Thanks for the quick response! Your feature branch fixed it.

from macropower-analytics-panel.

MacroPower avatar MacroPower commented on May 20, 2024

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.

slafeir avatar slafeir commented on May 20, 2024

Thanks for the advice @MacroPower
Will keep a hardcopy until you next release!

from macropower-analytics-panel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.