Override entrypoint when shell enabled in Docker.

Review: https://reviews.apache.org/r/25403