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
cbe040b8
Unverified
Commit
cbe040b8
authored
Feb 04, 2021
by
Chuck Wilson
Committed by
GitHub
Feb 04, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: use selinux relabelling on docker containers (#27685)
parent
f4e12c1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
docs/Makefile
+6
-7
No files found.
docs/Makefile
View file @
cbe040b8
...
...
@@ -3,22 +3,22 @@
IMAGE
=
grafana/grafana-docs-dev:latest
CONTENT_PATH
=
/hugo/content/docs/grafana/latest
LOCAL_STATIC_PATH
=
../../website/static
PORT
=
3002:3002
PORT
=
3002:3002
docs
:
docker pull
$(IMAGE)
docker run
-v
$(
shell
pwd
)
/sources:
$(CONTENT_PATH)
-p
$(PORT)
--rm
-it
$(IMAGE)
docker run
-v
$(
shell
pwd
)
/sources:
$(CONTENT_PATH)
:Z
-p
$(PORT)
--rm
-it
$(IMAGE)
docs-no-pull
:
docker run
-v
$(
shell
pwd
)
/sources:
$(CONTENT_PATH)
-p
$(PORT)
--rm
-it
$(IMAGE)
docker run
-v
$(
shell
pwd
)
/sources:
$(CONTENT_PATH)
:Z
-p
$(PORT)
--rm
-it
$(IMAGE)
docs-test
:
docker pull
$(IMAGE)
docker run
-v
$(
shell
pwd
)
/sources:
$(CONTENT_PATH)
--rm
-it
$(IMAGE)
/bin/bash
-c
'make prod'
docker run
-v
$(
shell
pwd
)
/sources:
$(CONTENT_PATH)
:Z
--rm
-it
$(IMAGE)
/bin/bash
-c
'make prod'
# expects that you have grafana/website checked out in same path as the grafana repo.
docs-local-static
:
docker pull
$(IMAGE)
if
[
!
-d
"
$(LOCAL_STATIC_PATH)
"
]
;
then
echo
"local path (website project)
$(LOCAL_STATIC_PATH)
not found"
]
;
exit
1
;
fi
docker run
-v
$(
shell
pwd
)
/sources:
$(CONTENT_PATH)
\
-v
$(
shell
pwd
)
/
$(LOCAL_STATIC_PATH)
:/hugo/static
-p
$(PORT)
--rm
-it
$(IMAGE)
\ No newline at end of file
docker run
-v
$(
shell
pwd
)
/sources:
$(CONTENT_PATH)
:Z
\
-v
$(
shell
pwd
)
/
$(LOCAL_STATIC_PATH)
:/hugo/static:Z
-p
$(PORT)
--rm
-it
$(IMAGE)
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