-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile.debian-10
40 lines (30 loc) · 1.17 KB
/
Dockerfile.debian-10
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
##
# A basic Debian "buster" build environment.
FROM debian:10 AS base
ENV DEBIAN_FRONTEND=noninteractive
ENV BUNDLE_SILENCE_ROOT_WARNING true
RUN apt-get update && \
apt-get install -y wget build-essential ninja-build zlib1g-dev
# python3.7 is the latest available version in the repo
RUN wget https://www.python.org/ftp/python/3.12.7/Python-3.12.7.tar.xz && \
tar -xf Python-3.12.7.tar.xz && \
cd Python-3.12.7 && \
./configure --enable-optimizations && \
make -j 4 && \
make install
ADD ./build-cmake.sh .
RUN ./build-cmake.sh
FROM base AS ruby
ENV PATH=/opt/ruby/bin:$PATH
ADD ./build-ruby.sh .
RUN ./build-ruby.sh
FROM base AS llvm
ADD ./build-llvm.sh .
RUN ./build-llvm.sh
FROM base AS build
ENV PATH=/opt/ruby/bin:$PATH
COPY --from=ruby /opt/ruby /opt/ruby
COPY --from=llvm /opt/llvm /opt/llvm
ENV LLVM_ROOT=/opt/llvm
RUN apt-get update && apt-get upgrade -y && \
apt-get install -y valgrind git clang zip gcovr pkg-config automake autopoint gettext libtool gperf xvfb libgtk-3-dev libpcre2-dev libxrandr-dev libxinerama-dev libxcursor-dev libxxf86vm-dev libglu1-mesa-dev libyaml-0-2 libncurses-dev libfontconfig1-dev libwebkit2gtk-4.0-dev libopenal-dev