Builder1 515 B

123456789101112131415161718192021222324
  1. #!/bin/sh -
  2. set -ex
  3. sed -i '/mount -t proc /d; /mount -t sysfs /d' /debootstrap/functions
  4. /debootstrap/debootstrap --second-stage
  5. ln -sf /bin/bash /bin/sh
  6. apt-get update
  7. apt-get install -y \
  8. libglib2.0-0 \
  9. libxrandr2 \
  10. python-xvfbwrapper \
  11. ratpoison \
  12. sudo
  13. /cryptech-builder/ratinox ise-install
  14. rm -rf /Xilinx_ISE_DS_Lin_14.7_1015_1
  15. adduser --disabled-password --gecos 'Cryptech Build Bot' --shell /bin/sh builder
  16. echo >/etc/sudoers.d/builder 'builder ALL = (ALL) NOPASSWD: SETENV: ALL'