Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-RAN
Commits
c9ee41b6
Commit
c9ee41b6
authored
Mar 27, 2024
by
sagar arora
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated target dockerfile
Signed-off-by:
sagar arora
<
sagar.arora@openairinterface.org
>
parent
ac1e59ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
32 deletions
+20
-32
docker/Dockerfile.fhi72.gNB.ubuntu22
docker/Dockerfile.fhi72.gNB.ubuntu22
+20
-32
No files found.
docker/Dockerfile.fhi72.gNB.ubuntu22
View file @
c9ee41b6
...
@@ -31,7 +31,7 @@ FROM ran-build:latest AS gnb-build
...
@@ -31,7 +31,7 @@ FROM ran-build:latest AS gnb-build
#start from scratch for target executable
#start from scratch for target executable
FROM ubuntu:
focal
as oai-gnb
FROM ubuntu:
jammy
as oai-gnb
ARG BUILD_OPTION
ARG BUILD_OPTION
ENV DEBIAN_FRONTEND=noninteractive
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe
ENV TZ=Europe
...
@@ -41,6 +41,7 @@ RUN apt-get update && \
...
@@ -41,6 +41,7 @@ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install --yes \
DEBIAN_FRONTEND=noninteractive apt-get install --yes \
software-properties-common \
software-properties-common \
procps \
procps \
pkg-config \
libsctp1 \
libsctp1 \
tzdata \
tzdata \
libblas3 \
libblas3 \
...
@@ -52,11 +53,13 @@ RUN apt-get update && \
...
@@ -52,11 +53,13 @@ RUN apt-get update && \
iproute2 \
iproute2 \
iputils-ping \
iputils-ping \
gdb \
gdb \
python \
pciutils \
libpcap-dev \
xz-utils \
libnuma-dev \
python3 \
python3 \
python3-six \
python3-six \
python3-requests \
python3-requests &&\
libusb-1.0-0 && \
# if the --sanitize option was used to build, additional packages are required
# if the --sanitize option was used to build, additional packages are required
/bin/bash -c 'if [[ "$BUILD_OPTION" = "--sanitize" ]]; then DEBIAN_FRONTEND=noninteractive apt-get install --yes \
/bin/bash -c 'if [[ "$BUILD_OPTION" = "--sanitize" ]]; then DEBIAN_FRONTEND=noninteractive apt-get install --yes \
libasan5 \
libasan5 \
...
@@ -70,9 +73,8 @@ COPY --from=gnb-build \
...
@@ -70,9 +73,8 @@ COPY --from=gnb-build \
COPY ./docker/scripts/gnb_entrypoint.sh ./entrypoint.sh
COPY ./docker/scripts/gnb_entrypoint.sh ./entrypoint.sh
COPY --from=gnb-build \
COPY --from=gnb-build \
/oai-ran/cmake_targets/ran_build/build/liboai_eth_transpro.so \
/oai-ran/cmake_targets/ran_build/build/librfsimulator.so \
/oai-ran/cmake_targets/ran_build/build/librfsimulator.so \
/oai-ran/cmake_targets/ran_build/build/liboai_
usrpdevif
.so \
/oai-ran/cmake_targets/ran_build/build/liboai_
transpro
.so \
/oai-ran/cmake_targets/ran_build/build/libcoding.so \
/oai-ran/cmake_targets/ran_build/build/libcoding.so \
/oai-ran/cmake_targets/ran_build/build/libparams_libconfig.so \
/oai-ran/cmake_targets/ran_build/build/libparams_libconfig.so \
/oai-ran/cmake_targets/ran_build/build/libdfts.so \
/oai-ran/cmake_targets/ran_build/build/libdfts.so \
...
@@ -81,38 +83,24 @@ COPY --from=gnb-build \
...
@@ -81,38 +83,24 @@ COPY --from=gnb-build \
/oai-ran/cmake_targets/ran_build/build/libtelnetsrv_ci.so \
/oai-ran/cmake_targets/ran_build/build/libtelnetsrv_ci.so \
/usr/local/lib/
/usr/local/lib/
## DPDK libraries
COPY --from=gnb-build \
/usr/local/lib/x86_64-linux-gnu/librte_timer.so.21 \
/usr/local/lib/x86_64-linux-gnu/librte_ethdev.so.2 \
/usr/local/lib/x86_64-linux-gnu/librte_net.so.21 \
/usr/local/lib/x86_64-linux-gnu/librte_eal.so.21 \
/usr/local/lib/x86_64-linux-gnu/librte_kvargs.so.21 \
/usr/local/lib/x86_64-linux-gnu/librte_telemetry.so.21 \
/usr/local/lib/x86_64-linux-gnu/librte_mbuf.so.21 \
/usr/local/lib/x86_64-linux-gnu/librte_mempool.so.21 \
/usr/local/lib/x86_64-linux-gnu/librte_ring.so.21 \
/usr/local/lib/x86_64-linux-gnu/librte_meter.so.21 \
/usr/local/lib/x86_64-linux-gnu/
## Libxran library
## Libxran library
COPY --from=gnb-build \
COPY --from=gnb-build \
/opt/phy/fhi_lib/lib/build/libxran.so \
/opt/phy/fhi_lib/lib/build/libxran.so \
/opt/phy/fhi_lib/lib/build/
/opt/phy/fhi_lib/lib/build/
#
Now we are copying from builder-image the UHD files.
#
# DPDK libraries
COPY --from=gnb-b
ase /usr/local/bin/uhd_find_devices /usr/local/bin
COPY --from=gnb-b
uild /usr/local/lib/x86_64-linux-gnu /usr/local/lib/x86_64-linux-gnu/
COPY --from=gnb-base /usr/local/lib/libuhd.so.4.4.0 /usr/local/lib
COPY --from=gnb-base /usr/local/lib/uhd/utils/uhd_images_downloader.py /opt/oai-gnb/bin
# Copying liboost files
COPY --from=gnb-base \
COPY --from=gnb-base \
/usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.7
1
.0 \
/usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.7
4
.0 \
/usr/lib/x86_64-linux-gnu/libboost_date_time.so.1.7
1
.0 \
/usr/lib/x86_64-linux-gnu/libboost_date_time.so.1.7
4
.0 \
/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.7
1
.0 \
/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.7
4
.0 \
/usr/lib/x86_64-linux-gnu/libboost_regex.so.1.7
1
.0 \
/usr/lib/x86_64-linux-gnu/libboost_regex.so.1.7
4
.0 \
/usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.7
1
.0 \
/usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.7
4
.0 \
/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.7
1
.0 \
/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.7
4
.0 \
/usr/lib/x86_64-linux-gnu/libboost_system.so.1.7
1
.0 \
/usr/lib/x86_64-linux-gnu/libboost_system.so.1.7
4
.0 \
/usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.7
1
.0 \
/usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.7
4
.0 \
/usr/lib/x86_64-linux-gnu/
/usr/lib/x86_64-linux-gnu/
RUN /bin/bash -c "ln -s /usr/local/lib/liboai_usrpdevif.so /usr/local/lib/liboai_device.so" && \
RUN /bin/bash -c "ln -s /usr/local/lib/liboai_usrpdevif.so /usr/local/lib/liboai_device.so" && \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment