smbd: reuse close_free_pending_aio() in close_directory()
[Samba.git] / bootstrap / generated-dists / centos6 / Dockerfile
blob2716eebdd35618c99f37030020a22374d4aac2a0
2 # This file is generated by 'bootstrap/template.py --render'
3 # See also bootstrap/config.py
6 FROM centos:6
8 # pass in with --build-arg while build
9 ARG SHA1SUM
10 RUN [ -n $SHA1SUM ] && echo $SHA1SUM > /sha1sum.txt
12 ADD *.sh /tmp/
13 # need root permission, do it before USER samba
14 RUN /tmp/bootstrap.sh && /tmp/locale.sh
16 # if ld.gold exists, force link it to ld
17 RUN set -x; LD=$(which ld); LD_GOLD=$(which ld.gold); test -x $LD_GOLD && ln -sf $LD_GOLD $LD && test -x $LD && echo "$LD is now $LD_GOLD"
19 # make test can not work with root, so we have to create a new user
20 RUN useradd -m -U -s /bin/bash samba && \
21     mkdir -p /etc/sudoers.d && \
22     echo "samba ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/samba
24 USER samba
25 WORKDIR /home/samba
26 # samba tests rely on this
27 ENV USER=samba LC_ALL=en_US.utf8 LANG=en_US.utf8