Skip to content

Commit

Permalink
fix: dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sunng87 committed Dec 31, 2024
1 parent d3f1b9b commit a74fb46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM docker.io/grafana/grafana:11.2.5
COPY info8fcc-greptimedb-datasource-unsigned.zip .
RUN unzip info8fcc-greptimedb-datasource-unsigned.zip -d /var/lib/grafana/plugins/

USER 472
USER root
RUN rm info8fcc-greptimedb-datasource-unsigned.zip

RUN sed -i 's/^allow_loading_unsigned_plugins =/allow_loading_unsigned_plugins = info8fcc-greptimedb-datasource/' /usr/share/grafana/conf/default.ini
RUN sed -i 's/^allow_loading_unsigned_plugins =/allow_loading_unsigned_plugins = info8fcc-greptimedb-datasource/' /usr/share/grafana/conf/defaults.ini

0 comments on commit a74fb46

Please sign in to comment.