Skip to content

Commit cc0f725

Browse files
Update Dockerfile
1 parent e3aa807 commit cc0f725

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed

Dockerfile

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,29 @@
11
# Base image
22
FROM ubuntu:22.04
33

4-
# Install build dependencies
5-
RUN apt-get update && apt-get install -y \
6-
python3 python3-pip meson ninja-build build-essential git curl \
7-
&& rm -rf /var/lib/apt/lists/*
4+
# Set environment variables to avoid interaction
5+
ENV DEBIAN_FRONTEND=noninteractive \
6+
TZ=UTC
7+
8+
# Install system dependencies and clean up
9+
RUN apt-get update && \
10+
apt-get install -y \
11+
build-essential \
12+
clang \
13+
gcc \
14+
g++ \
15+
gdb \
16+
llvm \
17+
libstdc++-10-dev \
18+
wget \
19+
python3 \
20+
python3-pip \
21+
git \
22+
tzdata && \
23+
apt-get clean && \
24+
rm -rf /var/lib/apt/lists/*
25+
26+
RUN python3 -m pip install --no-cache-dir meson==1.8.0 ninja==1.10.2
827

928
# Set workdir
1029
WORKDIR /app

0 commit comments

Comments
 (0)