Skip to content

Commit

Permalink
installing dependent lib to install openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshGandhi-AWS committed Dec 7, 2023
1 parent 7095fb6 commit f708cde
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ RUN yum -y update \
gcc-c++ \
softhsm \
zlib-devel \
perl-IPC-Cmd \
&& yum clean all \
&& rm -rf /var/cache/yum

Expand Down
21 changes: 11 additions & 10 deletions .github/docker-images/base-images/device-client/ubi8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,29 @@ RUN yum -y update \
make \
gcc \
gcc-c++ \
perl-IPC-Cmd \
&& yum clean all \
&& rm -rf /var/cache/yum

###############################################################################
# Install pre-built CMake
# Install OpenSSL 3.0.8
###############################################################################
WORKDIR /tmp
RUN curl -sSL https://github.com/Kitware/CMake/releases/download/v3.10.0/cmake-3.10.0.tar.gz -o cmake-3.10.0.tar.gz \
&& tar -zxvf cmake-3.10.0.tar.gz \
&& cd cmake-3.10.0 \
&& ./bootstrap \
RUN wget https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz \
&& tar -zxvf openssl-${OPENSSL_VERSION}.tar.gz \
&& cd openssl-${OPENSSL_VERSION} \
&& ./config \
&& make \
&& make install

###############################################################################
# Install OpenSSL 3.0.8
# Install pre-built CMake
###############################################################################
WORKDIR /tmp
RUN wget https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz \
&& tar -zxvf openssl-${OPENSSL_VERSION}.tar.gz \
&& cd openssl-${OPENSSL_VERSION} \
&& ./config \
RUN curl -sSL https://github.com/Kitware/CMake/releases/download/v3.10.0/cmake-3.10.0.tar.gz -o cmake-3.10.0.tar.gz \
&& tar -zxvf cmake-3.10.0.tar.gz \
&& cd cmake-3.10.0 \
&& ./bootstrap \
&& make \
&& make install

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN apt-get update -qq \
libc6-dbg \
softhsm \
zlib1g-dev \
libssl-dev \
&& apt-get clean

###############################################################################
Expand Down

0 comments on commit f708cde

Please sign in to comment.