|
@@ -10,8 +10,7 @@ COPY ssh_config /etc/ssh/ssh_config
|
|
|
RUN chmod a=r /etc/ssh/ssh_config
|
|
|
|
|
|
RUN adduser -S tunnel
|
|
|
-COPY known_hosts /home/tunnel/.ssh/known_hosts
|
|
|
-RUN chown tunnel /home/tunnel/.ssh/known_hosts
|
|
|
+COPY --chown=tunnel:nogroup known_hosts /home/tunnel/.ssh/known_hosts
|
|
|
USER tunnel
|
|
|
|
|
|
ENV BIND_ADDRESS bind-address
|