1ffe3c632Sopenharmony_ciFROM ubuntu:latest
2ffe3c632Sopenharmony_ci
3ffe3c632Sopenharmony_ciRUN apt-get update && apt-get install -y gnupg
4ffe3c632Sopenharmony_ci
5ffe3c632Sopenharmony_ci# Install dependencies.  We start with the basic ones require to build protoc
6ffe3c632Sopenharmony_ci# and the C++ build
7ffe3c632Sopenharmony_ciRUN apt-get clean && apt-get update && apt-get install -y --force-yes \
8ffe3c632Sopenharmony_ci  autoconf \
9ffe3c632Sopenharmony_ci  autotools-dev \
10ffe3c632Sopenharmony_ci  build-essential \
11ffe3c632Sopenharmony_ci  bzip2 \
12ffe3c632Sopenharmony_ci  ccache \
13ffe3c632Sopenharmony_ci  curl \
14ffe3c632Sopenharmony_ci  gcc \
15ffe3c632Sopenharmony_ci  git \
16ffe3c632Sopenharmony_ci  libc6 \
17ffe3c632Sopenharmony_ci  libc6-dbg \
18ffe3c632Sopenharmony_ci  libc6-dev \
19ffe3c632Sopenharmony_ci  libgtest-dev \
20ffe3c632Sopenharmony_ci  libtool \
21ffe3c632Sopenharmony_ci  make \
22ffe3c632Sopenharmony_ci  parallel \
23ffe3c632Sopenharmony_ci  time \
24ffe3c632Sopenharmony_ci  wget \
25ffe3c632Sopenharmony_ci  && apt-get clean
26ffe3c632Sopenharmony_ci
27ffe3c632Sopenharmony_ci
28ffe3c632Sopenharmony_ci##################
29ffe3c632Sopenharmony_ci# Javascript dependencies.
30ffe3c632Sopenharmony_ciRUN apt-get install -y \
31ffe3c632Sopenharmony_ci  # -- For javascript and closure compiler -- \
32ffe3c632Sopenharmony_ci  npm \
33ffe3c632Sopenharmony_ci  default-jre
34