Skip to content

Commit

Permalink
#438 cleanup build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
olehnikolaiev committed Nov 13, 2024
1 parent 613422e commit 77b6a0c
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions DockerfileBase
Original file line number Diff line number Diff line change
Expand Up @@ -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)"

0 comments on commit 77b6a0c

Please sign in to comment.