Correctly build AW2S in dockerfile
This commit is contained in:
@@ -34,8 +34,8 @@ COPY ./libori.so /usr/local/lib
|
|||||||
# build AW2S fronthaul lib
|
# build AW2S fronthaul lib
|
||||||
WORKDIR /oai-ran
|
WORKDIR /oai-ran
|
||||||
RUN /bin/sh oaienv && \
|
RUN /bin/sh oaienv && \
|
||||||
cd cmake_targets/ran_build/build && \
|
cd cmake_targets/ && \
|
||||||
ninja aw2sori_transpro
|
./build_oai -w AW2SORI -t Ethernet
|
||||||
|
|
||||||
#start from scratch for target executable
|
#start from scratch for target executable
|
||||||
FROM registry.access.redhat.com/ubi9/ubi:latest as oai-gnb-aw2s
|
FROM registry.access.redhat.com/ubi9/ubi:latest as oai-gnb-aw2s
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ COPY ./libori.so /usr/local/lib
|
|||||||
# build AW2S fronthaul lib
|
# build AW2S fronthaul lib
|
||||||
WORKDIR /oai-ran
|
WORKDIR /oai-ran
|
||||||
RUN /bin/sh oaienv && \
|
RUN /bin/sh oaienv && \
|
||||||
cd cmake_targets/ran_build/build && \
|
cd cmake_targets/ && \
|
||||||
ninja aw2sori_transpro
|
./build_oai -w AW2SORI -t Ethernet
|
||||||
|
|
||||||
#start from scratch for target executable
|
#start from scratch for target executable
|
||||||
FROM $BASE_IMAGE as oai-gnb-aw2s
|
FROM $BASE_IMAGE as oai-gnb-aw2s
|
||||||
|
|||||||
@@ -34,8 +34,8 @@ COPY ./libori.so /usr/local/lib/
|
|||||||
# build AW2S fronthaul lib
|
# build AW2S fronthaul lib
|
||||||
WORKDIR /oai-ran
|
WORKDIR /oai-ran
|
||||||
RUN /bin/sh oaienv && \
|
RUN /bin/sh oaienv && \
|
||||||
cd cmake_targets/ran_build/build && \
|
cd cmake_targets/ && \
|
||||||
ninja aw2sori_transpro
|
./build_oai -w AW2SORI -t Ethernet
|
||||||
|
|
||||||
#start from scratch for target executable
|
#start from scratch for target executable
|
||||||
FROM ubuntu:bionic as oai-gnb-aw2s
|
FROM ubuntu:bionic as oai-gnb-aw2s
|
||||||
|
|||||||
Reference in New Issue
Block a user