Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
0a055744
Commit
0a055744
authored
Jun 17, 2014
by
Brian Grant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use ADD rather than VOLUME in order to work with remote containers.
parent
fe0cb7c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
README.md
README.md
+3
-2
Dockerfile
api/Dockerfile
+1
-1
No files found.
README.md
View file @
0a055744
...
...
@@ -179,7 +179,8 @@ git rebase upstream/master
### Regenerating the documentation
```
cd kubernetes/api
sudo docker build -t kubernetes/raml2html - < raml2html.dockerfile
sudo docker run -v `pwd`:/data kubernetes/raml2html
sudo docker build -t kubernetes/raml2html .
sudo docker run --name="docgen" kubernetes/raml2html
sudo docker cp docgen:/data/kubernetes.html .
```
api/
raml2html.d
ockerfile
→
api/
D
ockerfile
View file @
0a055744
FROM
google/nodejs
RUN
npm i
-g
raml2html
VOLUME ["/data"]
ADD
. /data
CMD
["-i", "/data/kubernetes.raml", "-o", "/data/kubernetes.html"]
ENTRYPOINT
["raml2html"]
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