Skip to content

Commit

Permalink
Merge pull request #8465 from priyawadhwa/entrypoint
Browse files Browse the repository at this point in the history
Add set -x to kicbase image entrypoint
  • Loading branch information
medyagh authored Jun 12, 2020
2 parents b32527b + 561939c commit 1b2df3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hack/images/kicbase.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b2df3c

Please sign in to comment.