代码拉取完成,页面将自动刷新
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。