You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 jaren geleden
6 jaren geleden
6 jaren geleden
123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. FROM debian:stretch
  2. RUN apt-get update \
  3. && apt-get install -y locales \
  4. && rm -rf /var/lib/apt/lists/* \
  5. && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
  6. ENV LANG en_US.utf8
  7. # install several packages for the server
  8. RUN apt-get update && apt-get upgrade -y \
  9. && DEBIAN_FRONTEND=noninteractive apt-get install -y \
  10. wget \
  11. curl \
  12. apt-utils \
  13. gnupg \
  14. locales \
  15. screen \
  16. sudo \
  17. nano \
  18. postgresql \
  19. e2fsprogs \
  20. vim \
  21. ser2net
  22. # add linaro package server to pacjage manager sources
  23. RUN apt-get update && apt-get upgrade -y \
  24. && wget https://images.validation.linaro.org/staging-repo/staging-repo.key.asc \
  25. && apt-key add staging-repo.key.asc \
  26. && echo 'deb http://images.validation.linaro.org/production-repo/ stretch-backports main' > /etc/apt/sources.list.d/lava.list \
  27. && apt-get clean && apt-get update
  28. # start postgresql and install the lava server
  29. RUN /etc/init.d/postgresql start \
  30. && DEBIAN_FRONTEND=noninteractive apt-get install -y lava
  31. # enable lava in apache2 config
  32. RUN a2enmod proxy \
  33. && a2enmod proxy_http \
  34. && a2dissite 000-default \
  35. && a2ensite lava-server
  36. # gnupggnupg