ci: Pull ubuntu:noble image from our internal docker registry to build ubuntu images

- This is to overcome the issue of pull rate limits from DockerHub
        - Make Ubuntu base image configurable via build-arg
This commit is contained in:
Shubhika Garg
2026-02-05 15:30:34 +01:00
parent 520360a629
commit 0a9c3a07eb
14 changed files with 41 additions and 18 deletions

View File

@@ -24,6 +24,7 @@
# Valid for Ubuntu24.04
#
#---------------------------------------------------------------------
ARG UBUNTU_IMAGE=ubuntu:noble
FROM ran-base:latest AS gnb-base
@@ -31,7 +32,7 @@ FROM ran-build-fhi72:latest AS gnb-build
#start from scratch for target executable
FROM ubuntu:noble AS oai-gnb
FROM ${UBUNTU_IMAGE} AS oai-gnb
ARG BUILD_OPTION
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe