Commit b90a4691 authored by Robert Schmidt's avatar Robert Schmidt

Correctly build AW2S in dockerfile

parent 4db08dc6
...@@ -34,8 +34,8 @@ COPY ./libori.so /usr/local/lib ...@@ -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 ...@@ -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/ ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment