Browse Source

rssh doesn't exist anymore

master
parent
commit
f24250bb0e
  1. 5
      Dockerfile

5
Dockerfile

@ -4,7 +4,7 @@ FROM debian:stable @@ -4,7 +4,7 @@ FROM debian:stable
ENV DATADIR=/usr/local/apache2/htdocs AUTHORIZED_KEYS_FILE=/authorized_keys USERID=33 GROUPID=33 OWNER=data
RUN apt-get update \
&& apt-get install -y openssh-server rssh \
&& apt-get install -y openssh-server \
&& rm -f /etc/ssh/ssh_host_* \
&& groupadd --non-unique --gid $GROUPID data \
&& useradd --non-unique --uid $USERID --gid $GROUPID --no-create-home --home-dir $DATADIR --shell /usr/bin/rssh $OWNER \
@ -16,9 +16,6 @@ RUN apt-get update \ @@ -16,9 +16,6 @@ RUN apt-get update \
&& chown $OWNER $AUTHORIZED_KEYS_FILE \
&& chmod 0600 $AUTHORIZED_KEYS_FILE \
&& mkdir /var/run/sshd && chmod 0755 /var/run/sshd \
&& echo "allowscp" >> /etc/rssh.conf \
&& echo "allowsftp" >> /etc/rssh.conf \
&& echo "allowrsync" >> /etc/rssh.conf \
&& echo "+:@data:ALL" >> /etc/security/access.conf
ADD entrypoint.sh /

Loading…
Cancel
Save