chore(ci): some docker improvements

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
Raphael Defosseux
2024-04-04 14:22:26 +02:00
parent 1cae1879be
commit a227eb7720
9 changed files with 81 additions and 55 deletions
+10 -2
View File
@@ -52,9 +52,17 @@ ENV TINI_VERSION v0.19.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
#create the WORKDIR
# Copying only the needed files to create ran-base
WORKDIR /oai-ran/cmake_targets/tools
COPY cmake_targets/tools/build_helper \
cmake_targets/tools/uhd-4.x-tdd-patch.diff \
./
WORKDIR /oai-ran/cmake_targets
COPY cmake_targets/build_oai .
WORKDIR /oai-ran
COPY . .
COPY oaienv .
#run build_oai -I to get the builder image
RUN /bin/sh oaienv && \