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-23 16:34:06 +01:00
parent 520360a629
commit 0a9c3a07eb
14 changed files with 41 additions and 18 deletions
+3 -1
View File
@@ -24,6 +24,7 @@
# Valid for Ubuntu 24.04
#
#---------------------------------------------------------------------
ARG UBUNTU_IMAGE=ubuntu:noble
FROM ran-base:latest AS enb-base
@@ -31,7 +32,8 @@ FROM ran-build:latest AS enb-build
#start from scratch for target executable
FROM ubuntu:noble AS oai-enb
FROM ${UBUNTU_IMAGE} AS oai-enb
ARG BUILD_OPTION
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Paris