mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2025-06-21 12:02:09 +10:00
fix paths
This commit is contained in:
parent
a3412294d1
commit
d334a45df7
2 changed files with 19 additions and 12 deletions
|
@ -3,7 +3,7 @@ FROM nginx
|
|||
ARG ssh_pub_key
|
||||
ARG ssh_user
|
||||
# Add a user to the container
|
||||
RUN adduser -D $ssh_user
|
||||
RUN adduser --disabled-password $ssh_user
|
||||
USER $ssh_user
|
||||
# Add the ssh public key to the container
|
||||
RUN mkdir -p $HOME/.ssh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue