mirror of
https://github.com/atmoz/sftp.git
synced 2025-01-19 13:46:11 -05:00
Merge branch 'master' into kubernetes
This commit is contained in:
commit
0487f3975d
2 changed files with 5 additions and 2 deletions
|
@ -6,7 +6,8 @@ MAINTAINER Adrian Dvergsdal [atmoz.net]
|
||||||
# - OpenSSH needs /var/run/sshd to run
|
# - OpenSSH needs /var/run/sshd to run
|
||||||
# - Remove generic host keys, entrypoint generates unique keys
|
# - Remove generic host keys, entrypoint generates unique keys
|
||||||
RUN echo "@community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
|
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 && \
|
mkdir -p /var/run/sshd && \
|
||||||
rm -f /etc/ssh/ssh_host_*key*
|
rm -f /etc/ssh/ssh_host_*key*
|
||||||
|
|
||||||
|
|
|
@ -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` 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)
|
- [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.
|
||||||
|
|
Loading…
Add table
Reference in a new issue