-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
50 lines (45 loc) · 1.07 KB
/
Dockerfile
File metadata and controls
50 lines (45 loc) · 1.07 KB
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
43
44
45
46
47
48
49
50
FROM ubuntu:24.04
ENV TZ=Europe/Istanbul
# Install sudo and other necessary packages
RUN ln -snf /usr/share/zoneinfo/"$TZ" /etc/localtime && echo "$TZ" > /etc/timezone && \
apt -y update && \
export DEBIAN_FRONTEND=noninteractive && \
apt -y install --no-install-recommends -y \
build-essential \
ca-certificates \
nodejs \
npm \
python3 \
python3-venv \
python3-virtualenv \
clangd \
cmake \
curl \
g++ \
gcc \
gdb \
gettext-base \
git \
gnupg \
lcov \
lldb \
lsb-release \
make \
ninja-build \
software-properties-common \
sudo \
wget && \
apt -y upgrade && \
apt autoclean -y && \
apt autoremove -y && \
rm -rf /var/lib/{cache,log}/ && \
rm -rf /tmp/* /var/tmp/* && \
rm -rf /usr/share/doc/ && \
rm -rf /usr/share/man/ && \
rm -rf /var/lib/apt/lists/*
# Set the working directory
WORKDIR /workspace
# Copy all source files needed to run the initialization
COPY bin /workspace/bin
# Run the initialization script
RUN ./bin/init.sh --init --lcov --setup