Files
DockerImages/Linux/BaseBuilder/Dockerfile
Romain BOULLARD 974101c5a2
Some checks failed
Docker Builders / build-base-builder (push) Failing after 2m25s
Docker Builders / build-cpp-builder (push) Has been skipped
apt clean
2026-04-16 10:59:39 +02:00

26 lines
626 B
Docker

FROM ubuntu:24.04
# Set timezone, noninteractive mode, and pipx path
ENV TZ=Europe/Paris \
DEBIAN_FRONTEND=noninteractive \
PATH="/root/.local/bin:$PATH"
# Use build cache for ccache
RUN --mount=type=cache,target=/ccache
# Dummy sudo (no security weakening)
RUN echo '#!/bin/bash\n$@' > /usr/bin/sudo \
&& chmod +x /usr/bin/sudo
# Install base dependencies in one layer
RUN apt-get update && apt-get install -y \
unzip \
curl \
wget \
lsb-release \
software-properties-common \
gnupg \
python3 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*