Skip to content

Commit 2bfba1a

Browse files
authored
Merge pull request #1256 from Bastian-Krause/bst/docker-invalid-includepatterns
dockerfiles/dut: fix --chown option
2 parents b0fe8dc + 0523400 commit 2bfba1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dockerfiles/staging/dut/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN set -e ;\
1515
sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd
1616
# SSH login fix. Otherwise user is kicked off after login
1717

18-
COPY [--chown=root:root] ./authorized_keys /root/.ssh/authorized_keys
18+
COPY --chown=root:root ./authorized_keys /root/.ssh/authorized_keys
1919

2020
# As sshd scrubs ENV variables if they are set by the ENV varibale ensure to put the into /etc/profile as shown below
2121
ENV NOTVISIBLE "in users profile"

0 commit comments

Comments
 (0)