Unverified Commit fc0ea727 authored by Oleh's avatar Oleh

SKALE-4110 fix build base

parent 78a5e51a
......@@ -24,17 +24,19 @@ RUN apt update && \
ln -s /usr/bin/ccache /usr/local/bin/gcc && \
ln -s /usr/bin/ccache /usr/local/bin/g++ && \
ln -s /usr/bin/ccache /usr/local/bin/cc && \
ln -s /usr/bin/ccache /usr/local/bin/c++ && \
git clone -b sgx_2.13 --depth 1 https://github.com/intel/linux-sgx && \
ln -s /usr/bin/ccache /usr/local/bin/c++ &&
RUN git clone -b sgx_2.13 --depth 1 https://github.com/intel/linux-sgx && \
cd linux-sgx && \
patch -p1 -i ../install-psw.patch && \
make preparation && \
cp external/toolset/ubuntu18.04/* /usr/local/bin && \
which as ld ld.gold objdump && \
make -s -j$(nproc) sdk_install_pkg deb_psw_pkg && \
cp external/toolset/ubuntu18.04/* /usr/local/bin
RUN make -s -j$(nproc) sdk_install_pkg deb_psw_pkg && \
./linux/installer/bin/sgx_linux_x64_sdk_2.13.100.4.bin --prefix=/opt/intel && \
./linux/installer/bin/sgx_linux_x64_psw_2.13.100.4.bin && \
cd .. && rm -rf linux-sgx/ && cd scripts && ./build_deps.py && \
./linux/installer/bin/sgx_linux_x64_psw_2.13.100.4.bin && cd .. && rm -rf linux-sgx/
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 && \
......
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