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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user