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
@@ -55,9 +55,17 @@ RUN chmod +x /tini
# In some network environments, GIT proxy is required
RUN /bin/bash -c "if [[ -v NEEDED_GIT_PROXY ]]; then git config --global http.proxy $NEEDED_GIT_PROXY; fi"
#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 && \