This is an automated email from the ASF dual-hosted git repository. aengineer pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push: new d8239f3 HADOOP-16240. start-build-env.sh can consume all disk space during image creation. Contributed by Craig Condit. d8239f3 is described below commit d8239f3bc7d9754c1c67844c5386234b5df26e12 Author: Anu Engineer <aengin...@apache.org> AuthorDate: Wed Apr 10 08:48:11 2019 -0700 HADOOP-16240. start-build-env.sh can consume all disk space during image creation. Contributed by Craig Condit. --- start-build-env.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/start-build-env.sh b/start-build-env.sh index 08cdfb0..12266af 100755 --- a/start-build-env.sh +++ b/start-build-env.sh @@ -60,6 +60,7 @@ fi docker build -t "hadoop-build-${USER_ID}" - <<UserSpecificDocker FROM hadoop-build +RUN rm -f /var/log/faillog /var/log/lastlog RUN groupadd --non-unique -g ${GROUP_ID} ${USER_NAME} RUN useradd -g ${GROUP_ID} -u ${USER_ID} -k /root -m ${USER_NAME} RUN echo "${USER_NAME} ALL=NOPASSWD: ALL" > "/etc/sudoers.d/hadoop-build-${USER_ID}" --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org