[go: nahoru, domu]

Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Fix for SSL cert issue. (#2666)
Browse files Browse the repository at this point in the history
Added /etc/ssl/certs to search path for ssl certificates.  This is done by creating the directory on the build system before curl builds, so curl then adds it to the cert search path.
  • Loading branch information
Hoyt Koepke committed Nov 19, 2019
1 parent 82bb99b commit 1ff3485
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ build_wheel_debug_linux_python27:
DOCKER_DRIVER: overlay2
script:
- apk add bash
- mkdir -p /etc/ssl/certs/
- bash -e scripts/make_wheel.sh --skip_test --skip_cpp_test --build_number=$CI_PIPELINE_ID --num_procs=4 --debug --docker-python2.7 --skip_doc
artifacts:
expire_in: 1 day
Expand All @@ -38,6 +39,7 @@ build_wheel_linux_python27:
DOCKER_DRIVER: overlay2
script:
- apk add bash
- mkdir -p /etc/ssl/certs/
- bash -e scripts/make_wheel.sh --skip_test --skip_cpp_test --build_number=$CI_PIPELINE_ID --num_procs=4 --docker-python2.7
artifacts:
expire_in: 1 day
Expand All @@ -56,6 +58,7 @@ build_wheel_linux_python35:
DOCKER_DRIVER: overlay2
script:
- apk add bash
- mkdir -p /etc/ssl/certs/
- bash -e scripts/make_wheel.sh --skip_test --skip_cpp_test --build_number=$CI_PIPELINE_ID --num_procs=4 --docker-python3.5 --skip_doc
artifacts:
expire_in: 1 day
Expand All @@ -74,6 +77,7 @@ build_wheel_linux_python36:
DOCKER_DRIVER: overlay2
script:
- apk add bash
- mkdir -p /etc/ssl/certs/
- bash -e scripts/make_wheel.sh --skip_test --skip_cpp_test --build_number=$CI_PIPELINE_ID --num_procs=4 --docker-python3.6 --skip_doc
artifacts:
expire_in: 1 day
Expand All @@ -92,6 +96,7 @@ build_wheel_linux_python37:
DOCKER_DRIVER: overlay2
script:
- apk add bash
- mkdir -p /etc/ssl/certs/
- bash -e scripts/make_wheel.sh --skip_test --skip_cpp_test --build_number=$CI_PIPELINE_ID --num_procs=4 --docker-python3.7 --skip_doc
artifacts:
expire_in: 1 day
Expand Down
1 change: 1 addition & 0 deletions scripts/Dockerfile-CentOS-6
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ RUN make install
WORKDIR /src
RUN curl -O https://www.openssl.org/source/openssl-1.1.0j.tar.gz
RUN tar xf openssl-1.1.0j.tar.gz
RUN mkdir -p /etc/ssl/certs/
WORKDIR /src/openssl-1.1.0j
RUN ./config --prefix=/usr/local --openssldir=/usr/local && \
make -j4 --quiet && \
Expand Down

0 comments on commit 1ff3485

Please sign in to comment.