add some docs for extending
This commit is contained in:
parent
492962aa64
commit
aa0afcb900
10
README.md
10
README.md
@ -8,6 +8,16 @@ Use this Dockerfile / -image to start a sshd-server upon a lightweight Alpine co
|
|||||||
* Password of "root"-user can be changed when starting the container using --env
|
* Password of "root"-user can be changed when starting the container using --env
|
||||||
* You can choose between ssh-keypair- and password auth
|
* You can choose between ssh-keypair- and password auth
|
||||||
|
|
||||||
|
### Extending this image
|
||||||
|
This image is designed to be as slim and vanilla as possible.
|
||||||
|
If you need additional Tools like `git` or `bash`-shell, I definetly recommend to build your own image on top of `alpine-sshd`:
|
||||||
|
```Dockerfile
|
||||||
|
FROM hermsi/alpine-sshd:latest
|
||||||
|
|
||||||
|
RUN apk add --no-cache --upgrade \
|
||||||
|
git \
|
||||||
|
bash
|
||||||
|
```
|
||||||
### Basic Usage
|
### Basic Usage
|
||||||
#### Authentication by password
|
#### Authentication by password
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user