-
Notifications
You must be signed in to change notification settings - Fork 5
/
Dockerfile
30 lines (23 loc) · 863 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
FROM ubuntu:24.04
LABEL maintainer="Michele Adduci <adduci@tutanota.com>" \
license="MIT"
WORKDIR /project
ARG DEB_COMPILERS="g++-12 g++-13 g++-14"
ARG EXTRA_CLANG_COMPILERS="17 18 19"
RUN echo "Installing required packages " \
&& export DEBIAN_FRONTEND=noninteractive \
&& apt-get update \
&& apt-get install -y \
wget \
gnupg2 \
lsb-release \
apt-utils \
software-properties-common \
&& apt-get autoremove --purge -y \
&& apt-get autoclean -y \
&& rm -rf /var/cache/apt/*
ADD install_compilers.sh /install_compilers.sh
RUN echo "Installing C++ Compilers" \
&& chmod +x /install_compilers.sh \
&& sh /install_compilers.sh "${DEB_COMPILERS}" "${EXTRA_CLANG_COMPILERS}"
ENTRYPOINT [ "/usr/bin/g++-13" ]