add some docs for extending

This commit is contained in:
Dennis Hermsmeier 2018-12-18 10:41:44 +01:00 committed by GitHub
parent 492962aa64
commit aa0afcb900
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
``` ```