Dockerfile 526 Bytes
Newer Older
kladko's avatar
kladko committed
1
FROM skalenetwork/sgxwallet_base:latest
kladko's avatar
kladko committed
2 3

COPY . /usr/src/sdk
kladko's avatar
kladko committed
4
WORKDIR /usr/src/sdk
kladkogex's avatar
kladkogex committed
5 6 7 8 9 10 11 12

RUN apt update && apt install -y curl secure-delete python3-pip
RUN pip3 install --upgrade pip
RUN pip3 install requests torpy




13
RUN touch /var/hwmode
14
RUN ./autoconf.bash
kladko's avatar
kladko committed
15
RUN ./configure
16
RUN bash -c "make -j$(nproc)"
17
RUN ccache -sz
kladko's avatar
kladko committed
18
RUN mkdir -p /usr/src/sdk/sgx_data
kladko's avatar
kladko committed
19
COPY docker/start.sh ./
kladkogex's avatar
kladkogex committed
20
COPY docker/check_firewall.py ./
kladko's avatar
kladko committed
21 22
RUN rm -rf /usr/src/sdk/sgx-sdk-build/
RUN rm  /opt/intel/sgxsdk/lib64/*_sim.so
kladko's avatar
kladko committed
23
ENTRYPOINT ["/usr/src/sdk/start.sh"]