7 Star 36 Fork 9

BaseBit.ai/XSCE

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 974 Bytes
一键复制 编辑 原始数据 按行查看 历史
重楼 提交于 2022-09-30 02:00 . Feature/add spdz
FROM ubuntu:20.04 as baseenv
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y vim automake build-essential git wget libssl-dev libtool python3 python3-pip texinfo yasm >/dev/null \
&& echo "tzdata tzdata/Areas select Asia"> ~/preseed.txt \
&& echo "tzdata tzdata/Zones/Asia select Shanghai" >> ~/preseed.txt \
&& debconf-set-selections ~/preseed.txt \
&& apt-get clean
#install cmake
RUN mkdir -p /thirdparty/cmake-src \
&& cd /thirdparty/cmake-src \
&& wget https://github.com/Kitware/CMake/releases/download/v3.22.2/cmake-3.22.2.tar.gz >/dev/null \
&& tar -zxvf cmake-3.22.2.tar.gz >/dev/null \
&& cd cmake-3.22.2 \
&& ./bootstrap >/dev/null \
&& make >/dev/null \
&& make install
FROM baseenv as builder
COPY ./ /xsce/
RUN cd /xsce && ls && ./build.py libote spdz xsce clean && ./build.py install=/opt/xsce_install
FROM baseenv as machine
COPY --from=builder /opt/xsce_install/ /usr/local
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/basebit-ai/XSCE.git
git@gitee.com:basebit-ai/XSCE.git
basebit-ai
XSCE
XSCE
master

搜索帮助