File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change 1- FROM gcc:9.4 .0 AS builder
1+ FROM gcc:14.3 .0 AS builder
22
33LABEL maintainer=
"Free5GC <[email protected] >" 44
55ENV DEBIAN_FRONTEND=noninteractive
6+ ENV PATH="$PATH:/cmake/bin"
67
78ARG TARGET_ARCH=x86_64
89# TARGET_ARCH support : x86_64, aarch64(arm64)
910
1011# Install dependencies
1112RUN apt-get update \
12- && apt-get install libsctp-dev lksctp-tools iproute2 -y \
13- && wget https://github.com/Kitware/CMake/releases/download/v3.22.1/cmake-3.22.1-linux-${TARGET_ARCH}.sh -O cmake_installer.sh \
13+ && apt-get install libsctp-dev lksctp-tools iproute2 make -y \
14+ && mkdir /cmake \
15+ && cd /cmake \
16+ && wget https://github.com/Kitware/CMake/releases/download/v4.1.2/cmake-4.1.2-linux-${TARGET_ARCH}.sh -O cmake_installer.sh \
1417 && chmod +x cmake_installer.sh \
1518 && ./cmake_installer.sh --skip-license \
19+ && cd .. \
1620 && git clone -b master -j `nproc` https://github.com/aligungr/UERANSIM \
1721 && cd ./UERANSIM \
18- && make
22+ && make -j `nproc`
1923
20- FROM bitnami/minideb:bullseye
24+
25+ FROM bitnami/minideb:trixie
2126
2227ENV DEBIAN_FRONTEND=noninteractive
2328
@@ -29,6 +34,8 @@ RUN apt-get update \
2934WORKDIR /ueransim
3035
3136RUN mkdir -p config/ binder/
37+ RUN mkdir -p /etc/iproute2
38+ RUN touch /etc/iproute2/rt_tables
3239
3340COPY --from=builder /UERANSIM/build/nr-gnb .
3441COPY --from=builder /UERANSIM/build/nr-ue .
You can’t perform that action at this time.
0 commit comments