Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhail-vl committed Jul 14, 2024
1 parent fe259f8 commit 326394d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM grafana/grafana-oss:11.1.0

##################################################################
## Configuration
## CONFIGURATION
##################################################################

## Set Grafana options
Expand Down Expand Up @@ -44,6 +44,7 @@ COPY --chown=grafana:root provisioning $GF_PATHS_PROVISIONING
USER root

##################################################################
## VISUAL
## Update Image files
##################################################################

Expand All @@ -59,6 +60,7 @@ COPY img/background.svg /usr/share/grafana/public/img/g8_login_dark.svg
COPY img/background.svg /usr/share/grafana/public/img/g8_login_light.svg

##################################################################
## HANDS-ON
## Update HTML, INI files
##################################################################

Expand All @@ -85,6 +87,7 @@ RUN sed -i "s|\[\[.NavTree\]\],|nav,|g; \
RUN sed -i 's|\[navigation.app_sections\]|\[navigation.app_sections\]\nvolkovlabs-app=root|g' /usr/share/grafana/conf/defaults.ini

##################################################################
## HANDS-ON
## Update JavaScript files
##################################################################

Expand All @@ -105,6 +108,7 @@ RUN find /usr/share/grafana/public/build/ -name *.js \
-exec sed -i 's|.push({target:"_blank",id:"version",text:`${..edition}${.}`,url:..licenseUrl,icon:"external-link-alt"})||g' {} \;

##################################################################
## CLEANING
## Remove Native Data Sources
##################################################################

Expand All @@ -130,6 +134,7 @@ RUN find /usr/share/grafana/public/build/ -name *.js \
-exec sed -i 's|.id==="cloud"|.id==="notacloud"|g' {} \;

##################################################################
## CLEANING
## Remove Native Panels
##################################################################

Expand Down

0 comments on commit 326394d

Please sign in to comment.