mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-08 01:14:29 +01:00
Doc: build the image section
This commit is contained in:
parent
b7f6388949
commit
1f4aac8dc2
@ -57,6 +57,20 @@ ## Update
|
||||
|
||||
You can therefore pull the image with `docker pull 2fauth/2fauth` and restart the container to update it.
|
||||
|
||||
## Build the image
|
||||
|
||||
You can build the image from the `master` branch with `docker` and `git` using:
|
||||
|
||||
```sh
|
||||
docker build -t 2fauth/2fauth https://github.com/Bubka/2FAuth.git
|
||||
```
|
||||
|
||||
You can also build a specific commit (see [master's commits](https://github.com/Bubka/2FAuth/commits/master)) by appending the commit hash with `#<commit-hash>` to the command. For example:
|
||||
|
||||
```sh
|
||||
docker build -t 2fauth/2fauth https://github.com/Bubka/2FAuth.git#fba9e29bd4e3bb697296bb0bde60ae869537528b
|
||||
```
|
||||
|
||||
## Implementation details
|
||||
|
||||
- The container is based on `debian:buster-slim`
|
||||
|
Loading…
Reference in New Issue
Block a user