Skip to content
Snippets Groups Projects
Commit 6c2fa1ac authored by Mattia Mancini's avatar Mattia Mancini
Browse files

OSB-45: optimized docker images build

parent b9fa72cb
No related branches found
No related tags found
1 merge request!89Monitoring maintenance Epic branch merge
FROM lofar-maintenance-base as lofar-build-dbinterface FROM lofar-maintenance-base as lofar-maintenance-dbinterface
ARG SRC_DIR=/root/src ARG SRC_DIR=/root/src
ARG BUILD_DIR=$SRC_DIR/build/gnucxx11_debug ARG BUILD_DIR=$SRC_DIR/build/gnucxx11_debug
...@@ -11,6 +11,3 @@ RUN cmake $SRC_DIR -DBUILD_PACKAGES=DBInterface \ ...@@ -11,6 +11,3 @@ RUN cmake $SRC_DIR -DBUILD_PACKAGES=DBInterface \
-DCMAKE_INSTALL_PREFIX=/opt/lofar \ -DCMAKE_INSTALL_PREFIX=/opt/lofar \
-DUSE_LOG4CPLUS=OFF && \ -DUSE_LOG4CPLUS=OFF && \
make && make install make && make install
FROM lofar-maintenance-base
COPY --from=lofar-build-dbinterface /opt/lofar/ /opt/lofar
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment