Drop old OpenShift cluster files
This commit is contained in:
@@ -1,83 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Dockerfile for the Open-Air-Interface BUILD service
|
|
||||||
# Valid for RHEL7 in the OpenShift context (v4.4)
|
|
||||||
#
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
|
|
||||||
FROM image-registry.openshift-image-registry.svc:5000/oai/oai-ran:latest AS enb-build
|
|
||||||
|
|
||||||
|
|
||||||
WORKDIR /oai-enb
|
|
||||||
COPY . .
|
|
||||||
|
|
||||||
#run build_oai to build the target image
|
|
||||||
RUN /bin/sh oaienv && \
|
|
||||||
cd cmake_targets && \
|
|
||||||
mkdir -p log && \
|
|
||||||
./build_oai --eNB
|
|
||||||
|
|
||||||
|
|
||||||
#start from scratch for target executable
|
|
||||||
FROM registry.access.redhat.com/ubi7/ubi:latest as oai-enb
|
|
||||||
|
|
||||||
# Entitlements and RHSM configurations are Open-Shift Secret and ConfigMaps
|
|
||||||
# It is pre-requisite
|
|
||||||
RUN rm -Rf /etc/rhsm/ca /etc/pki/entitlement
|
|
||||||
# Copy the entitlements
|
|
||||||
COPY ./etc-pki-entitlement /etc/pki/entitlement
|
|
||||||
# Copy the subscription manager configurations
|
|
||||||
COPY ./rhsm-conf /etc/rhsm
|
|
||||||
COPY ./rhsm-ca /etc/rhsm/ca
|
|
||||||
|
|
||||||
|
|
||||||
#install developers pkg/repo
|
|
||||||
RUN rm /etc/rhsm-host && \
|
|
||||||
# Initialize /etc/yum.repos.d/redhat.repo
|
|
||||||
# See https://access.redhat.com/solutions/1443553
|
|
||||||
yum repolist --disablerepo=* && \
|
|
||||||
yum-config-manager --enable rhel-7-server-optional-rpms rhel-server-rhscl-7-rpms && \
|
|
||||||
yum update -y && \
|
|
||||||
yum install -y \
|
|
||||||
lksctp-tools \
|
|
||||||
protobuf-c \
|
|
||||||
nettle \
|
|
||||||
libyaml && \
|
|
||||||
echo "/usr/local/lib" > /etc/ld.so.conf.d/local-lib.conf
|
|
||||||
|
|
||||||
|
|
||||||
WORKDIR /opt/oai-enb/bin
|
|
||||||
COPY --from=enb-build /oai-enb/targets/bin/lte-softmodem.Rel15 .
|
|
||||||
|
|
||||||
RUN ldd lte-softmodem.Rel15
|
|
||||||
|
|
||||||
#EXPOSE 2152/udp # S1U, GTP/UDP
|
|
||||||
#EXPOSE 22100/tcp # ?
|
|
||||||
#EXPOSE 36412/udp # S1C, SCTP/UDP
|
|
||||||
#EXPOSE 36422/udp # X2C, SCTP/UDP
|
|
||||||
#EXPOSE 50000/udp # IF5 / ORI (control)
|
|
||||||
#EXPOSE 50001/udp # IF5 / ECPRI (data)
|
|
||||||
|
|
||||||
#CMD ["/opt/oai-enb/bin/lte-softmodem", "-O", "/opt/oai-enb/etc/enb.conf"]
|
|
||||||
#ENTRYPOINT ["/opt/oai-enb/bin/entrypoint.sh"]
|
|
||||||
|
|
||||||
@@ -1,124 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Dockerfile for the Open-Air-Interface BUILD service
|
|
||||||
# Valid for RHEL8 in the OpenShift context (v4.4)
|
|
||||||
#
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
|
|
||||||
FROM image-registry.openshift-image-registry.svc:5000/oai/oai-ran:rhel8-latest AS enb-build
|
|
||||||
|
|
||||||
|
|
||||||
WORKDIR /oai-ran
|
|
||||||
|
|
||||||
#run build_oai to build the target image
|
|
||||||
RUN /bin/sh oaienv && \
|
|
||||||
cd cmake_targets && \
|
|
||||||
rm -Rf log && \
|
|
||||||
mkdir -p log && \
|
|
||||||
./build_oai --eNB --ninja -w USRP
|
|
||||||
|
|
||||||
# debug
|
|
||||||
#RUN ldconfig -v && ldd /oai-ran/targets/bin/lte-softmodem.Rel15
|
|
||||||
#RUN ls -ls /oai-ran/targets/bin
|
|
||||||
#RUN ls -ls /oai-ran/cmake_targets/ran_build/build/*.so
|
|
||||||
|
|
||||||
#start from scratch for target executable
|
|
||||||
FROM registry.access.redhat.com/ubi8/ubi:latest as oai-enb
|
|
||||||
|
|
||||||
RUN yum update -y && \
|
|
||||||
yum install -y --enablerepo="ubi-8-codeready-builder" \
|
|
||||||
lksctp-tools \
|
|
||||||
nettle \
|
|
||||||
atlas \
|
|
||||||
net-tools \
|
|
||||||
iproute \
|
|
||||||
iputils \
|
|
||||||
libyaml && \
|
|
||||||
echo "/usr/local/lib" > /etc/ld.so.conf.d/local-lib.conf && \
|
|
||||||
echo "/usr/local/lib64" >> /etc/ld.so.conf.d/local-lib.conf
|
|
||||||
|
|
||||||
WORKDIR /opt/oai-enb/bin
|
|
||||||
COPY --from=enb-build /oai-ran/targets/bin/lte-softmodem.Rel15 .
|
|
||||||
|
|
||||||
WORKDIR /usr/local/lib/
|
|
||||||
COPY --from=enb-build /oai-ran/targets/bin/liboai_eth_transpro.so.Rel15 .
|
|
||||||
COPY --from=enb-build /oai-ran/targets/bin/librfsimulator.so.Rel15 .
|
|
||||||
COPY --from=enb-build /oai-ran/targets/bin/liboai_usrpdevif.so.Rel15 .
|
|
||||||
COPY --from=enb-build /oai-ran/targets/bin/libcoding.so .
|
|
||||||
COPY --from=enb-build /oai-ran/targets/bin/libparams_libconfig.so .
|
|
||||||
COPY --from=enb-build /oai-ran/cmake_targets/ran_build/build/libdfts.so .
|
|
||||||
COPY --from=enb-build /oai-ran/cmake_targets/ran_build/build/liboai_iqplayer.so .
|
|
||||||
RUN /bin/bash -c "ln -s /usr/local/lib/liboai_eth_transpro.so.Rel15 /usr/local/lib/liboai_transpro.so"
|
|
||||||
RUN /bin/bash -c "ln -s /usr/local/lib/liboai_usrpdevif.so.Rel15 /usr/local/lib/liboai_device.so"
|
|
||||||
RUN /bin/bash -c "ln -s /usr/local/lib/librfsimulator.so.Rel15 /usr/local/lib/librfsimulator.so"
|
|
||||||
|
|
||||||
COPY --from=enb-build /usr/local/lib/libprotobuf-c.so.1 .
|
|
||||||
|
|
||||||
COPY --from=enb-build /lib64/libconfig.so.9 /lib64
|
|
||||||
COPY --from=enb-build /lib64/libblas.so.3 /lib64
|
|
||||||
COPY --from=enb-build /lib64/liblapack.so.3 /lib64
|
|
||||||
COPY --from=enb-build /lib64/liblapacke.so.3 /lib64
|
|
||||||
COPY --from=enb-build /lib64/libboost_chrono.so.1.66.0 /lib64
|
|
||||||
COPY --from=enb-build /lib64/libboost_date_time.so.1.66.0 /lib64
|
|
||||||
COPY --from=enb-build /lib64/libboost_filesystem.so.1.66.0 /lib64
|
|
||||||
COPY --from=enb-build /lib64/libboost_program_options.so.1.66.0 /lib64
|
|
||||||
COPY --from=enb-build /lib64/libboost_serialization.so.1.66.0 /lib64
|
|
||||||
COPY --from=enb-build /lib64/libboost_thread.so.1.66.0 /lib64
|
|
||||||
COPY --from=enb-build /lib64/libboost_system.so.1.66.0 /lib64
|
|
||||||
COPY --from=enb-build /lib64/libboost_unit_test_framework.so.1.66.0 /lib64
|
|
||||||
COPY --from=enb-build /lib64/libboost_atomic.so.1.66.0 /lib64
|
|
||||||
COPY --from=enb-build /lib64/libboost_timer.so.1.66.0 /lib64
|
|
||||||
COPY --from=enb-build /usr/local/lib64/libuhd.so.4.0.0 /usr/local/lib64
|
|
||||||
|
|
||||||
RUN ldconfig
|
|
||||||
|
|
||||||
#debug
|
|
||||||
RUN ldd /usr/local/lib/liboai_eth_transpro.so.Rel15
|
|
||||||
RUN ldd /usr/local/lib/librfsimulator.so.Rel15
|
|
||||||
RUN ldd /usr/local/lib/liboai_usrpdevif.so.Rel15
|
|
||||||
RUN ldd /usr/local/lib/libcoding.so
|
|
||||||
RUN ldd /usr/local/lib/libparams_libconfig.so
|
|
||||||
RUN ldd /usr/local/lib/libdfts.so
|
|
||||||
RUN ldd /usr/local/lib/liboai_iqplayer.so
|
|
||||||
RUN ldd /opt/oai-enb/bin/lte-softmodem.Rel15
|
|
||||||
|
|
||||||
# Copy the relevant configuration files for eNB
|
|
||||||
WORKDIR /opt/oai-enb/etc
|
|
||||||
COPY --from=enb-build /oai-ran/ci-scripts/conf_files/enb.* .
|
|
||||||
COPY --from=enb-build /oai-ran/ci-scripts/conf_files/rcc.* .
|
|
||||||
COPY --from=enb-build /oai-ran/ci-scripts/conf_files/cu.* .
|
|
||||||
COPY --from=enb-build /oai-ran/ci-scripts/conf_files/du.* .
|
|
||||||
COPY --from=enb-build /oai-ran/ci-scripts/conf_files/rru.* .
|
|
||||||
|
|
||||||
WORKDIR /opt/oai-enb
|
|
||||||
|
|
||||||
#EXPOSE 2152/udp # S1U, GTP/UDP
|
|
||||||
#EXPOSE 22100/tcp # ?
|
|
||||||
#EXPOSE 36412/udp # S1C, SCTP/UDP
|
|
||||||
#EXPOSE 36422/udp # X2C, SCTP/UDP
|
|
||||||
#EXPOSE 50000/udp # IF5 / ORI (control)
|
|
||||||
#EXPOSE 50001/udp # IF5 / ECPRI (data)
|
|
||||||
|
|
||||||
#CMD ["/opt/oai-enb/bin/lte-softmodem", "-O", "/opt/oai-enb/etc/enb.conf"]
|
|
||||||
#ENTRYPOINT ["/opt/oai-enb/bin/entrypoint.sh"]
|
|
||||||
CMD ["sleep", "infinity"]
|
|
||||||
@@ -1,89 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Dockerfile for the Open-Air-Interface BUILD service
|
|
||||||
# Valid for RHEL7 in the OpenShift context (v4.4)
|
|
||||||
#
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
|
|
||||||
FROM image-registry.openshift-image-registry.svc:5000/oai/oai-ran:latest AS gnb-build
|
|
||||||
|
|
||||||
|
|
||||||
WORKDIR /oai-gnb
|
|
||||||
COPY . .
|
|
||||||
|
|
||||||
#run build_oai to build the target image
|
|
||||||
RUN /bin/sh oaienv && \
|
|
||||||
cd cmake_targets && \
|
|
||||||
mkdir -p log && \
|
|
||||||
./build_oai --gNB
|
|
||||||
|
|
||||||
|
|
||||||
#start from scratch for target executable
|
|
||||||
FROM registry.access.redhat.com/ubi7/ubi:latest as oai-gnb
|
|
||||||
|
|
||||||
# Entitlements and RHSM configurations are Open-Shift Secret and ConfigMaps
|
|
||||||
# It is pre-requisite
|
|
||||||
RUN rm -Rf /etc/rhsm/ca /etc/pki/entitlement
|
|
||||||
# Copy the entitlements
|
|
||||||
COPY ./etc-pki-entitlement /etc/pki/entitlement
|
|
||||||
# Copy the subscription manager configurations
|
|
||||||
COPY ./rhsm-conf /etc/rhsm
|
|
||||||
COPY ./rhsm-ca /etc/rhsm/ca
|
|
||||||
|
|
||||||
|
|
||||||
#install developers pkg/repo
|
|
||||||
RUN rm /etc/rhsm-host && \
|
|
||||||
# Initialize /etc/yum.repos.d/redhat.repo
|
|
||||||
# See https://access.redhat.com/solutions/1443553
|
|
||||||
yum repolist --disablerepo=* && \
|
|
||||||
yum-config-manager --enable rhel-7-server-optional-rpms rhel-server-rhscl-7-rpms && \
|
|
||||||
yum update -y && \
|
|
||||||
yum install -y \
|
|
||||||
libXpm \
|
|
||||||
libX11 \
|
|
||||||
atlas \
|
|
||||||
blas \
|
|
||||||
lapack \
|
|
||||||
lksctp-tools \
|
|
||||||
protobuf-c \
|
|
||||||
nettle \
|
|
||||||
libyaml && \
|
|
||||||
echo "/usr/local/lib" > /etc/ld.so.conf.d/local-lib.conf
|
|
||||||
|
|
||||||
WORKDIR /opt/oai-gnb/bin
|
|
||||||
COPY --from=gnb-build /oai-gnb/targets/bin/nr-softmodem.Rel15 .
|
|
||||||
WORKDIR /lib64
|
|
||||||
COPY --from=gnb-build /lib64/libforms.so.2 .
|
|
||||||
|
|
||||||
RUN ldd /opt/oai-gnb/bin/nr-softmodem.Rel15
|
|
||||||
|
|
||||||
#EXPOSE 2152/udp # S1U, GTP/UDP
|
|
||||||
#EXPOSE 22100/tcp # ?
|
|
||||||
#EXPOSE 36412/udp # S1C, SCTP/UDP
|
|
||||||
#EXPOSE 36422/udp # X2C, SCTP/UDP
|
|
||||||
#EXPOSE 50000/udp # IF5 / ORI (control)
|
|
||||||
#EXPOSE 50001/udp # IF5 / ECPRI (data)
|
|
||||||
|
|
||||||
#CMD ["/opt/oai-gnb/bin/nr-softmodem", "-O", "/opt/oai-gnb/etc/gnb.conf"]
|
|
||||||
#ENTRYPOINT ["/opt/oai-gnb/bin/entrypoint.sh"]
|
|
||||||
|
|
||||||
@@ -1,128 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Dockerfile for the Open-Air-Interface BUILD service
|
|
||||||
# Valid for RHEL8 in the OpenShift context (v4.4)
|
|
||||||
#
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
|
|
||||||
FROM image-registry.openshift-image-registry.svc:5000/oai/oai-ran:rhel8-latest AS gnb-build
|
|
||||||
|
|
||||||
|
|
||||||
WORKDIR /oai-ran
|
|
||||||
|
|
||||||
#run build_oai to build the target image
|
|
||||||
RUN /bin/sh oaienv && \
|
|
||||||
cd cmake_targets && \
|
|
||||||
rm -Rf log && \
|
|
||||||
mkdir -p log && \
|
|
||||||
./build_oai --gNB --ninja -w USRP
|
|
||||||
|
|
||||||
#debug
|
|
||||||
#RUN ldconfig -v
|
|
||||||
#RUN ldd /oai-ran/targets/bin/nr-softmodem.Rel15
|
|
||||||
#RUN ls -lst /oai-ran/targets/bin
|
|
||||||
#RUN ls -lst /oai-ran/cmake_targets/ran_build/build/*.so
|
|
||||||
|
|
||||||
#start from scratch for target executable
|
|
||||||
FROM registry.access.redhat.com/ubi8/ubi:latest as oai-gnb
|
|
||||||
|
|
||||||
RUN yum repolist --disablerepo=* && \
|
|
||||||
yum update -y && \
|
|
||||||
yum install -y --enablerepo="ubi-8-codeready-builder" \
|
|
||||||
libXpm \
|
|
||||||
libX11 \
|
|
||||||
atlas \
|
|
||||||
lksctp-tools \
|
|
||||||
nettle \
|
|
||||||
net-tools \
|
|
||||||
iputils \
|
|
||||||
libyaml && \
|
|
||||||
echo "/usr/local/lib" > /etc/ld.so.conf.d/local-lib.conf && \
|
|
||||||
echo "/usr/local/lib64" >> /etc/ld.so.conf.d/local-lib.conf
|
|
||||||
|
|
||||||
WORKDIR /opt/oai-gnb/bin
|
|
||||||
COPY --from=gnb-build /oai-ran/targets/bin/nr-softmodem.Rel15 .
|
|
||||||
|
|
||||||
WORKDIR /usr/local/lib/
|
|
||||||
COPY --from=gnb-build /oai-ran/targets/bin/liboai_eth_transpro.so.Rel15 .
|
|
||||||
COPY --from=gnb-build /oai-ran/targets/bin/librfsimulator.so.Rel15 .
|
|
||||||
COPY --from=gnb-build /oai-ran/targets/bin/liboai_usrpdevif.so.Rel15 .
|
|
||||||
COPY --from=gnb-build /oai-ran/targets/bin/libcoding.so .
|
|
||||||
COPY --from=gnb-build /oai-ran/targets/bin/libparams_libconfig.so .
|
|
||||||
COPY --from=gnb-build /oai-ran/cmake_targets/ran_build/build/libdfts.so .
|
|
||||||
COPY --from=gnb-build /oai-ran/cmake_targets/ran_build/build/libldpc.so .
|
|
||||||
COPY --from=gnb-build /oai-ran/cmake_targets/ran_build/build/libldpc_optim.so .
|
|
||||||
COPY --from=gnb-build /oai-ran/cmake_targets/ran_build/build/libldpc_optim8seg.so .
|
|
||||||
COPY --from=gnb-build /oai-ran/cmake_targets/ran_build/build/libldpc_orig.so .
|
|
||||||
|
|
||||||
RUN /bin/bash -c "ln -s /usr/local/lib/liboai_eth_transpro.so.Rel15 /usr/local/lib/liboai_transpro.so"
|
|
||||||
RUN /bin/bash -c "ln -s /usr/local/lib/liboai_usrpdevif.so.Rel15 /usr/local/lib/liboai_device.so"
|
|
||||||
RUN /bin/bash -c "ln -s /usr/local/lib/librfsimulator.so.Rel15 /usr/local/lib/librfsimulator.so"
|
|
||||||
COPY --from=gnb-build /usr/local/lib/libprotobuf-c.so.1 .
|
|
||||||
|
|
||||||
COPY --from=gnb-build /lib64/libconfig.so.9 /lib64
|
|
||||||
COPY --from=gnb-build /lib64/libforms.so.2 /lib64
|
|
||||||
COPY --from=gnb-build /lib64/libblas.so.3 /lib64
|
|
||||||
COPY --from=gnb-build /lib64/liblapack.so.3 /lib64
|
|
||||||
COPY --from=gnb-build /lib64/liblapacke.so.3 /lib64
|
|
||||||
COPY --from=gnb-build /lib64/libboost_chrono.so.1.66.0 /lib64
|
|
||||||
COPY --from=gnb-build /lib64/libboost_date_time.so.1.66.0 /lib64
|
|
||||||
COPY --from=gnb-build /lib64/libboost_filesystem.so.1.66.0 /lib64
|
|
||||||
COPY --from=gnb-build /lib64/libboost_program_options.so.1.66.0 /lib64
|
|
||||||
COPY --from=gnb-build /lib64/libboost_serialization.so.1.66.0 /lib64
|
|
||||||
COPY --from=gnb-build /lib64/libboost_thread.so.1.66.0 /lib64
|
|
||||||
COPY --from=gnb-build /lib64/libboost_system.so.1.66.0 /lib64
|
|
||||||
COPY --from=gnb-build /lib64/libboost_unit_test_framework.so.1.66.0 /lib64
|
|
||||||
COPY --from=gnb-build /lib64/libboost_atomic.so.1.66.0 /lib64
|
|
||||||
COPY --from=gnb-build /lib64/libboost_timer.so.1.66.0 /lib64
|
|
||||||
COPY --from=gnb-build /usr/local/lib64/libuhd.so.4.0.0 /usr/local/lib64
|
|
||||||
|
|
||||||
RUN ldconfig
|
|
||||||
#debug
|
|
||||||
RUN ldd /opt/oai-gnb/bin/nr-softmodem.Rel15
|
|
||||||
RUN ldd /usr/local/lib/liboai_eth_transpro.so.Rel15
|
|
||||||
RUN ldd /usr/local/lib/librfsimulator.so.Rel15
|
|
||||||
RUN ldd /usr/local/lib/liboai_usrpdevif.so.Rel15
|
|
||||||
RUN ldd /usr/local/lib/libcoding.so
|
|
||||||
RUN ldd /usr/local/lib/libparams_libconfig.so
|
|
||||||
RUN ldd /usr/local/lib/libdfts.so
|
|
||||||
RUN ldd /usr/local/lib/libldpc.so
|
|
||||||
RUN ldd /usr/local/lib/libldpc_optim.so
|
|
||||||
RUN ldd /usr/local/lib/libldpc_optim8seg.so
|
|
||||||
RUN ldd /usr/local/lib/libldpc_orig.so
|
|
||||||
|
|
||||||
# Copy the relevant configuration files for gNB
|
|
||||||
WORKDIR /opt/oai-gnb/etc
|
|
||||||
COPY --from=gnb-build /oai-ran/ci-scripts/conf_files/gnb.* .
|
|
||||||
|
|
||||||
WORKDIR /opt/oai-gnb
|
|
||||||
#EXPOSE 2152/udp # S1U, GTP/UDP
|
|
||||||
#EXPOSE 22100/tcp # ?
|
|
||||||
#EXPOSE 36412/udp # S1C, SCTP/UDP
|
|
||||||
#EXPOSE 36422/udp # X2C, SCTP/UDP
|
|
||||||
#EXPOSE 50000/udp # IF5 / ORI (control)
|
|
||||||
#EXPOSE 50001/udp # IF5 / ECPRI (data)
|
|
||||||
|
|
||||||
#CMD ["/opt/oai-gnb/bin/nr-softmodem", "-O", "/opt/oai-gnb/etc/gnb.conf"]
|
|
||||||
#ENTRYPOINT ["/opt/oai-gnb/bin/entrypoint.sh"]
|
|
||||||
CMD ["sleep", "infinity"]
|
|
||||||
@@ -1,122 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Dockerfile for the Open-Air-Interface BUILD service
|
|
||||||
# Valid for RHEL8 in the OpenShift context (v4.4)
|
|
||||||
#
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
|
|
||||||
FROM image-registry.openshift-image-registry.svc:5000/oai/oai-ran:rhel8-latest AS lte-ue-build
|
|
||||||
|
|
||||||
|
|
||||||
WORKDIR /oai-ran
|
|
||||||
|
|
||||||
#run build_oai to build the target image
|
|
||||||
RUN /bin/sh oaienv && \
|
|
||||||
cd cmake_targets && \
|
|
||||||
rm -Rf log && \
|
|
||||||
mkdir -p log && \
|
|
||||||
./build_oai --UE --ninja -w USRP
|
|
||||||
|
|
||||||
# debug
|
|
||||||
#RUN ldconfig -v && ldd /oai-ran/targets/bin/lte-uesoftmodem.Rel15
|
|
||||||
#RUN ls -lst /oai-ran/targets/bin
|
|
||||||
#RUN ls -lst /oai-ran/cmake_targets/ran_build/build/*.so
|
|
||||||
|
|
||||||
#start from scratch for target executable
|
|
||||||
FROM registry.access.redhat.com/ubi8/ubi:latest as oai-lte-ue
|
|
||||||
|
|
||||||
RUN yum update -y && \
|
|
||||||
yum install -y --enablerepo="ubi-8-codeready-builder" \
|
|
||||||
lksctp-tools \
|
|
||||||
nettle \
|
|
||||||
atlas \
|
|
||||||
iproute \
|
|
||||||
net-tools \
|
|
||||||
iputils \
|
|
||||||
libyaml && \
|
|
||||||
echo "/usr/local/lib" > /etc/ld.so.conf.d/local-lib.conf && \
|
|
||||||
echo "/usr/local/lib64" >> /etc/ld.so.conf.d/local-lib.conf
|
|
||||||
|
|
||||||
WORKDIR /opt/oai-lte-ue/bin
|
|
||||||
COPY --from=lte-ue-build /oai-ran/targets/bin/lte-uesoftmodem.Rel15 .
|
|
||||||
COPY --from=lte-ue-build /oai-ran/targets/bin/conf2uedata .
|
|
||||||
COPY --from=lte-ue-build /oai-ran/targets/bin/nvram .
|
|
||||||
COPY --from=lte-ue-build /oai-ran/targets/bin/usim .
|
|
||||||
COPY --from=lte-ue-build /oai-ran/targets/bin/.ue_emm.nvram0 .
|
|
||||||
COPY --from=lte-ue-build /oai-ran/targets/bin/.ue.nvram0 .
|
|
||||||
COPY --from=lte-ue-build /oai-ran/targets/bin/.usim.nvram0 .
|
|
||||||
|
|
||||||
WORKDIR /usr/local/lib/
|
|
||||||
COPY --from=lte-ue-build /oai-ran/targets/bin/liboai_eth_transpro.so.Rel15 .
|
|
||||||
COPY --from=lte-ue-build /oai-ran/targets/bin/librfsimulator.so.Rel15 .
|
|
||||||
COPY --from=lte-ue-build /oai-ran/targets/bin/liboai_usrpdevif.so.Rel15 .
|
|
||||||
COPY --from=lte-ue-build /oai-ran/targets/bin/libcoding.so .
|
|
||||||
COPY --from=lte-ue-build /oai-ran/targets/bin/libparams_libconfig.so .
|
|
||||||
COPY --from=lte-ue-build /oai-ran/cmake_targets/ran_build/build/libSIMU.so .
|
|
||||||
COPY --from=lte-ue-build /oai-ran/cmake_targets/ran_build/build/libdfts.so .
|
|
||||||
RUN /bin/bash -c "ln -s /usr/local/lib/liboai_eth_transpro.so.Rel15 /usr/local/lib/liboai_transpro.so"
|
|
||||||
RUN /bin/bash -c "ln -s /usr/local/lib/liboai_usrpdevif.so.Rel15 /usr/local/lib/liboai_device.so"
|
|
||||||
RUN /bin/bash -c "ln -s /usr/local/lib/librfsimulator.so.Rel15 /usr/local/lib/librfsimulator.so"
|
|
||||||
|
|
||||||
COPY --from=lte-ue-build /usr/local/lib/libprotobuf-c.so.1 .
|
|
||||||
|
|
||||||
COPY --from=lte-ue-build /lib64/libconfig.so.9 /lib64
|
|
||||||
COPY --from=lte-ue-build /lib64/libblas.so.3 /lib64
|
|
||||||
COPY --from=lte-ue-build /lib64/liblapack.so.3 /lib64
|
|
||||||
COPY --from=lte-ue-build /lib64/liblapacke.so.3 /lib64
|
|
||||||
COPY --from=lte-ue-build /lib64/libboost_chrono.so.1.66.0 /lib64
|
|
||||||
COPY --from=lte-ue-build /lib64/libboost_date_time.so.1.66.0 /lib64
|
|
||||||
COPY --from=lte-ue-build /lib64/libboost_filesystem.so.1.66.0 /lib64
|
|
||||||
COPY --from=lte-ue-build /lib64/libboost_program_options.so.1.66.0 /lib64
|
|
||||||
COPY --from=lte-ue-build /lib64/libboost_serialization.so.1.66.0 /lib64
|
|
||||||
COPY --from=lte-ue-build /lib64/libboost_thread.so.1.66.0 /lib64
|
|
||||||
COPY --from=lte-ue-build /lib64/libboost_system.so.1.66.0 /lib64
|
|
||||||
COPY --from=lte-ue-build /lib64/libboost_unit_test_framework.so.1.66.0 /lib64
|
|
||||||
COPY --from=lte-ue-build /lib64/libboost_atomic.so.1.66.0 /lib64
|
|
||||||
COPY --from=lte-ue-build /lib64/libboost_timer.so.1.66.0 /lib64
|
|
||||||
COPY --from=lte-ue-build /usr/local/lib64/libuhd.so.4.0.0 /usr/local/lib64
|
|
||||||
|
|
||||||
RUN ldconfig
|
|
||||||
|
|
||||||
#debug
|
|
||||||
RUN ldd /opt/oai-lte-ue/bin/lte-uesoftmodem.Rel15
|
|
||||||
RUN ldd /opt/oai-lte-ue/bin/conf2uedata
|
|
||||||
RUN ldd /opt/oai-lte-ue/bin/nvram
|
|
||||||
RUN ldd /opt/oai-lte-ue/bin/usim
|
|
||||||
RUN ldd /usr/local/lib/liboai_eth_transpro.so.Rel15
|
|
||||||
RUN ldd /usr/local/lib/librfsimulator.so.Rel15
|
|
||||||
RUN ldd /usr/local/lib/liboai_usrpdevif.so.Rel15
|
|
||||||
RUN ldd /usr/local/lib/libcoding.so
|
|
||||||
RUN ldd /usr/local/lib/libparams_libconfig.so
|
|
||||||
RUN ldd /usr/local/lib/libSIMU.so
|
|
||||||
RUN ldd /usr/local/lib/libdfts.so
|
|
||||||
|
|
||||||
# Copy the relevant configuration files for eNB
|
|
||||||
WORKDIR /opt/oai-lte-ue/etc
|
|
||||||
COPY --from=lte-ue-build /oai-ran/ci-scripts/conf_files/ue.* .
|
|
||||||
COPY --from=lte-ue-build /oai-ran/openair3/NAS/TOOLS/ue_eurecom_test_sfr.conf ./ue_usim.conf
|
|
||||||
|
|
||||||
WORKDIR /opt/oai-lte-ue
|
|
||||||
#CMD ["/opt/oai-lte-ue/bin/lte-uesoftmodem", "-O", "/opt/oai-lte-ue/etc/enb.conf"]
|
|
||||||
#ENTRYPOINT ["/opt/oai-lte-ue/bin/entrypoint.sh"]
|
|
||||||
CMD ["sleep", "infinity"]
|
|
||||||
@@ -1,119 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Dockerfile for the Open-Air-Interface BUILD service
|
|
||||||
# Valid for RHEL8 in the OpenShift context (v4.4)
|
|
||||||
#
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
|
|
||||||
FROM image-registry.openshift-image-registry.svc:5000/oai/oai-ran:rhel8-latest AS nr-ue-build
|
|
||||||
|
|
||||||
|
|
||||||
WORKDIR /oai-ran
|
|
||||||
|
|
||||||
#run build_oai to build the target image
|
|
||||||
RUN /bin/sh oaienv && \
|
|
||||||
cd cmake_targets && \
|
|
||||||
rm -Rf log && \
|
|
||||||
mkdir -p log && \
|
|
||||||
./build_oai --nrUE --ninja -w USRP
|
|
||||||
|
|
||||||
# debug
|
|
||||||
#RUN ldconfig -v
|
|
||||||
#RUN ldd /oai-ran/targets/bin/nr-uesoftmodem.Rel15
|
|
||||||
#RUN ls -lst /oai-ran/targets/bin
|
|
||||||
#RUN ls -lst /oai-ran/cmake_targets/ran_build/build/*.so
|
|
||||||
|
|
||||||
#start from scratch for target executable
|
|
||||||
FROM registry.access.redhat.com/ubi8/ubi:latest as oai-nr-ue
|
|
||||||
|
|
||||||
RUN yum update -y && \
|
|
||||||
yum install -y --enablerepo="ubi-8-codeready-builder" \
|
|
||||||
lksctp-tools \
|
|
||||||
nettle \
|
|
||||||
net-tools \
|
|
||||||
iputils \
|
|
||||||
atlas \
|
|
||||||
libXpm \
|
|
||||||
libX11 \
|
|
||||||
libyaml && \
|
|
||||||
echo "/usr/local/lib" > /etc/ld.so.conf.d/local-lib.conf && \
|
|
||||||
echo "/usr/local/lib64" >> /etc/ld.so.conf.d/local-lib.conf
|
|
||||||
|
|
||||||
WORKDIR /opt/oai-nr-ue/bin
|
|
||||||
COPY --from=nr-ue-build /oai-ran/targets/bin/nr-uesoftmodem.Rel15 .
|
|
||||||
|
|
||||||
WORKDIR /usr/local/lib/
|
|
||||||
COPY --from=nr-ue-build /oai-ran/targets/bin/liboai_eth_transpro.so.Rel15 .
|
|
||||||
COPY --from=nr-ue-build /oai-ran/targets/bin/librfsimulator.so.Rel15 .
|
|
||||||
COPY --from=nr-ue-build /oai-ran/targets/bin/liboai_usrpdevif.so.Rel15 .
|
|
||||||
COPY --from=nr-ue-build /oai-ran/targets/bin/libcoding.so .
|
|
||||||
COPY --from=nr-ue-build /oai-ran/targets/bin/libparams_libconfig.so .
|
|
||||||
COPY --from=nr-ue-build /oai-ran/cmake_targets/ran_build/build/libdfts.so .
|
|
||||||
COPY --from=nr-ue-build /oai-ran/cmake_targets/ran_build/build/libldpc.so .
|
|
||||||
COPY --from=nr-ue-build /oai-ran/cmake_targets/ran_build/build/libldpc_optim.so .
|
|
||||||
COPY --from=nr-ue-build /oai-ran/cmake_targets/ran_build/build/libldpc_optim8seg.so .
|
|
||||||
COPY --from=nr-ue-build /oai-ran/cmake_targets/ran_build/build/libldpc_orig.so .
|
|
||||||
RUN /bin/bash -c "ln -s /usr/local/lib/liboai_eth_transpro.so.Rel15 /usr/local/lib/liboai_transpro.so"
|
|
||||||
RUN /bin/bash -c "ln -s /usr/local/lib/liboai_usrpdevif.so.Rel15 /usr/local/lib/liboai_device.so"
|
|
||||||
RUN /bin/bash -c "ln -s /usr/local/lib/librfsimulator.so.Rel15 /usr/local/lib/librfsimulator.so"
|
|
||||||
|
|
||||||
COPY --from=nr-ue-build /usr/local/lib/libprotobuf-c.so.1 .
|
|
||||||
|
|
||||||
COPY --from=nr-ue-build /lib64/libconfig.so.9 /lib64
|
|
||||||
COPY --from=nr-ue-build /lib64/libblas.so.3 /lib64
|
|
||||||
COPY --from=nr-ue-build /lib64/liblapack.so.3 /lib64
|
|
||||||
COPY --from=nr-ue-build /lib64/liblapacke.so.3 /lib64
|
|
||||||
COPY --from=nr-ue-build /lib64/libforms.so.2 /lib64
|
|
||||||
COPY --from=nr-ue-build /lib64/libboost_chrono.so.1.66.0 /lib64
|
|
||||||
COPY --from=nr-ue-build /lib64/libboost_date_time.so.1.66.0 /lib64
|
|
||||||
COPY --from=nr-ue-build /lib64/libboost_filesystem.so.1.66.0 /lib64
|
|
||||||
COPY --from=nr-ue-build /lib64/libboost_program_options.so.1.66.0 /lib64
|
|
||||||
COPY --from=nr-ue-build /lib64/libboost_serialization.so.1.66.0 /lib64
|
|
||||||
COPY --from=nr-ue-build /lib64/libboost_thread.so.1.66.0 /lib64
|
|
||||||
COPY --from=nr-ue-build /lib64/libboost_system.so.1.66.0 /lib64
|
|
||||||
COPY --from=nr-ue-build /lib64/libboost_unit_test_framework.so.1.66.0 /lib64
|
|
||||||
COPY --from=nr-ue-build /lib64/libboost_atomic.so.1.66.0 /lib64
|
|
||||||
COPY --from=nr-ue-build /lib64/libboost_timer.so.1.66.0 /lib64
|
|
||||||
COPY --from=nr-ue-build /usr/local/lib64/libuhd.so.4.0.0 /usr/local/lib64
|
|
||||||
|
|
||||||
RUN ldconfig
|
|
||||||
RUN ldd /opt/oai-nr-ue/bin/nr-uesoftmodem.Rel15
|
|
||||||
RUN ldd /usr/local/lib/liboai_eth_transpro.so.Rel15
|
|
||||||
RUN ldd /usr/local/lib/librfsimulator.so.Rel15
|
|
||||||
RUN ldd /usr/local/lib/liboai_usrpdevif.so.Rel15
|
|
||||||
RUN ldd /usr/local/lib/libcoding.so
|
|
||||||
RUN ldd /usr/local/lib/libparams_libconfig.so
|
|
||||||
RUN ldd /usr/local/lib/libdfts.so
|
|
||||||
RUN ldd /usr/local/lib/libldpc.so
|
|
||||||
RUN ldd /usr/local/lib/libldpc_optim.so
|
|
||||||
RUN ldd /usr/local/lib/libldpc_optim8seg.so
|
|
||||||
RUN ldd /usr/local/lib/libldpc_orig.so
|
|
||||||
|
|
||||||
# Copy the relevant configuration files for eNB
|
|
||||||
WORKDIR /opt/oai-nr-ue/etc
|
|
||||||
COPY --from=nr-ue-build /oai-ran/ci-scripts/conf_files/ue.* .
|
|
||||||
|
|
||||||
WORKDIR /opt/oai-nr-ue
|
|
||||||
#CMD ["/opt/oai-nr-ue/bin/nr-uesoftmodem", "-O", "/opt/oai-nr-ue/etc/enb.conf"]
|
|
||||||
#ENTRYPOINT ["/opt/oai-nr-ue/bin/entrypoint.sh"]
|
|
||||||
CMD ["sleep", "infinity"]
|
|
||||||
@@ -1,74 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Dockerfile for the Open-Air-Interface BUILD service
|
|
||||||
# Valid for RHEL7 in the OpenShift context (v4.4)
|
|
||||||
#
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
FROM registry.access.redhat.com/ubi7/ubi:latest AS ran-base
|
|
||||||
|
|
||||||
# Entitlements and RHSM configurations are Open-Shift Secret and ConfigMaps
|
|
||||||
# It is pre-requisite
|
|
||||||
RUN rm -Rf /etc/rhsm/ca /etc/pki/entitlement
|
|
||||||
# Copy the entitlements
|
|
||||||
COPY ./etc-pki-entitlement /etc/pki/entitlement
|
|
||||||
# Copy the subscription manager configurations
|
|
||||||
COPY ./rhsm-conf /etc/rhsm
|
|
||||||
COPY ./rhsm-ca /etc/rhsm/ca
|
|
||||||
|
|
||||||
|
|
||||||
#install developers pkg/repo
|
|
||||||
RUN rm /etc/rhsm-host && \
|
|
||||||
# Initialize /etc/yum.repos.d/redhat.repo
|
|
||||||
# See https://access.redhat.com/solutions/1443553
|
|
||||||
yum repolist --disablerepo=* && \
|
|
||||||
yum-config-manager --enable rhel-7-server-optional-rpms rhel-server-rhscl-7-rpms && \
|
|
||||||
yum update -y && \
|
|
||||||
yum install -y \
|
|
||||||
#gcc needed for build_oai
|
|
||||||
gcc gcc-c++ \
|
|
||||||
diffutils \
|
|
||||||
file \
|
|
||||||
psmisc \
|
|
||||||
git \
|
|
||||||
#unzip is needed for protobuf
|
|
||||||
unzip && \
|
|
||||||
echo "/usr/local/lib" > /etc/ld.so.conf.d/local-lib.conf
|
|
||||||
|
|
||||||
# In some network environments, GIT proxy is required
|
|
||||||
RUN /bin/bash -c "if [[ -v NEEDED_GIT_PROXY ]]; then git config --global http.proxy $NEEDED_GIT_PROXY; fi"
|
|
||||||
|
|
||||||
#create the WORKDIR
|
|
||||||
WORKDIR /oai-ran
|
|
||||||
COPY . .
|
|
||||||
|
|
||||||
#run build_oai -I to get the builder image
|
|
||||||
RUN /bin/sh oaienv && \
|
|
||||||
cd cmake_targets && \
|
|
||||||
mkdir -p log && \
|
|
||||||
./build_oai -I
|
|
||||||
|
|
||||||
#as the image is public, we need to remove the subscription manager configurations
|
|
||||||
#RUN rm -Rf /etc/rhsm /etc/pki/entitlement
|
|
||||||
|
|
||||||
@@ -1,74 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Dockerfile for the Open-Air-Interface BUILD service
|
|
||||||
# Valid for RHEL8 in the OpenShift context (v4.4)
|
|
||||||
#
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
FROM registry.access.redhat.com/ubi8/ubi:latest AS ran-base
|
|
||||||
|
|
||||||
# Entitlements and RHSM configurations are Open-Shift Secret and ConfigMaps
|
|
||||||
# It is pre-requisite
|
|
||||||
RUN rm -Rf /etc/rhsm/ca /etc/pki/entitlement
|
|
||||||
# Copy the entitlements
|
|
||||||
COPY ./etc-pki-entitlement /etc/pki/entitlement
|
|
||||||
# Copy the subscription manager configurations
|
|
||||||
COPY ./rhsm-conf /etc/rhsm
|
|
||||||
COPY ./rhsm-ca /etc/rhsm/ca
|
|
||||||
|
|
||||||
#install developers pkg/repo
|
|
||||||
RUN rm /etc/rhsm-host && \
|
|
||||||
# Initialize /etc/yum.repos.d/redhat.repo
|
|
||||||
# See https://access.redhat.com/solutions/1443553
|
|
||||||
yum repolist --disablerepo=* && \
|
|
||||||
subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms && \
|
|
||||||
yum update -y && \
|
|
||||||
yum install -y \
|
|
||||||
#gcc needed for build_oai
|
|
||||||
gcc gcc-c++ \
|
|
||||||
diffutils \
|
|
||||||
file \
|
|
||||||
psmisc \
|
|
||||||
git \
|
|
||||||
#unzip is needed for protobuf
|
|
||||||
unzip && \
|
|
||||||
echo "/usr/local/lib" > /etc/ld.so.conf.d/local-lib.conf && \
|
|
||||||
echo "/usr/local/lib64" >> /etc/ld.so.conf.d/local-lib.conf
|
|
||||||
|
|
||||||
# In some network environments, GIT proxy is required
|
|
||||||
RUN /bin/bash -c "if [[ -v NEEDED_GIT_PROXY ]]; then git config --global http.proxy $NEEDED_GIT_PROXY; fi"
|
|
||||||
|
|
||||||
#create the WORKDIR
|
|
||||||
WORKDIR /oai-ran
|
|
||||||
COPY . .
|
|
||||||
|
|
||||||
#run build_oai -I to get the builder image
|
|
||||||
RUN /bin/sh oaienv && \
|
|
||||||
cd cmake_targets && \
|
|
||||||
mkdir -p log && \
|
|
||||||
./build_oai -I -w USRP
|
|
||||||
|
|
||||||
#as the image is public, we need to remove the subscription certificates
|
|
||||||
RUN rm -Rf /etc/pki/entitlement/*.pem
|
|
||||||
|
|
||||||
+1
-3
@@ -78,9 +78,7 @@ The currently-supported OS are:
|
|||||||
|
|
||||||
The currently-supported cluster version is:
|
The currently-supported cluster version is:
|
||||||
|
|
||||||
- `rhel8.2.oc4-4`
|
- `rhel8.2.oc4-9`
|
||||||
|
|
||||||
We have also `rhel7.oc4-4` support but it will be discontinued soon.
|
|
||||||
|
|
||||||
For more details in build within a Openshift Cluster, see [OpenShift README](../openshift/README.md) for more details.
|
For more details in build within a Openshift Cluster, see [OpenShift README](../openshift/README.md) for more details.
|
||||||
|
|
||||||
|
|||||||
@@ -1,55 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
kind: BuildConfig
|
|
||||||
apiVersion: build.openshift.io/v1
|
|
||||||
metadata:
|
|
||||||
name: "oai-enb-build-config"
|
|
||||||
spec:
|
|
||||||
runPolicy: "Serial"
|
|
||||||
source:
|
|
||||||
#still needed for the target image
|
|
||||||
git:
|
|
||||||
uri: "https://gitlab.eurecom.fr/oai/openairinterface5g.git"
|
|
||||||
ref: "develop"
|
|
||||||
httpProxy: http://proxy.eurecom.fr:8080
|
|
||||||
httpsProxy: https://proxy.eurecom.fr:8080
|
|
||||||
secrets:
|
|
||||||
- secret:
|
|
||||||
name: etc-pki-entitlement
|
|
||||||
destinationDir: etc-pki-entitlement
|
|
||||||
configMaps:
|
|
||||||
- configMap:
|
|
||||||
name: rhsm-conf
|
|
||||||
destinationDir: rhsm-conf
|
|
||||||
- configMap:
|
|
||||||
name: rhsm-ca
|
|
||||||
destinationDir: rhsm-ca
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
#using both builder image and target image docker
|
|
||||||
dockerStrategy:
|
|
||||||
dockerfilePath: "docker/Dockerfile.eNB.rhel7.oc4-4"
|
|
||||||
output:
|
|
||||||
to:
|
|
||||||
kind: "ImageStreamTag"
|
|
||||||
name: "oai-enb:latest"
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ImageStream
|
|
||||||
metadata:
|
|
||||||
name: oai-enb
|
|
||||||
namespace: oai
|
|
||||||
status:
|
|
||||||
tag: latest
|
|
||||||
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
kind: BuildConfig
|
|
||||||
apiVersion: build.openshift.io/v1
|
|
||||||
metadata:
|
|
||||||
name: "oai-enb-rh8-build-config"
|
|
||||||
spec:
|
|
||||||
runPolicy: "Serial"
|
|
||||||
source:
|
|
||||||
#still needed for the target image
|
|
||||||
git:
|
|
||||||
uri: "https://gitlab.eurecom.fr/oai/openairinterface5g.git"
|
|
||||||
ref: "develop"
|
|
||||||
httpProxy: http://proxy.eurecom.fr:8080
|
|
||||||
httpsProxy: https://proxy.eurecom.fr:8080
|
|
||||||
strategy:
|
|
||||||
#using both builder image and target image docker
|
|
||||||
dockerStrategy:
|
|
||||||
dockerfilePath: "docker/Dockerfile.eNB.rhel8.2.oc4-4"
|
|
||||||
nodeSelector:
|
|
||||||
kubernetes.io/hostname: dedale.5glab.nsa.eurecom.fr
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
ephemeral-storage: "8Gi"
|
|
||||||
output:
|
|
||||||
to:
|
|
||||||
kind: "ImageStreamTag"
|
|
||||||
name: "oai-enb:rhel8-latest"
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
kind: BuildConfig
|
|
||||||
apiVersion: build.openshift.io/v1
|
|
||||||
metadata:
|
|
||||||
name: "oai-gnb-build-config"
|
|
||||||
spec:
|
|
||||||
runPolicy: "Serial"
|
|
||||||
source:
|
|
||||||
#still needed for the target image
|
|
||||||
git:
|
|
||||||
uri: "https://gitlab.eurecom.fr/oai/openairinterface5g.git"
|
|
||||||
ref: "develop"
|
|
||||||
httpProxy: http://proxy.eurecom.fr:8080
|
|
||||||
httpsProxy: https://proxy.eurecom.fr:8080
|
|
||||||
secrets:
|
|
||||||
- secret:
|
|
||||||
name: etc-pki-entitlement
|
|
||||||
destinationDir: etc-pki-entitlement
|
|
||||||
configMaps:
|
|
||||||
- configMap:
|
|
||||||
name: rhsm-conf
|
|
||||||
destinationDir: rhsm-conf
|
|
||||||
- configMap:
|
|
||||||
name: rhsm-ca
|
|
||||||
destinationDir: rhsm-ca
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
#using both builder image and target image docker
|
|
||||||
dockerStrategy:
|
|
||||||
dockerfilePath: "docker/Dockerfile.gNB.rhel7.oc4-4"
|
|
||||||
output:
|
|
||||||
to:
|
|
||||||
kind: "ImageStreamTag"
|
|
||||||
name: "oai-gnb:latest"
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ImageStream
|
|
||||||
metadata:
|
|
||||||
name: oai-gnb
|
|
||||||
namespace: oai
|
|
||||||
status:
|
|
||||||
tag: latest
|
|
||||||
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
kind: BuildConfig
|
|
||||||
apiVersion: build.openshift.io/v1
|
|
||||||
metadata:
|
|
||||||
name: "oai-gnb-rh8-build-config"
|
|
||||||
spec:
|
|
||||||
runPolicy: "Serial"
|
|
||||||
source:
|
|
||||||
#still needed for the target image
|
|
||||||
git:
|
|
||||||
uri: "https://gitlab.eurecom.fr/oai/openairinterface5g.git"
|
|
||||||
ref: "develop"
|
|
||||||
httpProxy: http://proxy.eurecom.fr:8080
|
|
||||||
httpsProxy: https://proxy.eurecom.fr:8080
|
|
||||||
strategy:
|
|
||||||
#using both builder image and target image docker
|
|
||||||
dockerStrategy:
|
|
||||||
dockerfilePath: "docker/Dockerfile.gNB.rhel8.2.oc4-4"
|
|
||||||
nodeSelector:
|
|
||||||
kubernetes.io/hostname: dedale.5glab.nsa.eurecom.fr
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
ephemeral-storage: "15Gi"
|
|
||||||
output:
|
|
||||||
to:
|
|
||||||
kind: "ImageStreamTag"
|
|
||||||
name: "oai-gnb:rhel8-latest"
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ImageStream
|
|
||||||
metadata:
|
|
||||||
name: oai-gnb
|
|
||||||
namespace: oai
|
|
||||||
status:
|
|
||||||
tag: rhel8-latest
|
|
||||||
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
kind: BuildConfig
|
|
||||||
apiVersion: build.openshift.io/v1
|
|
||||||
metadata:
|
|
||||||
name: "oai-lte-ue-rh8-build-config"
|
|
||||||
spec:
|
|
||||||
runPolicy: "Serial"
|
|
||||||
source:
|
|
||||||
#still needed for the target image
|
|
||||||
git:
|
|
||||||
uri: "https://gitlab.eurecom.fr/oai/openairinterface5g.git"
|
|
||||||
ref: "develop"
|
|
||||||
httpProxy: http://proxy.eurecom.fr:8080
|
|
||||||
httpsProxy: https://proxy.eurecom.fr:8080
|
|
||||||
strategy:
|
|
||||||
#using both builder image and target image docker
|
|
||||||
dockerStrategy:
|
|
||||||
dockerfilePath: "docker/Dockerfile.lteUE.rhel8.2.oc4-4"
|
|
||||||
nodeSelector:
|
|
||||||
kubernetes.io/hostname: dedale.5glab.nsa.eurecom.fr
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
ephemeral-storage: "8Gi"
|
|
||||||
output:
|
|
||||||
to:
|
|
||||||
kind: "ImageStreamTag"
|
|
||||||
name: "oai-lte-ue:rhel8-latest"
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ImageStream
|
|
||||||
metadata:
|
|
||||||
name: oai-lte-ue
|
|
||||||
namespace: oai
|
|
||||||
status:
|
|
||||||
tag: rhel8-latest
|
|
||||||
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
kind: BuildConfig
|
|
||||||
apiVersion: build.openshift.io/v1
|
|
||||||
metadata:
|
|
||||||
name: "oai-nr-ue-rh8-build-config"
|
|
||||||
spec:
|
|
||||||
runPolicy: "Serial"
|
|
||||||
source:
|
|
||||||
#still needed for the target image
|
|
||||||
git:
|
|
||||||
uri: "https://gitlab.eurecom.fr/oai/openairinterface5g.git"
|
|
||||||
ref: "develop"
|
|
||||||
httpProxy: http://proxy.eurecom.fr:8080
|
|
||||||
httpsProxy: https://proxy.eurecom.fr:8080
|
|
||||||
strategy:
|
|
||||||
#using both builder image and target image docker
|
|
||||||
dockerStrategy:
|
|
||||||
dockerfilePath: "docker/Dockerfile.nrUE.rhel8.2.oc4-4"
|
|
||||||
nodeSelector:
|
|
||||||
kubernetes.io/hostname: dedale.5glab.nsa.eurecom.fr
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
ephemeral-storage: "8Gi"
|
|
||||||
output:
|
|
||||||
to:
|
|
||||||
kind: "ImageStreamTag"
|
|
||||||
name: "oai-nr-ue:rhel8-latest"
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ImageStream
|
|
||||||
metadata:
|
|
||||||
name: oai-nr-ue
|
|
||||||
namespace: oai
|
|
||||||
status:
|
|
||||||
tag: rhel8-latest
|
|
||||||
|
|
||||||
@@ -1,52 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
kind: BuildConfig
|
|
||||||
apiVersion: build.openshift.io/v1
|
|
||||||
metadata:
|
|
||||||
name: "oai-ran-build-config"
|
|
||||||
spec:
|
|
||||||
runPolicy: "Serial"
|
|
||||||
source:
|
|
||||||
git:
|
|
||||||
uri: "https://gitlab.eurecom.fr/oai/openairinterface5g.git"
|
|
||||||
ref: "develop"
|
|
||||||
httpProxy: http://proxy.eurecom.fr:8080
|
|
||||||
httpsProxy: https://proxy.eurecom.fr:8080
|
|
||||||
secrets:
|
|
||||||
- secret:
|
|
||||||
name: etc-pki-entitlement
|
|
||||||
destinationDir: etc-pki-entitlement
|
|
||||||
configMaps:
|
|
||||||
- configMap:
|
|
||||||
name: rhsm-conf
|
|
||||||
destinationDir: rhsm-conf
|
|
||||||
- configMap:
|
|
||||||
name: rhsm-ca
|
|
||||||
destinationDir: rhsm-ca
|
|
||||||
strategy:
|
|
||||||
dockerStrategy:
|
|
||||||
dockerfilePath: "docker/Dockerfile.ran.rhel7.oc4-4"
|
|
||||||
output:
|
|
||||||
to:
|
|
||||||
kind: "ImageStreamTag"
|
|
||||||
name: "oai-ran:latest"
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ImageStream
|
|
||||||
metadata:
|
|
||||||
name: oai-ran
|
|
||||||
namespace: oai
|
|
||||||
status:
|
|
||||||
tag: latest
|
|
||||||
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
#/*
|
|
||||||
# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
||||||
# * contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# * this work for additional information regarding copyright ownership.
|
|
||||||
# * The OpenAirInterface Software Alliance licenses this file to You under
|
|
||||||
# * the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
||||||
# * except in compliance with the License.
|
|
||||||
# * You may obtain a copy of the License at
|
|
||||||
# *
|
|
||||||
# * http://www.openairinterface.org/?page_id=698
|
|
||||||
# *
|
|
||||||
# * Unless required by applicable law or agreed to in writing, software
|
|
||||||
# * distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# * See the License for the specific language governing permissions and
|
|
||||||
# * limitations under the License.
|
|
||||||
# *-------------------------------------------------------------------------------
|
|
||||||
# * For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
||||||
# * contact@openairinterface.org
|
|
||||||
# */
|
|
||||||
#---------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
kind: BuildConfig
|
|
||||||
apiVersion: build.openshift.io/v1
|
|
||||||
metadata:
|
|
||||||
name: "oai-ran-rhel8-build-config"
|
|
||||||
spec:
|
|
||||||
runPolicy: "Serial"
|
|
||||||
source:
|
|
||||||
git:
|
|
||||||
uri: "https://gitlab.eurecom.fr/oai/openairinterface5g.git"
|
|
||||||
ref: "develop"
|
|
||||||
httpProxy: http://proxy.eurecom.fr:8080
|
|
||||||
httpsProxy: https://proxy.eurecom.fr:8080
|
|
||||||
secrets:
|
|
||||||
- secret:
|
|
||||||
name: etc-pki-entitlement
|
|
||||||
destinationDir: etc-pki-entitlement
|
|
||||||
configMaps:
|
|
||||||
- configMap:
|
|
||||||
name: rhsm-conf
|
|
||||||
destinationDir: rhsm-conf
|
|
||||||
- configMap:
|
|
||||||
name: rhsm-ca
|
|
||||||
destinationDir: rhsm-ca
|
|
||||||
strategy:
|
|
||||||
dockerStrategy:
|
|
||||||
dockerfilePath: "docker/Dockerfile.ran.rhel8.2.oc4-4"
|
|
||||||
nodeSelector:
|
|
||||||
kubernetes.io/hostname: dedale.5glab.nsa.eurecom.fr
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
ephemeral-storage: "5Gi"
|
|
||||||
output:
|
|
||||||
to:
|
|
||||||
kind: "ImageStreamTag"
|
|
||||||
name: "oai-ran:rhel8-latest"
|
|
||||||
Reference in New Issue
Block a user