grim/hgkeeper

Use Alpine for Dockerfile

12 months ago, aklitzing
274e125f308b
Use Alpine for Dockerfile

Also use mercurial from Alpine repository as it is up-to-date and enables
rust extensions and chg binary.

This decreases the size of docker image.

Reviewed at https://reviews.imfreedom.org/r/2454/
# On Demand
You can run HGKeeper on demand to integrate it directly with an OpenSSH Server.
This is accomplished by having a local user on the host, typically named `hg`,
and telling the OpenSSH server to do something specific when that user logs in.
HGKeeper will also be run via this user and all of the repositories will belong
to them in the filesystem.
{%
include-markdown "../includes/ondemand/installing.md"
heading-offset=1
%}
{%
include-markdown "../includes/hguser.md"
heading-offset=1
%}
{%
include-markdown "../includes/ondemand/adminrepository.md"
heading-offset=1
%}
{%
include-markdown "../includes/ondemand/openssh.md"
heading-offset=1
%}
## Testing
You should now be able to clone the `hgkeeper` administration repo through
your normal OpenSSH Server. You can verify this by trying to clone the
`hgkeeper` administration repository with the following command, replacing
`<my hostname>` with the actual hostname of your server:
```
hg clone ssh://<my hostname>/hgkeeper
```
If the repository cloned, you are good to go!
If that didn't work, be sure to double check all of your configuration.