Commit ed4e1638 authored by Raphael Defosseux's avatar Raphael Defosseux

fix(ci): making sure we are building from a clean workspace with the base image

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@openairinterface.org>
parent fa6aa1a7
......@@ -34,13 +34,14 @@ ARG BASE_IMAGE=ubuntu:bionic
FROM oai-amf-base:latest as oai-amf-builder
# Copying source code
RUN rm -Rf /openair-amf/
WORKDIR /openair-amf/
COPY . /openair-amf
RUN cp -Rf /openair-amf-ext-ref /openair-amf/build/ext
# Building AMF
WORKDIR /openair-amf/build/scripts
RUN ldconfig && \
cp -Rf /openair-amf-ext-ref /openair-amf/build/ext && \
./build_amf --clean --Verbose --build-type Release --jobs && \
ldd /openair-amf/build/amf/build/amf && \
mv /openair-amf/build/amf/build/amf /openair-amf/build/amf/build/oai_amf
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment