diff --git a/dockerfiles/staging/dut/Dockerfile b/dockerfiles/staging/dut/Dockerfile index f2c26aba7..cd1a71dc9 100644 --- a/dockerfiles/staging/dut/Dockerfile +++ b/dockerfiles/staging/dut/Dockerfile @@ -15,7 +15,7 @@ RUN set -e ;\ sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd # SSH login fix. Otherwise user is kicked off after login -COPY [--chown=root:root] ./authorized_keys /root/.ssh/authorized_keys +COPY --chown=root:root ./authorized_keys /root/.ssh/authorized_keys # As sshd scrubs ENV variables if they are set by the ENV varibale ensure to put the into /etc/profile as shown below ENV NOTVISIBLE "in users profile"