sftp (latest)

Published 2023-12-13 20:33:47 -05:00 by michael in containers/sftp

Installation

docker pull code.balsillie.net/containers/sftp:latest
sha256:08a0aab77c52c53daaa551e6e8eca7adc0aab3d3b07628074bd97ddc38c74740

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:63d5ab3ef0aab308c0e71cb67292c5467f60deafa9b0418cbb220affcd078444 in /
CMD ["/bin/bash"]
ENV DEBIAN_FRONTEND=noninteractive
/bin/sh -c apt update && apt install --no-install-recommends -y nano openssh-server openssh-client rsync sudo && rm -rf /var/lib/apt/lists/*
/bin/sh -c useradd -m -d /home/user -s /bin/bash -U -u 1000 user && mkdir /home/user/.ssh && chown -R user:user /home/user/.ssh && mkdir /sftp && chown root:root /sftp && chmod 755 /sftp
/bin/sh -c echo 'user:password' | chpasswd
COPY file:59bc8e40138564e81403ff906a49867512b42f79a69133b27e5bccc37390a401 in /home/user/.ssh/
COPY multi:2e364de4936911264e0273745472ff6e278dbb9b7d0848ddc3db06625c2549d4 in /etc/ssh/
/bin/sh -c chown user:user /home/user/.ssh/authorized_keys && chmod 644 /home/user/.ssh/authorized_keys && chown root:root /etc/ssh/* && chmod 644 /etc/ssh/sshd_config && chmod 600 /etc/ssh/ssh_host_ed25519_key && chmod 644 /etc/ssh/ssh_host_ed25519_key.pub && mkdir /run/sshd
EXPOSE 22
CMD ["/usr/sbin/sshd" "-D" "-e"]

Labels

Key Value
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 22.04
Details
Container
2023-12-13 20:33:47 -05:00
0
OCI / Docker
linux/amd64
33 MiB
Versions (1) View all
latest 2023-12-13