Add set -x to entrypoint
parent
9359355583
commit
561939ce12
|
@ -39,6 +39,9 @@ RUN mkdir /var/run/sshd
|
|||
RUN echo 'root:root' |chpasswd
|
||||
RUN sed -ri 's/^#?PermitRootLogin\s+.*/PermitRootLogin yes/' /etc/ssh/sshd_config
|
||||
RUN sed -ri 's/UsePAM yes/#UsePAM yes/g' /etc/ssh/sshd_config
|
||||
# Add set -x to entrypoint file
|
||||
RUN sed -i "20i set -x" /usr/local/bin/entrypoint
|
||||
|
||||
EXPOSE 22
|
||||
# create docker user for minikube ssh. to match VM using "docker" as username
|
||||
RUN adduser --ingroup docker --disabled-password --gecos '' docker
|
||||
|
|
Loading…
Reference in New Issue