Skip to content

Commit ec287d1

Browse files
committed
gitlab ci
1 parent 39811a4 commit ec287d1

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

ci/docker/manylinux_2010/Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#FROM quay.io/pypa/manylinux2014_x86_64
2+
FROM quay.io/pypa/manylinux2010_x86_64
3+
4+
ENV SYSTEM_LIBSSH2 1
5+
6+
COPY ./libssh2 /libssh2
7+
8+
RUN yum -y --disablerepo="epel" install zlib-devel openssl-devel cmake gcc
9+
10+
# Libssh2
11+
RUN mkdir -p build_libssh2 && cd build_libssh2 && \
12+
cmake /libssh2 -DBUILD_SHARED_LIBS=ON -DENABLE_ZLIB_COMPRESSION=ON \
13+
-DENABLE_CRYPT_NONE=ON -DENABLE_MAC_NONE=ON -DCMAKE_INSTALL_PREFIX=/usr && \
14+
cmake --build . --config Release --target install
15+
16+
RUN rm -rf build_libssh2

0 commit comments

Comments
 (0)