linux/Dockerfile

21 lines
378 B
Docker
Raw Permalink Normal View History

2024-12-17 10:49:27 +08:00
FROM openeuler/openeuler:latest
LABEL author="Tomyee"
WORKDIR /root
COPY ./GmSSL /root/GmSSL
RUN yum update -y \
&& yum install -y zlib zlib-devel gcc gcc-c++ make cmake \
&& cd /root/GmSSL \
&& mkdir build \
&& cd build \
&& cmake .. \
&& make \
&& make test \
&& make test \
&& sudo make install
# 默认执行脚本
CMD ["/bin/bash"]