Skip to content

Commit

Permalink
Merge pull request #39 from murraystevenson/openssl11Symlinks
Browse files Browse the repository at this point in the history
Dockerfile : Make `openssl11` discoverable by Python
  • Loading branch information
johnhaddon authored Feb 19, 2024
2 parents b97be09 + 2a5a1ea commit b59277f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
7 changes: 7 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2.x.x
=====

- Dockerfile :
- Removed `openssl-devel` package.
- Symlinked `openssl11-devel` headers and libraries into `/usr/local/ssl` so they can be automatically found when building Python.

2.1.1
=====

Expand Down
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,15 @@ RUN yum install -y yum-versionlock && \
# Install Python dependencies (needed for Python ssl and sqlite3 modules)
#
yum install -y \
openssl-devel \
openssl11-devel \
sqlite-devel && \
#
# Symlink openssl11 libs and headers to a location where Python's `configure` script can find them
#
mkdir /usr/local/ssl && \
ln -s /usr/lib64/openssl11 /usr/local/ssl/lib && \
ln -s /usr/include/openssl11 /usr/local/ssl/include && \
#
# Install packages needed to generate the
# Gaffer documentation.
#
Expand Down
5 changes: 2 additions & 3 deletions yum-versionlock.list
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,8 @@
1:libvorbis-1.3.3-8.el7.1.*
1:make-3.82-24.el7.*
1:numpy-1.7.1-13.el7.*
1:openssl11-devel-1.1.1k-6.el7.*
1:openssl11-libs-1.1.1k-6.el7.*
1:openssl-devel-1.0.2k-26.el7_9.*
1:openssl11-devel-1.1.1k-7.el7.*
1:openssl11-libs-1.1.1k-7.el7.*
1:perl-Error-0.17020-2.el7.*
1:perl-parent-0.225-244.el7.*
1:perl-Pod-Escapes-1.04-299.el7_9.*
Expand Down

0 comments on commit b59277f

Please sign in to comment.