Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install openssl 1.0.2 on windows to use with connext #490

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions windows_docker_resources/Dockerfile.foxy
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@ ARG WINDOWS_RELEASE_VERSION=$WINDOWS_RELEASE_ID
FROM mcr.microsoft.com/windows:$WINDOWS_RELEASE_VERSION

# These are versioned files, so they shouldn't invalidate caches. Renaming to fixed names.
# Regularly updated installers are next to their associated code.
ADD https://github.com/ADLINK-IST/opensplice/releases/download/OSPL_V6_9_190925OSS_RELEASE/PXXX-VortexOpenSplice-6.9.190925OSS-HDE-x86_64.win-vs2019-installer.zip C:\TEMP\OpenSplice.zip

# OpenSSL
ADD https://slproweb.com/download/Win64OpenSSL-1_1_1g.exe C:\TEMP\Win64OpenSSL.exe
ADD https://slproweb.com/download/Win64OpenSSL-1_0_2u.exe C:\TEMP\Win64OpenSSL1_0_2.exe
ADD https://slproweb.com/download/Win64OpenSSL-1_1_1g.exe C:\TEMP\Win64OpenSSL1_1_1.exe

# OpenCV
ADD https://github.com/ros2/ros2/releases/download/opencv-archives/opencv-3.4.6-vc16.VS2019.zip C:\TEMP\opencv.zip
Expand Down Expand Up @@ -64,7 +62,8 @@ RUN choco install -y cppcheck --version 1.90
RUN choco pin add --name=cppcheck --version 1.90
RUN choco install -y -s C:\TEMP asio cunit eigen tinyxml-usestl tinyxml2 log4cxx bullet

RUN C:\TEMP\Win64OpenSSL.exe /VERYSILENT
RUN C:\TEMP\Win64OpenSSL1_0_2.exe /VERYSILENT
RUN C:\TEMP\Win64OpenSSL1_1_1.exe /VERYSILENT

# For extracting .7z files
ADD https://www.7-zip.org/a/7z1900-x64.exe C:\TEMP\
Expand All @@ -78,8 +77,6 @@ RUN 7z.exe x C:\TEMP\zlib.7z -aoa -oC:\xmllint
RUN 7z.exe x C:\TEMP\iconv.7z -aoa -oC:\xmllint
RUN 7z.exe x C:\TEMP\opencv.zip -aoa -oC:\

RUN 7z.exe x C:\TEMP\OpenSplice.zip -aoa -oC:\opensplice

# Environment setup
ENV OPENSSL_CONF "C:\Program Files\OpenSSL-Win64\bin\openssl.cfg"
ENV OpenCV_DIR C:\opencv
Expand Down Expand Up @@ -120,8 +117,8 @@ ENV RTI_LICENSE_FILE C:\connext\rti_license.dat

COPY rticonnextdds-src\openssl-1.0.2n-target-x64Win64VS2017.zip C:\TEMP\connext\
RUN 7z.exe x C:\TEMP\connext\openssl-1.0.2n-target-x64Win64VS2017.zip -aoa -oC:\connext\
ENV RTI_OPENSSL_BIN C:\connext\openssl-1.0.2n\x64Win64VS2017\release\bin
ENV RTI_OPENSSL_LIBS C:\connext\openssl-1.0.2n\x64Win64VS2017\release\lib
ENV RTI_OPENSSL_BIN C:\OpenSSL-Win64\bin
ENV RTI_OPENSSL_LIBS C:\OpenSSL-Win64\bin

COPY rticonnextdds-src\rti_connext_dds-5.3.1-pro-host-x64Win64.exe.??? C:\TEMP\connext\
RUN copy /b C:\TEMP\connext\rti_connext_dds-5.3.1-pro-host-x64Win64.exe.??? C:\TEMP\connext\rti_connext_dds-5.3.1-pro-host-x64Win64.exe
Expand Down