-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile
42 lines (37 loc) · 974 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
FROM ubuntu:20.04
MAINTAINER Matt Godbolt <[email protected]>
ARG DEBIAN_FRONTEND=noninteractive
RUN apt update -y -q && apt upgrade -y -q && apt update -y -q && \
apt install -y -q \
bison \
build-essential \
bzip2 \
ca-certificates \
curl \
flex \
git \
libc6-dev-arm64-cross \
libc6-dev-armhf-cross \
libc6-dev-i386-cross \
libncurses-dev \
libtbb-dev \
libtinfo-dev \
linux-libc-dev \
m4 \
make \
ninja-build \
python3 \
python3-dev \
unzip \
xz-utils && \
cd /tmp && \
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
./aws/install && \
rm -rf aws*
WORKDIR /root
RUN curl -sL https://github.com/Kitware/CMake/releases/download/v3.23.5/cmake-3.23.5-Linux-x86_64.tar.gz | tar xzvf -
RUN ln -s /root/cmake-3.23.5-linux-x86_64/bin/cmake /bin/cmake
RUN mkdir -p /root
COPY build /root/
WORKDIR /root