21 lines
378 B
Docker
21 lines
378 B
Docker
|
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"]
|