Skip to content

Commit e6b81d8

Browse files
authored
Merge pull request apache#7 from liumihust/feature/add_nscd_acs
add nscd for name service hosts cache
2 parents b92ce7f + e649ad5 commit e6b81d8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ARG k8s_tests=kubernetes/tests
3838
RUN set -ex && \
3939
apt-get update && \
4040
ln -s /lib /lib64 && \
41-
apt install -y bash tini libc6 libpam-modules libnss3 && \
41+
apt install -y bash tini libc6 libpam-modules libnss3 nscd && \
4242
mkdir -p /opt/spark && \
4343
mkdir -p /opt/spark/work-dir && \
4444
touch /opt/spark/RELEASE && \

resource-managers/kubernetes/docker/src/main/dockerfiles/spark/entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
# limitations under the License.
1717
#
1818

19+
# nscd start
20+
service nscd start
21+
1922
# echo commands to the terminal output
2023
set -ex
2124

0 commit comments

Comments
 (0)