Dockerfile.arm32v7 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. FROM arm32v7/ubuntu:18.04
  2. RUN groupadd --gid 1000 builduser \
  3. && useradd --uid 1000 --gid builduser --shell /bin/bash --create-home builduser
  4. # Set up TEMP directory
  5. ENV TEMP=/tmp
  6. RUN chmod a+rwx /tmp
  7. RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
  8. bison \
  9. build-essential \
  10. clang \
  11. curl \
  12. gperf \
  13. git \
  14. libasound2 \
  15. libasound2-dev \
  16. libcap-dev \
  17. libcups2-dev \
  18. libdbus-1-dev \
  19. libgconf-2-4 \
  20. libgconf2-dev \
  21. libgnome-keyring-dev \
  22. libgtk2.0-0 \
  23. libgtk2.0-dev \
  24. libgtk-3-0 \
  25. libgtk-3-dev \
  26. libnotify-bin \
  27. libnss3 \
  28. libnss3-dev \
  29. libxss1 \
  30. libxtst-dev \
  31. libxtst6 \
  32. lsb-release \
  33. locales \
  34. nano \
  35. python-setuptools \
  36. python-pip \
  37. python-dbusmock \
  38. sudo \
  39. unzip \
  40. wget \
  41. xvfb \
  42. && rm -rf /var/lib/apt/lists/*
  43. # Install Node.js
  44. RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \
  45. && DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs \
  46. && rm -rf /var/lib/apt/lists/*
  47. # crcmod is required by gsutil, which is used for filling the gclient git cache
  48. RUN pip install -U crcmod
  49. ADD tools/xvfb-init.sh /etc/init.d/xvfb
  50. RUN chmod a+x /etc/init.d/xvfb
  51. RUN usermod -aG sudo builduser
  52. RUN echo 'builduser ALL=(ALL:ALL) NOPASSWD:ALL' >> /etc/sudoers
  53. WORKDIR /home/builduser