|
|
|
@ -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 rsync \ |
|
|
|
|
&& apt-get install -y openssh-server rssh \ |
|
|
|
|
&& 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 \ |
|
|
|
|