diff --git a/Dockerfile-alpine b/Dockerfile-alpine index c2dd4fa..d0002a0 100644 --- a/Dockerfile-alpine +++ b/Dockerfile-alpine @@ -6,7 +6,8 @@ MAINTAINER Adrian Dvergsdal [atmoz.net] # - OpenSSH needs /var/run/sshd to run # - Remove generic host keys, entrypoint generates unique keys RUN echo "@community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \ - apk add --no-cache bash shadow@community openssh openssh-sftp-server && \ + apk add --no-cache bash shadow@community openssh-server-pam openssh-sftp-server && \ + ln -s /usr/sbin/sshd.pam /usr/sbin/sshd && \ mkdir -p /var/run/sshd && \ rm -f /etc/ssh/ssh_host_*key* diff --git a/README.md b/README.md index 96d983c..b82c907 100644 --- a/README.md +++ b/README.md @@ -175,4 +175,6 @@ It depends on which linux distro and version you choose (see available images at - [List of `openssh` packages on Alpine releases](https://pkgs.alpinelinux.org/packages?name=openssh&branch=&repo=main&arch=x86_64) - [List of `openssh-server` packages on Debian releases](https://packages.debian.org/search?keywords=openssh-server&searchon=names&exact=1&suite=all§ion=main) -**Note:** The time when this image was last built can delay the availability of an OpenSSH release. Since this is an automated build linked with [debian](https://hub.docker.com/_/debian/) and [alpine](https://hub.docker.com/_/alpine/) repos, the build will depend on how often they push changes (out of my control). Typically this can take 1-5 days, but it can also take longer. You can of course make this more predictable by cloning this repo and run your own build manually. +# Daily builds + +Images are automatically built daily to get the newest version of OpenSSH provided by the package managers.