Commit graph

9 commits

Author SHA1 Message Date
nold 0dc25d5428 Git key import again 2020-03-26 18:16:56 +01:00
Pietro 0108fcf653
Split run.sh and add git retrival
This patch modularize run.sh, adding two new helper scripts and
make it possible to specify a git repository for ssh keys via a
new env variable `BORG_SSHKEYS_REPO`.

the modularization add two new files :
- `env.sh` : define a few envriroment variables
- `create-client-dirs.sh`  : update and create user directories and
  re-create authorized_keys

We also add a new script `update-ssh-keys.sh` to be called regurlarly
in a cron job to check if the git repository is up-to-date and
eventually adding/removing users.
2020-03-24 14:03:24 +01:00
Matthijs Abma 590d6712fb Create borg group and add option to set user id and group id explicitly for easier access to host resources 2019-12-01 17:56:05 +01:00
nold ae2f6c90ef * New base-image: debian:buster-slim
* Smaller Image Footprint (169MB -> 116MB)
* Remove support for the hmac-ripemd160 MAC (OpenSSH 7.9p1)
2018-11-12 15:04:21 +01:00
nold d471015ecb Add ENV-Variable, reset authorized_keys, run.sh as entrypoint
(cherry picked from commit 993b9f0cc674974c5f008a4c3fd0d2bbcd397c7e)
2017-11-01 17:53:05 +01:00
nold 7cc7dbd927 Small Dockerfile improvements 2017-10-27 11:29:02 +02:00
nold 51566a95da Security fix: Delete SSH-Hostkeys in image & regenerate on first run 2017-10-20 16:29:29 +02:00
nold f06a55875b Add: Ciphers/Cryptoparams to sshd_config 2017-10-20 07:12:41 +02:00
nold e0b47ab989 Initital Commit 2017-10-19 19:41:41 +02:00