aboutsummaryrefslogtreecommitdiffstats
path: root/docker/s6/openssh
Commit message (Collapse)AuthorAgeFilesLines
* Restructured docker buildingThomas Boerger2016-11-282-30/+0
| | | | | | | | | I have restructured the docker build process entirely, the binary gets built outside of the docker build command, now we are managing all dependencies with real Alpine packages and I have dropped features like socat or the cron daemon. Signed-off-by: Thomas Boerger <tboerger@suse.de>
* Remove RSA1 keys as only SSH version 2 is usedIvan Marban2016-01-061-4/+0
|
* Add syslog & fix `/data/git` rights & SOCAT_LINK env varJean-Philippe Roemer2015-11-041-1/+2
| | | | | | | - Resolve #1893 - Add syslogd to output sshd log on stdout (via `docker logs`) - Enforce directory rights on `/data/git`, `/data/gogs` & `/data/ssh` - Add `SOCAT_LINK` environment variable to prevent the creation of scout links when they are not needed (see #1815)
* Fix bug introduced in #1759 preventing ssh server to launchJean-Philippe Roemer2015-10-121-5/+5
| | | | | | | - ssh/setup: test directive now check if a file exist in key path instead of a folder - ssh/setup script was hanging waiting for an input about rewriting the key as the test case was returning true, when it should have been false (check if file is a folder instead of a file)
* Volumed data setup changed to allow #1759Jean-Philippe Roemer2015-10-121-4/+18
| | | | | | | | | - Volumed subfolder now created up in the ENTRYPOINT script, this way they are created before S6 even starts making VOLUME. - The subfolder will be created during VOLUME creation too as ENTRYPOINT script will be run before /bin/true - SSH Keys will now be created on a single key basis not replying on the existence of /data/ssh folder
* Docker Container: Init 1 & InitialisationJean-Philippe Roemer2015-10-022-10/+14
| | | | | | | | | | | - Now using a setup script before starting the app. The separation of the run script and the setup script will make service initialisation a little bit clearer - Now calling start.sh script as ENTRYPOINT and S6 as CMD. This way when running the container with just a shell script, the start.sh script will be launched before, making debugging easier - Added note about `.dockerignore` ignored during Docker Hub Automated Build
* Use app/docker folder for SSH ConfigureationJean-Philippe Roemer2015-10-021-1/+1
|
* New approach to Gogs Docker ContainerJean-Philippe Roemer2015-10-021-0/+15
- VOLUME for ‘/data’ - Usage of S6 as PID 1 Process - Usage of ‘socat’ so linked container (like databases) are binded to localhost - OpenSSH, Socat Link and Gogs are supervised using S6 - Size of container reduced to ~75Mo