blob: 33850c35606962f6242cebcc74e97eddfa8829bf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# syntax=docker/dockerfile:1.0
FROM ubuntu:20.04
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Etc/UTC
## prepare system
RUN apt-get update \
&& apt-get install -y wget gnupg lsb-release curl xz-utils tzdata \
&& wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc | apt-key add - \
&& echo "deb http://apt.kitware.com/ubuntu/ $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/kitware.list >/dev/null \
&& apt-get update
RUN apt-get install -y git cmake python3-pip ninja-build antlr3 m4 clang-12 lld-12 libidn11-dev libaio1 libaio-dev llvm-12 \
&& pip3 install conan==1.59 \
&& (V=4.8.1; curl -L https://github.com/ccache/ccache/releases/download/v${V}/ccache-${V}-linux-x86_64.tar.xz | \
tar -xJ -C /usr/local/bin/ --strip-components=1 --no-same-owner ccache-${V}-linux-x86_64/ccache)
|