diff --git a/DockerfileBase b/DockerfileBase index f06ceb02..56099df0 100644 --- a/DockerfileBase +++ b/DockerfileBase @@ -68,13 +68,23 @@ RUN apt update && \ ln -s /usr/bin/ccache /usr/local/bin/cc && \ ln -s /usr/bin/ccache /usr/local/bin/c++ -RUN cd scripts && ./build_deps.py && \ - wget --progress=dot:mega -O - https://github.com/intel/dynamic-application-loader-host-interface/archive/072d233296c15d0dcd1fb4570694d0244729f87b.tar.gz | tar -xz && \ - cd dynamic-application-loader-host-interface-072d233296c15d0dcd1fb4570694d0244729f87b && \ - cmake . -DCMAKE_BUILD_TYPE=Release -DINIT_SYSTEM=SysVinit && \ - make install && \ - cd .. && rm -rf dynamic-application-loader-host-interface-072d233296c15d0dcd1fb4570694d0244729f87b && \ - cd /usr/src/sdk && \ - ./autoconf.bash && \ - ./configure && \ - bash -c "make -j$(nproc)" +WORKDIR /usr/src/sdk/scripts +RUN ./build_deps.py +RUN wget --progress=dot:mega -O - https://github.com/intel/dynamic-application-loader-host-interface/archive/072d233296c15d0dcd1fb4570694d0244729f87b.tar.gz | tar -xz +WORKDIR dynamic-application-loader-host-interface-072d233296c15d0dcd1fb4570694d0244729f87b +RUN cmake . -DCMAKE_BUILD_TYPE=Release -DINIT_SYSTEM=SysVinit && make install +WORKDIR /usr/src/sdk/scripts +RUN rm -rf dynamic-application-loader-host-interface-072d233296c15d0dcd1fb4570694d0244729f87b +WORKDIR /usr/src/sdk +RUN ./autoconf.bash && ./configure && bash -c "make -j$(nproc)" + +# RUN cd scripts && ./build_deps.py && \ +# wget --progress=dot:mega -O - https://github.com/intel/dynamic-application-loader-host-interface/archive/072d233296c15d0dcd1fb4570694d0244729f87b.tar.gz | tar -xz && \ +# cd dynamic-application-loader-host-interface-072d233296c15d0dcd1fb4570694d0244729f87b && \ +# cmake . -DCMAKE_BUILD_TYPE=Release -DINIT_SYSTEM=SysVinit && \ +# make install && \ +# cd .. && rm -rf dynamic-application-loader-host-interface-072d233296c15d0dcd1fb4570694d0244729f87b && \ +# cd /usr/src/sdk && \ +# ./autoconf.bash && \ +# ./configure && \ +# bash -c "make -j$(nproc)"