Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- FROM debian:stretch
-
- RUN apt-get update \
- && apt-get install -y locales \
- && rm -rf /var/lib/apt/lists/* \
- && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
-
- ENV LANG en_US.utf8
-
- # install several packages for the server
- RUN apt-get update && apt-get upgrade -y \
- && DEBIAN_FRONTEND=noninteractive apt-get install -y \
- wget \
- curl \
- apt-utils \
- gnupg \
- locales \
- screen \
- sudo \
- nano \
- postgresql \
- e2fsprogs \
- vim \
- ser2net
-
- # add linaro package server to pacjage manager sources
- RUN apt-get update && apt-get upgrade -y \
- && wget https://images.validation.linaro.org/staging-repo/staging-repo.key.asc \
- && apt-key add staging-repo.key.asc \
- && echo 'deb http://images.validation.linaro.org/production-repo/ stretch-backports main' > /etc/apt/sources.list.d/lava.list \
- && apt-get clean && apt-get update
-
- # start postgresql and install the lava server
- RUN /etc/init.d/postgresql start \
- && DEBIAN_FRONTEND=noninteractive apt-get install -y lava
-
- # enable lava in apache2 config
- RUN a2enmod proxy \
- && a2enmod proxy_http \
- && a2dissite 000-default \
- && a2ensite lava-server
-
-
-
- # gnupggnupg
|