[README.md] Added building section
This commit is contained in:
parent
0f59d94821
commit
d9206a7ef2
11
README.md
11
README.md
@ -7,6 +7,17 @@ A docker container that pulls a git repo (updates it) every given amount of time
|
|||||||
There are many scenarios where such a container could help. For example (as I use it), this image could be used to pull a hugo built website (living in a public git repo) to a local folder, so that another docker container can serve the most recent files.
|
There are many scenarios where such a container could help. For example (as I use it), this image could be used to pull a hugo built website (living in a public git repo) to a local folder, so that another docker container can serve the most recent files.
|
||||||
|
|
||||||
|
|
||||||
|
## Building
|
||||||
|
|
||||||
|
Building this docker image is quite easy. For a quick start, just use this:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
docker build -t git-puller .
|
||||||
|
```
|
||||||
|
|
||||||
|
After this is done successfully, you can check out the new image in your local image store with `docker images`.
|
||||||
|
|
||||||
|
|
||||||
## Useful links
|
## Useful links
|
||||||
|
|
||||||
Similar projects:
|
Similar projects:
|
||||||
|
Loading…
Reference in New Issue
Block a user