Files
DockerImages/Linux/BaseBuilder/Dockerfile
T
rboullard 4fe5e7e218
Docker Builders / build-base-builder (push) Successful in 25s
Docker Builders / build-cpp-builder (push) Successful in 6m33s
Inital commit
2026-08-17 01:01:44 +02:00

24 lines
566 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