-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.base
43 lines (38 loc) · 1.42 KB
/
Dockerfile.base
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
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright © 2025 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
# Matthias Kretz <m.kretz@gsi.de>
FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
RUN dpkg --add-architecture i386 && \
apt-get update && \
apt-get install -y --no-install-recommends \
software-properties-common \
wget \
curl \
ca-certificates \
gnupg \
lsb-release \
make \
cmake \
git \
zsh \
build-essential \
ninja-build \
python3 \
python3-pip && \
add-apt-repository -y ppa:ubuntu-toolchain-r/test && \
apt-get update && apt-get install -y --no-install-recommends \
gcc-13 g++-13 g++-13-multilib \
gcc-14 g++-14 g++-14-multilib \
file m4 libtool autoconf2.69 dwz gawk lzma xz-utils libzstd-dev zlib1g-dev systemtap-sdt-dev \
binutils:native binutils-hppa64-linux-gnu:native gperf bison flex gettext nvptx-tools amdgcn-tools-18 \
texinfo locales-all sharutils procps netbase libisl-dev libmpc-dev libmpfr-dev libgmp-dev lib32z1-dev libx32z1-dev \
libc6-dev-i386 linux-libc-dev:i386 coreutils chrpath time pkgconf && \
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 140 --slave /usr/bin/g++ g++ /usr/bin/g++-14 && \
wget https://apt.llvm.org/llvm.sh && \
chmod +x llvm.sh && \
./llvm.sh 20 && \
./llvm.sh 21 && \
rm llvm.sh && \
apt-get clean
CMD ["/bin/bash"]