feat(hos_client_create, hos_client_destory): 多次调用destory不会导致重复释放

This commit is contained in:
彭宣正
2020-12-14 17:24:58 +08:00
parent 505d529c32
commit 10b370e486
55976 changed files with 8544395 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
# Using Amazon Linux 2 docker image
FROM amazonlinux:2
#Install g++
RUN yum groupinstall "Development Tools" -y
#Install cmake
RUN curl https://cmake.org/files/v3.13/cmake-3.13.3-Linux-x86_64.tar.gz --output cmake-3.13.3-Linux-x86_64.tar.gz && \
tar -xvzf cmake-3.13.3-Linux-x86_64.tar.gz && \
mv cmake-3.13.3-Linux-x86_64 /opt && \
rm cmake-3.13.3-Linux-x86_64.tar.gz && \
ln -s /opt/cmake-3.13.3-Linux-x86_64/bin/cmake /usr/local/bin/cmake
#Install curl and openssl
RUN yum install curl-devel -y && \
yum install openssl-devel -y && \
yum install ninja-build -y
#Install awscli
RUN yum install python-pip -y && \
pip install awscli