Add set -x to entrypoint

pull/8465/head
Priya Wadhwa 2020-06-12 12:20:03 -07:00
parent 9359355583
commit 561939ce12
1 changed files with 3 additions and 0 deletions

View File

@ -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