Skip to content

Commit b7bf0ff

Browse files
committed
fixng ubuntu 24.04 package
1 parent 01d78e6 commit b7bf0ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@ FROM ubuntu:24.04
33

44
LABEL maintainer="Behnam Asadi <behnam.asadi@gmail.com>"
55

6-
76
# this is for timezone config
87
ENV DEBIAN_FRONTEND=noninteractive
98
ENV TZ=Europe/Berlin
109
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
1110

12-
#-y is for accepting yes when the system asked us for installing the package
11+
# Install required packages with better error handling
1312
RUN apt-get update && apt-get install -y \
14-
git \
13+
git \
1514
cmake \
1615
ninja-build \
1716
doxygen \
1817
build-essential \
1918
graphviz \
19+
&& apt-get clean \
2020
&& rm -rf /var/lib/apt/lists/*
2121

2222

0 commit comments

Comments
 (0)