Merge remote-tracking branch 'origin/ci-update-images-rhel9' into integration_2023_w23_ci
This commit is contained in:
+17
-17
@@ -266,7 +266,7 @@ class Cluster:
|
|||||||
if self.ranAllowMerge: # merging MR branch into develop -> temporary image
|
if self.ranAllowMerge: # merging MR branch into develop -> temporary image
|
||||||
imageTag = f'{self.ranBranch}-{self.ranCommitID[0:8]}'
|
imageTag = f'{self.ranBranch}-{self.ranCommitID[0:8]}'
|
||||||
if self.ranTargetBranch == 'develop':
|
if self.ranTargetBranch == 'develop':
|
||||||
ret = self.cmd.run(f'git diff HEAD..origin/develop -- cmake_targets/build_oai cmake_targets/tools/build_helper docker/Dockerfile.base.rhel8.2 | grep --colour=never -i INDEX')
|
ret = self.cmd.run(f'git diff HEAD..origin/develop -- cmake_targets/build_oai cmake_targets/tools/build_helper docker/Dockerfile.base.rhel9 | grep --colour=never -i INDEX')
|
||||||
result = re.search('index', ret.stdout)
|
result = re.search('index', ret.stdout)
|
||||||
if result is not None:
|
if result is not None:
|
||||||
forceBaseImageBuild = True
|
forceBaseImageBuild = True
|
||||||
@@ -306,7 +306,7 @@ class Cluster:
|
|||||||
self._recreate_bc('ran-base', baseTag, 'openshift/ran-base-bc.yaml')
|
self._recreate_bc('ran-base', baseTag, 'openshift/ran-base-bc.yaml')
|
||||||
ranbase_job = self._start_build('ran-base')
|
ranbase_job = self._start_build('ran-base')
|
||||||
attemptedImages += ['ran-base']
|
attemptedImages += ['ran-base']
|
||||||
status = ranbase_job is not None and self._wait_build_end([ranbase_job], 600)
|
status = ranbase_job is not None and self._wait_build_end([ranbase_job], 800)
|
||||||
if not status: logging.error('failure during build of ran-base')
|
if not status: logging.error('failure during build of ran-base')
|
||||||
self.cmd.run(f'oc logs {ranbase_job} &> cmake_targets/log/ran-base.log') # cannot use cmd.run because of redirect
|
self.cmd.run(f'oc logs {ranbase_job} &> cmake_targets/log/ran-base.log') # cannot use cmd.run because of redirect
|
||||||
# recover logs by mounting image
|
# recover logs by mounting image
|
||||||
@@ -322,19 +322,19 @@ class Cluster:
|
|||||||
if status:
|
if status:
|
||||||
self._recreate_is_tag('oai-physim', imageTag, 'openshift/oai-physim-is.yaml')
|
self._recreate_is_tag('oai-physim', imageTag, 'openshift/oai-physim-is.yaml')
|
||||||
self._recreate_bc('oai-physim', imageTag, 'openshift/oai-physim-bc.yaml')
|
self._recreate_bc('oai-physim', imageTag, 'openshift/oai-physim-bc.yaml')
|
||||||
self._retag_image_statement('ran-base', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-base', baseTag, 'docker/Dockerfile.phySim.rhel8.2')
|
self._retag_image_statement('ran-base', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-base', baseTag, 'docker/Dockerfile.phySim.rhel9')
|
||||||
physim_job = self._start_build('oai-physim')
|
physim_job = self._start_build('oai-physim')
|
||||||
attemptedImages += ['oai-physim']
|
attemptedImages += ['oai-physim']
|
||||||
|
|
||||||
self._recreate_is_tag('ran-build', imageTag, 'openshift/ran-build-is.yaml')
|
self._recreate_is_tag('ran-build', imageTag, 'openshift/ran-build-is.yaml')
|
||||||
self._recreate_bc('ran-build', imageTag, 'openshift/ran-build-bc.yaml')
|
self._recreate_bc('ran-build', imageTag, 'openshift/ran-build-bc.yaml')
|
||||||
self._retag_image_statement('ran-base', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-base', baseTag, 'docker/Dockerfile.build.rhel8.2')
|
self._retag_image_statement('ran-base', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-base', baseTag, 'docker/Dockerfile.build.rhel9')
|
||||||
ranbuild_job = self._start_build('ran-build')
|
ranbuild_job = self._start_build('ran-build')
|
||||||
attemptedImages += ['ran-build']
|
attemptedImages += ['ran-build']
|
||||||
|
|
||||||
self._recreate_is_tag('oai-clang', imageTag, 'openshift/oai-clang-is.yaml')
|
self._recreate_is_tag('oai-clang', imageTag, 'openshift/oai-clang-is.yaml')
|
||||||
self._recreate_bc('oai-clang', imageTag, 'openshift/oai-clang-bc.yaml')
|
self._recreate_bc('oai-clang', imageTag, 'openshift/oai-clang-bc.yaml')
|
||||||
self._retag_image_statement('ran-base', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-base', baseTag, 'docker/Dockerfile.clang.rhel8.2')
|
self._retag_image_statement('ran-base', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-base', baseTag, 'docker/Dockerfile.clang.rhel9')
|
||||||
clang_job = self._start_build('oai-clang')
|
clang_job = self._start_build('oai-clang')
|
||||||
attemptedImages += ['oai-clang']
|
attemptedImages += ['oai-clang']
|
||||||
|
|
||||||
@@ -349,22 +349,22 @@ class Cluster:
|
|||||||
if status:
|
if status:
|
||||||
self._recreate_is_tag('oai-enb', imageTag, 'openshift/oai-enb-is.yaml')
|
self._recreate_is_tag('oai-enb', imageTag, 'openshift/oai-enb-is.yaml')
|
||||||
self._recreate_bc('oai-enb', imageTag, 'openshift/oai-enb-bc.yaml')
|
self._recreate_bc('oai-enb', imageTag, 'openshift/oai-enb-bc.yaml')
|
||||||
self._retag_image_statement('ran-base', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-base', baseTag, 'docker/Dockerfile.eNB.rhel8.2')
|
self._retag_image_statement('ran-base', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-base', baseTag, 'docker/Dockerfile.eNB.rhel9')
|
||||||
self._retag_image_statement('ran-build', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-build', imageTag, 'docker/Dockerfile.eNB.rhel8.2')
|
self._retag_image_statement('ran-build', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-build', imageTag, 'docker/Dockerfile.eNB.rhel9')
|
||||||
enb_job = self._start_build('oai-enb')
|
enb_job = self._start_build('oai-enb')
|
||||||
attemptedImages += ['oai-enb']
|
attemptedImages += ['oai-enb']
|
||||||
|
|
||||||
self._recreate_is_tag('oai-gnb', imageTag, 'openshift/oai-gnb-is.yaml')
|
self._recreate_is_tag('oai-gnb', imageTag, 'openshift/oai-gnb-is.yaml')
|
||||||
self._recreate_bc('oai-gnb', imageTag, 'openshift/oai-gnb-bc.yaml')
|
self._recreate_bc('oai-gnb', imageTag, 'openshift/oai-gnb-bc.yaml')
|
||||||
self._retag_image_statement('ran-base', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-base', baseTag, 'docker/Dockerfile.gNB.rhel8.2')
|
self._retag_image_statement('ran-base', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-base', baseTag, 'docker/Dockerfile.gNB.rhel9')
|
||||||
self._retag_image_statement('ran-build', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-build', imageTag, 'docker/Dockerfile.gNB.rhel8.2')
|
self._retag_image_statement('ran-build', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-build', imageTag, 'docker/Dockerfile.gNB.rhel9')
|
||||||
gnb_job = self._start_build('oai-gnb')
|
gnb_job = self._start_build('oai-gnb')
|
||||||
attemptedImages += ['oai-gnb']
|
attemptedImages += ['oai-gnb']
|
||||||
|
|
||||||
self._recreate_is_tag('oai-gnb-aw2s', imageTag, 'openshift/oai-gnb-aw2s-is.yaml')
|
self._recreate_is_tag('oai-gnb-aw2s', imageTag, 'openshift/oai-gnb-aw2s-is.yaml')
|
||||||
self._recreate_bc('oai-gnb-aw2s', imageTag, 'openshift/oai-gnb-aw2s-bc.yaml')
|
self._recreate_bc('oai-gnb-aw2s', imageTag, 'openshift/oai-gnb-aw2s-bc.yaml')
|
||||||
self._retag_image_statement('ran-base', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-base', baseTag, 'docker/Dockerfile.gNB.aw2s.rhel8.2')
|
self._retag_image_statement('ran-base', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-base', baseTag, 'docker/Dockerfile.gNB.aw2s.rhel9')
|
||||||
self._retag_image_statement('ran-build', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-build', imageTag, 'docker/Dockerfile.gNB.aw2s.rhel8.2')
|
self._retag_image_statement('ran-build', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-build', imageTag, 'docker/Dockerfile.gNB.aw2s.rhel9')
|
||||||
gnb_aw2s_job = self._start_build('oai-gnb-aw2s')
|
gnb_aw2s_job = self._start_build('oai-gnb-aw2s')
|
||||||
attemptedImages += ['oai-gnb-aw2s']
|
attemptedImages += ['oai-gnb-aw2s']
|
||||||
|
|
||||||
@@ -378,22 +378,22 @@ class Cluster:
|
|||||||
|
|
||||||
self._recreate_is_tag('oai-nr-cuup', imageTag, 'openshift/oai-nr-cuup-is.yaml')
|
self._recreate_is_tag('oai-nr-cuup', imageTag, 'openshift/oai-nr-cuup-is.yaml')
|
||||||
self._recreate_bc('oai-nr-cuup', imageTag, 'openshift/oai-nr-cuup-bc.yaml')
|
self._recreate_bc('oai-nr-cuup', imageTag, 'openshift/oai-nr-cuup-bc.yaml')
|
||||||
self._retag_image_statement('ran-base', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-base', baseTag, 'docker/Dockerfile.nr-cuup.rhel8.2')
|
self._retag_image_statement('ran-base', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-base', baseTag, 'docker/Dockerfile.nr-cuup.rhel9')
|
||||||
self._retag_image_statement('ran-build', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-build', imageTag, 'docker/Dockerfile.nr-cuup.rhel8.2')
|
self._retag_image_statement('ran-build', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-build', imageTag, 'docker/Dockerfile.nr-cuup.rhel9')
|
||||||
nr_cuup_job = self._start_build('oai-nr-cuup')
|
nr_cuup_job = self._start_build('oai-nr-cuup')
|
||||||
attemptedImages += ['oai-nr-cuup']
|
attemptedImages += ['oai-nr-cuup']
|
||||||
|
|
||||||
self._recreate_is_tag('oai-lte-ue', imageTag, 'openshift/oai-lte-ue-is.yaml')
|
self._recreate_is_tag('oai-lte-ue', imageTag, 'openshift/oai-lte-ue-is.yaml')
|
||||||
self._recreate_bc('oai-lte-ue', imageTag, 'openshift/oai-lte-ue-bc.yaml')
|
self._recreate_bc('oai-lte-ue', imageTag, 'openshift/oai-lte-ue-bc.yaml')
|
||||||
self._retag_image_statement('ran-base', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-base', baseTag, 'docker/Dockerfile.lteUE.rhel8.2')
|
self._retag_image_statement('ran-base', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-base', baseTag, 'docker/Dockerfile.lteUE.rhel9')
|
||||||
self._retag_image_statement('ran-build', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-build', imageTag, 'docker/Dockerfile.lteUE.rhel8.2')
|
self._retag_image_statement('ran-build', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-build', imageTag, 'docker/Dockerfile.lteUE.rhel9')
|
||||||
lteue_job = self._start_build('oai-lte-ue')
|
lteue_job = self._start_build('oai-lte-ue')
|
||||||
attemptedImages += ['oai-lte-ue']
|
attemptedImages += ['oai-lte-ue']
|
||||||
|
|
||||||
self._recreate_is_tag('oai-nr-ue', imageTag, 'openshift/oai-nr-ue-is.yaml')
|
self._recreate_is_tag('oai-nr-ue', imageTag, 'openshift/oai-nr-ue-is.yaml')
|
||||||
self._recreate_bc('oai-nr-ue', imageTag, 'openshift/oai-nr-ue-bc.yaml')
|
self._recreate_bc('oai-nr-ue', imageTag, 'openshift/oai-nr-ue-bc.yaml')
|
||||||
self._retag_image_statement('ran-base', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-base', baseTag, 'docker/Dockerfile.nrUE.rhel8.2')
|
self._retag_image_statement('ran-base', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-base', baseTag, 'docker/Dockerfile.nrUE.rhel9')
|
||||||
self._retag_image_statement('ran-build', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-build', imageTag, 'docker/Dockerfile.nrUE.rhel8.2')
|
self._retag_image_statement('ran-build', 'image-registry.openshift-image-registry.svc:5000/oaicicd-ran/ran-build', imageTag, 'docker/Dockerfile.nrUE.rhel9')
|
||||||
nrue_job = self._start_build('oai-nr-ue')
|
nrue_job = self._start_build('oai-nr-ue')
|
||||||
attemptedImages += ['oai-nr-ue']
|
attemptedImages += ['oai-nr-ue']
|
||||||
|
|
||||||
|
|||||||
@@ -358,7 +358,7 @@ class Containerize():
|
|||||||
self.cliBuildOptions = '--no-cache'
|
self.cliBuildOptions = '--no-cache'
|
||||||
elif self.host == 'Red Hat':
|
elif self.host == 'Red Hat':
|
||||||
self.cli = 'sudo podman'
|
self.cli = 'sudo podman'
|
||||||
self.dockerfileprefix = '.rhel8.2'
|
self.dockerfileprefix = '.rhel9'
|
||||||
self.cliBuildOptions = '--no-cache --disable-compression'
|
self.cliBuildOptions = '--no-cache --disable-compression'
|
||||||
|
|
||||||
# we always build the ran-build image with all targets
|
# we always build the ran-build image with all targets
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ OS_DISTRO=$(grep "^ID=" /etc/os-release | sed "s/ID=//" | sed "s/\"//g")
|
|||||||
OS_RELEASE=$(grep "^VERSION_ID=" /etc/os-release | sed "s/VERSION_ID=//" | sed "s/\"//g")
|
OS_RELEASE=$(grep "^VERSION_ID=" /etc/os-release | sed "s/VERSION_ID=//" | sed "s/\"//g")
|
||||||
case "$OS_DISTRO" in
|
case "$OS_DISTRO" in
|
||||||
fedora) OS_BASEDISTRO="fedora"; INSTALLER="dnf"; CMAKE="cmake" ;;
|
fedora) OS_BASEDISTRO="fedora"; INSTALLER="dnf"; CMAKE="cmake" ;;
|
||||||
rhel) OS_BASEDISTRO="fedora"; INSTALLER="yum"; CMAKE="cmake3" ;;
|
rhel) OS_BASEDISTRO="fedora"; INSTALLER="dnf"; CMAKE="cmake" ;;
|
||||||
rocky) OS_BASEDISTRO="fedora"; INSTALLER="dnf"; CMAKE="cmake" ;;
|
rocky) OS_BASEDISTRO="fedora"; INSTALLER="dnf"; CMAKE="cmake" ;;
|
||||||
centos) OS_BASEDISTRO="centos"; INSTALLER="yum"; CMAKE="cmake3" ;;
|
centos) OS_BASEDISTRO="centos"; INSTALLER="yum"; CMAKE="cmake3" ;;
|
||||||
debian) OS_BASEDISTRO="debian"; INSTALLER="apt-get"; CMAKE="cmake" ;;
|
debian) OS_BASEDISTRO="debian"; INSTALLER="apt-get"; CMAKE="cmake" ;;
|
||||||
@@ -629,6 +629,7 @@ check_install_oai_software() {
|
|||||||
libtool \
|
libtool \
|
||||||
patch \
|
patch \
|
||||||
openssl \
|
openssl \
|
||||||
|
zlib1g-dev \
|
||||||
xxd
|
xxd
|
||||||
|
|
||||||
elif [[ "$OS_BASEDISTRO" == "fedora" ]]; then
|
elif [[ "$OS_BASEDISTRO" == "fedora" ]]; then
|
||||||
@@ -637,7 +638,7 @@ check_install_oai_software() {
|
|||||||
echo "EPEL repos already present. Good."
|
echo "EPEL repos already present. Good."
|
||||||
else
|
else
|
||||||
echo "EPEL repos not present. Installing them."
|
echo "EPEL repos not present. Installing them."
|
||||||
$SUDO $INSTALLER install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
|
$SUDO $INSTALLER install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -666,7 +667,8 @@ check_install_oai_software() {
|
|||||||
lapack-devel \
|
lapack-devel \
|
||||||
blas \
|
blas \
|
||||||
blas-devel \
|
blas-devel \
|
||||||
vim-common
|
vim-common \
|
||||||
|
zlib-devel
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install_asn1c_from_source $1
|
install_asn1c_from_source $1
|
||||||
|
|||||||
@@ -21,12 +21,12 @@
|
|||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Dockerfile for the Open-Air-Interface BUILD service
|
# Dockerfile for the Open-Air-Interface BUILD service
|
||||||
# Valid for RHEL8
|
# Valid for RHEL9
|
||||||
#
|
#
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
FROM registry.access.redhat.com/ubi8/ubi:latest AS ran-base
|
FROM registry.access.redhat.com/ubi9/ubi:latest AS ran-base
|
||||||
ARG NEEDED_GIT_PROXY
|
ARG NEEDED_GIT_PROXY
|
||||||
ENV TZ=Europe/Paris
|
ENV TZ=Europe/Paris
|
||||||
ENV BUILD_UHD_FROM_SOURCE=True
|
ENV BUILD_UHD_FROM_SOURCE=True
|
||||||
@@ -39,12 +39,13 @@ COPY ./etc-pki-entitlement /etc/pki/entitlement
|
|||||||
COPY ./rhsm-conf /etc/rhsm
|
COPY ./rhsm-conf /etc/rhsm
|
||||||
COPY ./rhsm-ca /etc/rhsm/ca
|
COPY ./rhsm-ca /etc/rhsm/ca
|
||||||
|
|
||||||
|
ENV SMDEV_CONTAINER_OFF=1
|
||||||
#install developers pkg/repo
|
#install developers pkg/repo
|
||||||
RUN rm -f /etc/rhsm-host && \
|
RUN rm -f /etc/rhsm-host && \
|
||||||
yum repolist --disablerepo=* && \
|
subscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpms && \
|
||||||
subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms && \
|
dnf update -y && \
|
||||||
yum update -y && \
|
cat /etc/os-release && \
|
||||||
yum install -y \
|
dnf install -y \
|
||||||
#gcc needed for build_oai
|
#gcc needed for build_oai
|
||||||
gcc gcc-c++ \
|
gcc gcc-c++ \
|
||||||
diffutils \
|
diffutils \
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Dockerfile for the Open-Air-Interface BUILD service
|
# Dockerfile for the Open-Air-Interface BUILD service
|
||||||
# Valid for RHEL8
|
# Valid for RHEL9
|
||||||
#
|
#
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Dockerfile for the Open-Air-Interface BUILD service
|
# Dockerfile for the Open-Air-Interface BUILD service
|
||||||
# Valid for RHEL8
|
# Valid for RHEL9
|
||||||
#
|
#
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ WORKDIR /oai-ran
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
#only install LLVM (clang, ...) for this container, the others don't need it
|
#only install LLVM (clang, ...) for this container, the others don't need it
|
||||||
RUN yum install -y llvm-toolset
|
RUN dnf install -y llvm-toolset
|
||||||
|
|
||||||
#run build_oai to build the target image
|
#run build_oai to build the target image
|
||||||
RUN /bin/sh oaienv && \
|
RUN /bin/sh oaienv && \
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Dockerfile for the Open-Air-Interface BUILD service
|
# Dockerfile for the Open-Air-Interface BUILD service
|
||||||
# Valid for RHEL8
|
# Valid for RHEL9
|
||||||
#
|
#
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -33,11 +33,11 @@ RUN python3 ./docker/scripts/generateTemplate.py ./docker/scripts/enb_parameters
|
|||||||
cp /oai-ran/docker/scripts/enb_entrypoint.sh /oai-ran/docker/scripts/entrypoint.sh
|
cp /oai-ran/docker/scripts/enb_entrypoint.sh /oai-ran/docker/scripts/entrypoint.sh
|
||||||
|
|
||||||
#start from scratch for target executable
|
#start from scratch for target executable
|
||||||
FROM registry.access.redhat.com/ubi8/ubi:latest as oai-enb
|
FROM registry.access.redhat.com/ubi9/ubi:latest as oai-enb
|
||||||
ENV TZ=Europe/Paris
|
ENV TZ=Europe/Paris
|
||||||
|
|
||||||
RUN yum update -y && \
|
RUN dnf update -y && \
|
||||||
yum install -y --enablerepo="ubi-8-codeready-builder" \
|
dnf install -y \
|
||||||
lksctp-tools \
|
lksctp-tools \
|
||||||
tzdata \
|
tzdata \
|
||||||
procps-ng \
|
procps-ng \
|
||||||
@@ -72,24 +72,24 @@ COPY --from=enb-build \
|
|||||||
/usr/local/lib/
|
/usr/local/lib/
|
||||||
|
|
||||||
COPY --from=enb-base \
|
COPY --from=enb-base \
|
||||||
/lib64/libconfig.so.9 \
|
/lib64/libconfig.so.11 \
|
||||||
/lib64/libblas.so.3 \
|
/lib64/libblas.so.3 \
|
||||||
/lib64/liblapack.so.3 \
|
/lib64/liblapack.so.3 \
|
||||||
/lib64/liblapacke.so.3 \
|
/lib64/liblapacke.so.3 \
|
||||||
/lib64/libboost_chrono.so.1.66.0 \
|
/lib64/libboost_chrono.so.1.75.0 \
|
||||||
/lib64/libboost_date_time.so.1.66.0 \
|
/lib64/libboost_date_time.so.1.75.0 \
|
||||||
/lib64/libboost_filesystem.so.1.66.0 \
|
/lib64/libboost_filesystem.so.1.75.0 \
|
||||||
/lib64/libboost_program_options.so.1.66.0 \
|
/lib64/libboost_program_options.so.1.75.0 \
|
||||||
/lib64/libboost_serialization.so.1.66.0 \
|
/lib64/libboost_serialization.so.1.75.0 \
|
||||||
/lib64/libboost_thread.so.1.66.0 \
|
/lib64/libboost_thread.so.1.75.0 \
|
||||||
/lib64/libboost_system.so.1.66.0 \
|
/lib64/libboost_system.so.1.75.0 \
|
||||||
/lib64/libboost_unit_test_framework.so.1.66.0 \
|
/lib64/libboost_unit_test_framework.so.1.75.0 \
|
||||||
/lib64/libboost_atomic.so.1.66.0 \
|
/lib64/libboost_atomic.so.1.75.0 \
|
||||||
/lib64/libboost_timer.so.1.66.0 \
|
/lib64/libboost_timer.so.1.75.0 \
|
||||||
/lib64/libboost_regex.so.1.66.0 \
|
/lib64/libboost_regex.so.1.75.0 \
|
||||||
/lib64/libicudata.so.60 \
|
/lib64/libicudata.so.67 \
|
||||||
/lib64/libicui18n.so.60 \
|
/lib64/libicui18n.so.67 \
|
||||||
/lib64/libicuuc.so.60 \
|
/lib64/libicuuc.so.67 \
|
||||||
/lib64/
|
/lib64/
|
||||||
|
|
||||||
|
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Dockerfile for the Open-Air-Interface BUILD service
|
# Dockerfile for the Open-Air-Interface BUILD service
|
||||||
# Valid for RHEL8
|
# Valid for RHEL9
|
||||||
#
|
#
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -38,12 +38,11 @@ RUN /bin/sh oaienv && \
|
|||||||
ninja aw2sori_transpro
|
ninja aw2sori_transpro
|
||||||
|
|
||||||
#start from scratch for target executable
|
#start from scratch for target executable
|
||||||
FROM registry.access.redhat.com/ubi8/ubi:latest as oai-gnb-aw2s
|
FROM registry.access.redhat.com/ubi9/ubi:latest as oai-gnb-aw2s
|
||||||
ENV TZ=Europe/Paris
|
ENV TZ=Europe/Paris
|
||||||
|
|
||||||
RUN yum repolist --disablerepo=* && \
|
RUN dnf update -y && \
|
||||||
yum update -y && \
|
dnf install -y \
|
||||||
yum install -y --enablerepo="ubi-8-codeready-builder" \
|
|
||||||
procps-ng \
|
procps-ng \
|
||||||
libXpm \
|
libXpm \
|
||||||
libX11 \
|
libX11 \
|
||||||
@@ -76,7 +75,7 @@ COPY --from=gnb-build \
|
|||||||
/usr/local/lib/
|
/usr/local/lib/
|
||||||
|
|
||||||
COPY --from=gnb-base \
|
COPY --from=gnb-base \
|
||||||
/lib64/libconfig.so.9 \
|
/lib64/libconfig.so.11 \
|
||||||
/lib64/libforms.so.2 \
|
/lib64/libforms.so.2 \
|
||||||
/lib64/libblas.so.3 \
|
/lib64/libblas.so.3 \
|
||||||
/lib64/liblapack.so.3 \
|
/lib64/liblapack.so.3 \
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Dockerfile for the Open-Air-Interface BUILD service
|
# Dockerfile for the Open-Air-Interface BUILD service
|
||||||
# Valid for RHEL8
|
# Valid for RHEL9
|
||||||
#
|
#
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -33,12 +33,11 @@ RUN python3 ./docker/scripts/generateTemplate.py ./docker/scripts/gnb_parameters
|
|||||||
cp /oai-ran/docker/scripts/gnb_entrypoint.sh /oai-ran/docker/scripts/entrypoint.sh
|
cp /oai-ran/docker/scripts/gnb_entrypoint.sh /oai-ran/docker/scripts/entrypoint.sh
|
||||||
|
|
||||||
#start from scratch for target executable
|
#start from scratch for target executable
|
||||||
FROM registry.access.redhat.com/ubi8/ubi:latest as oai-gnb
|
FROM registry.access.redhat.com/ubi9/ubi:latest as oai-gnb
|
||||||
ENV TZ=Europe/Paris
|
ENV TZ=Europe/Paris
|
||||||
|
|
||||||
RUN yum repolist --disablerepo=* && \
|
RUN dnf update -y && \
|
||||||
yum update -y && \
|
dnf install -y \
|
||||||
yum install -y --enablerepo="ubi-8-codeready-builder" \
|
|
||||||
procps-ng \
|
procps-ng \
|
||||||
libXpm \
|
libXpm \
|
||||||
libX11 \
|
libX11 \
|
||||||
@@ -77,25 +76,25 @@ COPY --from=gnb-build \
|
|||||||
/usr/local/lib/
|
/usr/local/lib/
|
||||||
|
|
||||||
COPY --from=gnb-base \
|
COPY --from=gnb-base \
|
||||||
/lib64/libconfig.so.9 \
|
/lib64/libconfig.so.11 \
|
||||||
/lib64/libforms.so.2 \
|
/lib64/libforms.so.2 \
|
||||||
/lib64/libblas.so.3 \
|
/lib64/libblas.so.3 \
|
||||||
/lib64/liblapack.so.3 \
|
/lib64/liblapack.so.3 \
|
||||||
/lib64/liblapacke.so.3 \
|
/lib64/liblapacke.so.3 \
|
||||||
/lib64/libboost_chrono.so.1.66.0 \
|
/lib64/libboost_chrono.so.1.75.0 \
|
||||||
/lib64/libboost_date_time.so.1.66.0 \
|
/lib64/libboost_date_time.so.1.75.0 \
|
||||||
/lib64/libboost_filesystem.so.1.66.0 \
|
/lib64/libboost_filesystem.so.1.75.0 \
|
||||||
/lib64/libboost_program_options.so.1.66.0 \
|
/lib64/libboost_program_options.so.1.75.0 \
|
||||||
/lib64/libboost_serialization.so.1.66.0 \
|
/lib64/libboost_serialization.so.1.75.0 \
|
||||||
/lib64/libboost_thread.so.1.66.0 \
|
/lib64/libboost_thread.so.1.75.0 \
|
||||||
/lib64/libboost_system.so.1.66.0 \
|
/lib64/libboost_system.so.1.75.0 \
|
||||||
/lib64/libboost_unit_test_framework.so.1.66.0 \
|
/lib64/libboost_unit_test_framework.so.1.75.0 \
|
||||||
/lib64/libboost_atomic.so.1.66.0 \
|
/lib64/libboost_atomic.so.1.75.0 \
|
||||||
/lib64/libboost_timer.so.1.66.0 \
|
/lib64/libboost_timer.so.1.75.0 \
|
||||||
/lib64/libboost_regex.so.1.66.0 \
|
/lib64/libboost_regex.so.1.75.0 \
|
||||||
/lib64/libicudata.so.60 \
|
/lib64/libicudata.so.67 \
|
||||||
/lib64/libicui18n.so.60 \
|
/lib64/libicui18n.so.67 \
|
||||||
/lib64/libicuuc.so.60 \
|
/lib64/libicuuc.so.67 \
|
||||||
/lib64/
|
/lib64/
|
||||||
|
|
||||||
# Now we are copying from builder-image the UHD files.
|
# Now we are copying from builder-image the UHD files.
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Dockerfile for the Open-Air-Interface BUILD service
|
# Dockerfile for the Open-Air-Interface BUILD service
|
||||||
# Valid for RHEL8
|
# Valid for RHEL9
|
||||||
#
|
#
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -33,11 +33,11 @@ RUN python3 ./docker/scripts/generateTemplate.py ./docker/scripts/enb_parameters
|
|||||||
cp /oai-ran/docker/scripts/lte_ru_entrypoint.sh /oai-ran/docker/scripts/entrypoint.sh
|
cp /oai-ran/docker/scripts/lte_ru_entrypoint.sh /oai-ran/docker/scripts/entrypoint.sh
|
||||||
|
|
||||||
#start from scratch for target executable
|
#start from scratch for target executable
|
||||||
FROM registry.access.redhat.com/ubi8/ubi:latest as oai-lte-ru
|
FROM registry.access.redhat.com/ubi9/ubi:latest as oai-lte-ru
|
||||||
ENV TZ=Europe/Paris
|
ENV TZ=Europe/Paris
|
||||||
|
|
||||||
RUN yum update -y && \
|
RUN dnf update -y && \
|
||||||
yum install -y --enablerepo="ubi-8-codeready-builder" \
|
dnf install -y \
|
||||||
tzdata \
|
tzdata \
|
||||||
procps-ng \
|
procps-ng \
|
||||||
atlas \
|
atlas \
|
||||||
@@ -67,21 +67,21 @@ COPY --from=ru-build \
|
|||||||
/usr/local/lib/
|
/usr/local/lib/
|
||||||
|
|
||||||
COPY --from=ru-base \
|
COPY --from=ru-base \
|
||||||
/lib64/libconfig.so.9 \
|
/lib64/libconfig.so.11 \
|
||||||
/lib64/libblas.so.3 \
|
/lib64/libblas.so.3 \
|
||||||
/lib64/liblapack.so.3 \
|
/lib64/liblapack.so.3 \
|
||||||
/lib64/liblapacke.so.3 \
|
/lib64/liblapacke.so.3 \
|
||||||
/lib64/libboost_chrono.so.1.66.0 \
|
/lib64/libboost_chrono.so.1.75.0 \
|
||||||
/lib64/libboost_date_time.so.1.66.0 \
|
/lib64/libboost_date_time.so.1.75.0 \
|
||||||
/lib64/libboost_filesystem.so.1.66.0 \
|
/lib64/libboost_filesystem.so.1.75.0 \
|
||||||
/lib64/libboost_program_options.so.1.66.0 \
|
/lib64/libboost_program_options.so.1.75.0 \
|
||||||
/lib64/libboost_serialization.so.1.66.0 \
|
/lib64/libboost_serialization.so.1.75.0 \
|
||||||
/lib64/libboost_thread.so.1.66.0 \
|
/lib64/libboost_thread.so.1.75.0 \
|
||||||
/lib64/libboost_system.so.1.66.0 \
|
/lib64/libboost_system.so.1.75.0 \
|
||||||
/lib64/libboost_unit_test_framework.so.1.66.0 \
|
/lib64/libboost_unit_test_framework.so.1.75.0 \
|
||||||
/lib64/libboost_atomic.so.1.66.0 \
|
/lib64/libboost_atomic.so.1.75.0 \
|
||||||
/lib64/libboost_timer.so.1.66.0 \
|
/lib64/libboost_timer.so.1.75.0 \
|
||||||
/lib64/libboost_regex.so.1.66.0 \
|
/lib64/libboost_regex.so.1.75.0 \
|
||||||
/lib64/
|
/lib64/
|
||||||
|
|
||||||
# Copying from the ran-build image the USRP needed packages
|
# Copying from the ran-build image the USRP needed packages
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Dockerfile for the Open-Air-Interface BUILD service
|
# Dockerfile for the Open-Air-Interface BUILD service
|
||||||
# Valid for RHEL8
|
# Valid for RHEL9
|
||||||
#
|
#
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -34,11 +34,11 @@ RUN python3 ./docker/scripts/generateTemplate.py ./docker/scripts/lte_ue_paramet
|
|||||||
cp /oai-ran/docker/scripts/lte_ue_entrypoint.sh /oai-ran/docker/scripts/entrypoint.sh
|
cp /oai-ran/docker/scripts/lte_ue_entrypoint.sh /oai-ran/docker/scripts/entrypoint.sh
|
||||||
|
|
||||||
#start from scratch for target executable
|
#start from scratch for target executable
|
||||||
FROM registry.access.redhat.com/ubi8/ubi:latest as oai-lte-ue
|
FROM registry.access.redhat.com/ubi9/ubi:latest as oai-lte-ue
|
||||||
ENV TZ=Europe/Paris
|
ENV TZ=Europe/Paris
|
||||||
|
|
||||||
RUN yum update -y && \
|
RUN dnf update -y && \
|
||||||
yum install -y --enablerepo="ubi-8-codeready-builder" \
|
dnf install -y \
|
||||||
lksctp-tools \
|
lksctp-tools \
|
||||||
procps-ng \
|
procps-ng \
|
||||||
tzdata \
|
tzdata \
|
||||||
@@ -74,24 +74,24 @@ COPY --from=lte-ue-build \
|
|||||||
/usr/local/lib/
|
/usr/local/lib/
|
||||||
|
|
||||||
COPY --from=lte-ue-base \
|
COPY --from=lte-ue-base \
|
||||||
/lib64/libconfig.so.9 \
|
/lib64/libconfig.so.11 \
|
||||||
/lib64/libblas.so.3 \
|
/lib64/libblas.so.3 \
|
||||||
/lib64/liblapack.so.3 \
|
/lib64/liblapack.so.3 \
|
||||||
/lib64/liblapacke.so.3 \
|
/lib64/liblapacke.so.3 \
|
||||||
/lib64/libboost_chrono.so.1.66.0 \
|
/lib64/libboost_chrono.so.1.75.0 \
|
||||||
/lib64/libboost_date_time.so.1.66.0 \
|
/lib64/libboost_date_time.so.1.75.0 \
|
||||||
/lib64/libboost_filesystem.so.1.66.0 \
|
/lib64/libboost_filesystem.so.1.75.0 \
|
||||||
/lib64/libboost_program_options.so.1.66.0 \
|
/lib64/libboost_program_options.so.1.75.0 \
|
||||||
/lib64/libboost_serialization.so.1.66.0 \
|
/lib64/libboost_serialization.so.1.75.0 \
|
||||||
/lib64/libboost_thread.so.1.66.0 \
|
/lib64/libboost_thread.so.1.75.0 \
|
||||||
/lib64/libboost_system.so.1.66.0 \
|
/lib64/libboost_system.so.1.75.0 \
|
||||||
/lib64/libboost_unit_test_framework.so.1.66.0 \
|
/lib64/libboost_unit_test_framework.so.1.75.0 \
|
||||||
/lib64/libboost_atomic.so.1.66.0 \
|
/lib64/libboost_atomic.so.1.75.0 \
|
||||||
/lib64/libboost_timer.so.1.66.0 \
|
/lib64/libboost_timer.so.1.75.0 \
|
||||||
/lib64/libboost_regex.so.1.66.0 \
|
/lib64/libboost_regex.so.1.75.0 \
|
||||||
/lib64/libicudata.so.60 \
|
/lib64/libicudata.so.67 \
|
||||||
/lib64/libicui18n.so.60 \
|
/lib64/libicui18n.so.67 \
|
||||||
/lib64/libicuuc.so.60 \
|
/lib64/libicuuc.so.67 \
|
||||||
/lib64/
|
/lib64/
|
||||||
|
|
||||||
# Now we are copying from builder-image the UHD files.
|
# Now we are copying from builder-image the UHD files.
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Dockerfile for the Open-Air-Interface BUILD service
|
# Dockerfile for the Open-Air-Interface BUILD service
|
||||||
# Valid for RHEL 8.2
|
# Valid for RHEL 9
|
||||||
#
|
#
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -32,12 +32,12 @@ FROM ran-build:latest AS gnb-build
|
|||||||
RUN cp /oai-ran/docker/scripts/gnb_entrypoint.sh /oai-ran/docker/scripts/entrypoint.sh
|
RUN cp /oai-ran/docker/scripts/gnb_entrypoint.sh /oai-ran/docker/scripts/entrypoint.sh
|
||||||
|
|
||||||
#start from scratch for target executable
|
#start from scratch for target executable
|
||||||
FROM registry.access.redhat.com/ubi8/ubi:latest as oai-nr-cuup
|
FROM registry.access.redhat.com/ubi9/ubi:latest as oai-nr-cuup
|
||||||
ENV TZ=Europe/Paris
|
ENV TZ=Europe/Paris
|
||||||
|
|
||||||
RUN yum repolist --disablerepo=* && \
|
RUN yum repolist --disablerepo=* && \
|
||||||
yum update -y && \
|
yum update -y && \
|
||||||
yum install -y --enablerepo="ubi-8-codeready-builder" \
|
yum install -y \
|
||||||
procps-ng \
|
procps-ng \
|
||||||
lksctp-tools \
|
lksctp-tools \
|
||||||
tzdata \
|
tzdata \
|
||||||
@@ -59,7 +59,7 @@ COPY --from=gnb-build \
|
|||||||
/usr/local/lib/
|
/usr/local/lib/
|
||||||
|
|
||||||
COPY --from=gnb-base \
|
COPY --from=gnb-base \
|
||||||
/lib64/libconfig.so.9 \
|
/lib64/libconfig.so.11 \
|
||||||
/lib64/libblas.so.3 \
|
/lib64/libblas.so.3 \
|
||||||
/lib64/liblapack.so.3 \
|
/lib64/liblapack.so.3 \
|
||||||
/lib64/liblapacke.so.3 \
|
/lib64/liblapacke.so.3 \
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Dockerfile for the Open-Air-Interface BUILD service
|
# Dockerfile for the Open-Air-Interface BUILD service
|
||||||
# Valid for RHEL8
|
# Valid for RHEL9
|
||||||
#
|
#
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -33,11 +33,11 @@ RUN python3 ./docker/scripts/generateTemplate.py ./docker/scripts/nr_ue_paramete
|
|||||||
cp /oai-ran/docker/scripts/nr_ue_entrypoint.sh /oai-ran/docker/scripts/entrypoint.sh
|
cp /oai-ran/docker/scripts/nr_ue_entrypoint.sh /oai-ran/docker/scripts/entrypoint.sh
|
||||||
|
|
||||||
#start from scratch for target executable
|
#start from scratch for target executable
|
||||||
FROM registry.access.redhat.com/ubi8/ubi:latest as oai-nr-ue
|
FROM registry.access.redhat.com/ubi9/ubi:latest as oai-nr-ue
|
||||||
ENV TZ=Europe/Paris
|
ENV TZ=Europe/Paris
|
||||||
|
|
||||||
RUN yum update -y && \
|
RUN dnf update -y && \
|
||||||
yum install -y --enablerepo="ubi-8-codeready-builder" \
|
dnf install -y \
|
||||||
lksctp-tools \
|
lksctp-tools \
|
||||||
procps-ng \
|
procps-ng \
|
||||||
tzdata \
|
tzdata \
|
||||||
@@ -83,25 +83,25 @@ COPY --from=nr-ue-build \
|
|||||||
/usr/local/lib/
|
/usr/local/lib/
|
||||||
|
|
||||||
COPY --from=nr-ue-base \
|
COPY --from=nr-ue-base \
|
||||||
/lib64/libconfig.so.9 \
|
/lib64/libconfig.so.11 \
|
||||||
/lib64/libblas.so.3 \
|
/lib64/libblas.so.3 \
|
||||||
/lib64/liblapack.so.3 \
|
/lib64/liblapack.so.3 \
|
||||||
/lib64/liblapacke.so.3 \
|
/lib64/liblapacke.so.3 \
|
||||||
/lib64/libforms.so.2 \
|
/lib64/libforms.so.2 \
|
||||||
/lib64/libboost_chrono.so.1.66.0 \
|
/lib64/libboost_chrono.so.1.75.0 \
|
||||||
/lib64/libboost_date_time.so.1.66.0 \
|
/lib64/libboost_date_time.so.1.75.0 \
|
||||||
/lib64/libboost_filesystem.so.1.66.0 \
|
/lib64/libboost_filesystem.so.1.75.0 \
|
||||||
/lib64/libboost_program_options.so.1.66.0 \
|
/lib64/libboost_program_options.so.1.75.0 \
|
||||||
/lib64/libboost_serialization.so.1.66.0 \
|
/lib64/libboost_serialization.so.1.75.0 \
|
||||||
/lib64/libboost_thread.so.1.66.0 \
|
/lib64/libboost_thread.so.1.75.0 \
|
||||||
/lib64/libboost_system.so.1.66.0 \
|
/lib64/libboost_system.so.1.75.0 \
|
||||||
/lib64/libboost_unit_test_framework.so.1.66.0 \
|
/lib64/libboost_unit_test_framework.so.1.75.0 \
|
||||||
/lib64/libboost_atomic.so.1.66.0 \
|
/lib64/libboost_atomic.so.1.75.0 \
|
||||||
/lib64/libboost_timer.so.1.66.0 \
|
/lib64/libboost_timer.so.1.75.0 \
|
||||||
/lib64/libboost_regex.so.1.66.0 \
|
/lib64/libboost_regex.so.1.75.0 \
|
||||||
/lib64/libicudata.so.60 \
|
/lib64/libicudata.so.67 \
|
||||||
/lib64/libicui18n.so.60 \
|
/lib64/libicui18n.so.67 \
|
||||||
/lib64/libicuuc.so.60 \
|
/lib64/libicuuc.so.67 \
|
||||||
/lib64/
|
/lib64/
|
||||||
|
|
||||||
# Now we are copying from builder-image the UHD files.
|
# Now we are copying from builder-image the UHD files.
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Dockerfile for the Open-Air-Interface BUILD service
|
# Dockerfile for the Open-Air-Interface BUILD service
|
||||||
# Valid for RHEL8
|
# Valid for RHEL9
|
||||||
#
|
#
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ WORKDIR /oai-ran
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
#only install address and undefined behavior sanitizer for this container, the others don't need it
|
#only install address and undefined behavior sanitizer for this container, the others don't need it
|
||||||
RUN yum install -y libasan libubsan
|
RUN dnf install -y libasan libubsan
|
||||||
|
|
||||||
#run build_oai to build the target image
|
#run build_oai to build the target image
|
||||||
RUN /bin/sh oaienv && \
|
RUN /bin/sh oaienv && \
|
||||||
@@ -41,10 +41,10 @@ RUN /bin/sh oaienv && \
|
|||||||
./build_oai --phy_simulators --ninja --verbose-ci --sanitize --noavx512 -c --cmake-opt -DCMAKE_C_FLAGS=-Werror --cmake-opt -DCMAKE_CXX_FLAGS=-Werror --cmake-opt -DCMAKE_C_FLAGS=-Wno-unused-function --cmake-opt -DCMAKE_CXX_FLAGS=-Wno-unused-function
|
./build_oai --phy_simulators --ninja --verbose-ci --sanitize --noavx512 -c --cmake-opt -DCMAKE_C_FLAGS=-Werror --cmake-opt -DCMAKE_CXX_FLAGS=-Werror --cmake-opt -DCMAKE_C_FLAGS=-Wno-unused-function --cmake-opt -DCMAKE_CXX_FLAGS=-Wno-unused-function
|
||||||
|
|
||||||
#start from scratch for target executable
|
#start from scratch for target executable
|
||||||
FROM registry.access.redhat.com/ubi8/ubi:latest as oai-physim
|
FROM registry.access.redhat.com/ubi9/ubi:latest as oai-physim
|
||||||
|
|
||||||
RUN yum update -y && \
|
RUN dnf update -y && \
|
||||||
yum install -y --enablerepo="ubi-8-codeready-builder" \
|
dnf install -y \
|
||||||
lksctp-tools \
|
lksctp-tools \
|
||||||
tzdata \
|
tzdata \
|
||||||
atlas \
|
atlas \
|
||||||
@@ -86,7 +86,7 @@ COPY --from=phy-sim-build \
|
|||||||
/lib64/liblapack.so.3 \
|
/lib64/liblapack.so.3 \
|
||||||
/lib64/libexslt.so.0 \
|
/lib64/libexslt.so.0 \
|
||||||
/lib64/libxslt.so.1 \
|
/lib64/libxslt.so.1 \
|
||||||
/usr/lib64/libasan.so.5 \
|
/usr/lib64/libasan.so.6 \
|
||||||
/usr/lib64/libubsan.so.1 \
|
/usr/lib64/libubsan.so.1 \
|
||||||
/oai-ran/cmake_targets/ran_build/build/libdfts.so \
|
/oai-ran/cmake_targets/ran_build/build/libdfts.so \
|
||||||
/oai-ran/cmake_targets/ran_build/build/libldpc.so \
|
/oai-ran/cmake_targets/ran_build/build/libldpc.so \
|
||||||
+5
-5
@@ -34,7 +34,7 @@ For all platforms, the strategy for building docker/podman images is the same:
|
|||||||
* Then from the `ran-build` shared image, we can build target images for:
|
* Then from the `ran-build` shared image, we can build target images for:
|
||||||
- eNB
|
- eNB
|
||||||
- gNB (with UHD)
|
- gNB (with UHD)
|
||||||
- gNB (with AW2S), only on RHEL8
|
- gNB (with AW2S), only on RHEL9
|
||||||
- lte-UE
|
- lte-UE
|
||||||
- nr-UE
|
- nr-UE
|
||||||
|
|
||||||
@@ -75,7 +75,7 @@ Targets can be:
|
|||||||
|
|
||||||
The currently-supported OS are:
|
The currently-supported OS are:
|
||||||
|
|
||||||
- `rhel8.2` for Red Hat Entreprise Linux (including images for an OpenShift cluster)
|
- `rhel9` for Red Hat Entreprise Linux (including images for an OpenShift cluster)
|
||||||
- `ubuntu20` for Ubuntu 20.04 LTS
|
- `ubuntu20` for Ubuntu 20.04 LTS
|
||||||
- `rocky` for Rocky-Linux 8.7
|
- `rocky` for Rocky-Linux 8.7
|
||||||
|
|
||||||
@@ -145,9 +145,9 @@ Note that the steps are identical for `rocky-linux`.
|
|||||||
|
|
||||||
Analogous to the above steps:
|
Analogous to the above steps:
|
||||||
```
|
```
|
||||||
sudo podman build --target ran-base --tag ran-base:latest --file docker/Dockerfile.base.rhel8.2 .
|
sudo podman build --target ran-base --tag ran-base:latest --file docker/Dockerfile.base.rhel9 .
|
||||||
sudo podman build --target ran-build --tag ran-build:latest --file docker/Dockerfile.build.rhel8.2 .
|
sudo podman build --target ran-build --tag ran-build:latest --file docker/Dockerfile.build.rhel9 .
|
||||||
sudo podman build --target oai-enb --tag oai-enb:latest --file docker/Dockerfile.eNB.rhel8.2 .
|
sudo podman build --target oai-enb --tag oai-enb:latest --file docker/Dockerfile.eNB.rhel9 .
|
||||||
```
|
```
|
||||||
|
|
||||||
# 5. Running modems using `docker` under Ubuntu 18.04 #
|
# 5. Running modems using `docker` under Ubuntu 18.04 #
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ spec:
|
|||||||
type: "Binary"
|
type: "Binary"
|
||||||
strategy:
|
strategy:
|
||||||
dockerStrategy:
|
dockerStrategy:
|
||||||
dockerfilePath: "docker/Dockerfile.clang.rhel8.2"
|
dockerfilePath: "docker/Dockerfile.clang.rhel9"
|
||||||
output:
|
output:
|
||||||
to:
|
to:
|
||||||
kind: "ImageStreamTag"
|
kind: "ImageStreamTag"
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ spec:
|
|||||||
type: "Binary"
|
type: "Binary"
|
||||||
strategy:
|
strategy:
|
||||||
dockerStrategy:
|
dockerStrategy:
|
||||||
dockerfilePath: "docker/Dockerfile.eNB.rhel8.2"
|
dockerfilePath: "docker/Dockerfile.eNB.rhel9"
|
||||||
output:
|
output:
|
||||||
to:
|
to:
|
||||||
kind: "ImageStreamTag"
|
kind: "ImageStreamTag"
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ spec:
|
|||||||
destinationDir: libori.so
|
destinationDir: libori.so
|
||||||
strategy:
|
strategy:
|
||||||
dockerStrategy:
|
dockerStrategy:
|
||||||
dockerfilePath: "docker/Dockerfile.gNB.aw2s.rhel8.2"
|
dockerfilePath: "docker/Dockerfile.gNB.aw2s.rhel9"
|
||||||
output:
|
output:
|
||||||
to:
|
to:
|
||||||
kind: "ImageStreamTag"
|
kind: "ImageStreamTag"
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ spec:
|
|||||||
type: "Binary"
|
type: "Binary"
|
||||||
strategy:
|
strategy:
|
||||||
dockerStrategy:
|
dockerStrategy:
|
||||||
dockerfilePath: "docker/Dockerfile.gNB.rhel8.2"
|
dockerfilePath: "docker/Dockerfile.gNB.rhel9"
|
||||||
output:
|
output:
|
||||||
to:
|
to:
|
||||||
kind: "ImageStreamTag"
|
kind: "ImageStreamTag"
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ spec:
|
|||||||
type: "Binary"
|
type: "Binary"
|
||||||
strategy:
|
strategy:
|
||||||
dockerStrategy:
|
dockerStrategy:
|
||||||
dockerfilePath: "docker/Dockerfile.lteUE.rhel8.2"
|
dockerfilePath: "docker/Dockerfile.lteUE.rhel9"
|
||||||
output:
|
output:
|
||||||
to:
|
to:
|
||||||
kind: "ImageStreamTag"
|
kind: "ImageStreamTag"
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ spec:
|
|||||||
type: "Binary"
|
type: "Binary"
|
||||||
strategy:
|
strategy:
|
||||||
dockerStrategy:
|
dockerStrategy:
|
||||||
dockerfilePath: "docker/Dockerfile.nr-cuup.rhel8.2"
|
dockerfilePath: "docker/Dockerfile.nr-cuup.rhel9"
|
||||||
output:
|
output:
|
||||||
to:
|
to:
|
||||||
kind: "ImageStreamTag"
|
kind: "ImageStreamTag"
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ spec:
|
|||||||
type: "Binary"
|
type: "Binary"
|
||||||
strategy:
|
strategy:
|
||||||
dockerStrategy:
|
dockerStrategy:
|
||||||
dockerfilePath: "docker/Dockerfile.nrUE.rhel8.2"
|
dockerfilePath: "docker/Dockerfile.nrUE.rhel9"
|
||||||
output:
|
output:
|
||||||
to:
|
to:
|
||||||
kind: "ImageStreamTag"
|
kind: "ImageStreamTag"
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ spec:
|
|||||||
type: "Binary"
|
type: "Binary"
|
||||||
strategy:
|
strategy:
|
||||||
dockerStrategy:
|
dockerStrategy:
|
||||||
dockerfilePath: "docker/Dockerfile.phySim.rhel8.2"
|
dockerfilePath: "docker/Dockerfile.phySim.rhel9"
|
||||||
output:
|
output:
|
||||||
to:
|
to:
|
||||||
kind: "ImageStreamTag"
|
kind: "ImageStreamTag"
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ spec:
|
|||||||
destinationDir: rhsm-ca
|
destinationDir: rhsm-ca
|
||||||
strategy:
|
strategy:
|
||||||
dockerStrategy:
|
dockerStrategy:
|
||||||
dockerfilePath: "docker/Dockerfile.base.rhel8.2"
|
dockerfilePath: "docker/Dockerfile.base.rhel9"
|
||||||
output:
|
output:
|
||||||
to:
|
to:
|
||||||
kind: "ImageStreamTag"
|
kind: "ImageStreamTag"
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ spec:
|
|||||||
type: "Binary"
|
type: "Binary"
|
||||||
strategy:
|
strategy:
|
||||||
dockerStrategy:
|
dockerStrategy:
|
||||||
dockerfilePath: "docker/Dockerfile.build.rhel8.2"
|
dockerfilePath: "docker/Dockerfile.build.rhel9"
|
||||||
output:
|
output:
|
||||||
to:
|
to:
|
||||||
kind: "ImageStreamTag"
|
kind: "ImageStreamTag"
|
||||||
|
|||||||
Reference in New Issue
Block a user