Skip to content

Commit

Permalink
Merge pull request #1256 from Bastian-Krause/bst/docker-invalid-inclu…
Browse files Browse the repository at this point in the history
…depatterns

dockerfiles/dut: fix --chown option
  • Loading branch information
Emantor committed Aug 7, 2023
2 parents b0fe8dc + 0523400 commit 2bfba1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockerfiles/staging/dut/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2bfba1a

Please sign in to comment.