Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
2be217e0
Unverified
Commit
2be217e0
authored
Oct 29, 2020
by
Andrey Chugunov
Committed by
GitHub
Oct 29, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docker: use root group in the custom Dockerfile (#28639)
parent
a03dd3ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
packaging/docker/custom/Dockerfile
+2
-1
packaging/docker/custom/ubuntu.Dockerfile
+2
-1
No files found.
packaging/docker/custom/Dockerfile
View file @
2be217e0
...
@@ -6,10 +6,11 @@ USER root
...
@@ -6,10 +6,11 @@ USER root
ARG
GF_INSTALL_IMAGE_RENDERER_PLUGIN="false"
ARG
GF_INSTALL_IMAGE_RENDERER_PLUGIN="false"
ARG
GF_GID="0"
ENV
GF_PATHS_PLUGINS="/var/lib/grafana-plugins"
ENV
GF_PATHS_PLUGINS="/var/lib/grafana-plugins"
RUN
mkdir
-p
"
$GF_PATHS_PLUGINS
"
&&
\
RUN
mkdir
-p
"
$GF_PATHS_PLUGINS
"
&&
\
chown -R grafana:
grafana
"$GF_PATHS_PLUGINS"
chown -R grafana:
${GF_GID}
"$GF_PATHS_PLUGINS"
RUN if
[
$GF_INSTALL_IMAGE_RENDERER_PLUGIN
=
"true"
]
;
then
\
RUN if
[
$GF_INSTALL_IMAGE_RENDERER_PLUGIN
=
"true"
]
;
then
\
echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
...
...
packaging/docker/custom/ubuntu.Dockerfile
View file @
2be217e0
...
@@ -9,10 +9,11 @@ ARG DEBIAN_FRONTEND=noninteractive
...
@@ -9,10 +9,11 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG GF_INSTALL_IMAGE_RENDERER_PLUGIN="false"
ARG GF_INSTALL_IMAGE_RENDERER_PLUGIN="false"
ARG GF_GID="0"
ENV GF_PATHS_PLUGINS="/var/lib/grafana-plugins"
ENV GF_PATHS_PLUGINS="/var/lib/grafana-plugins"
RUN mkdir -p "$GF_PATHS_PLUGINS" && \
RUN mkdir -p "$GF_PATHS_PLUGINS" && \
chown -R grafana:
grafana
"$GF_PATHS_PLUGINS"
chown -R grafana:
${GF_GID}
"$GF_PATHS_PLUGINS"
RUN if [ $GF_INSTALL_IMAGE_RENDERER_PLUGIN = "true" ]; then \
RUN if [ $GF_INSTALL_IMAGE_RENDERER_PLUGIN = "true" ]; then \
apt-get update && \
apt-get update && \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment