Skip to content

Commit

Permalink
ansible: upgrade to OpenSSL 1.1.0i & 1.0.2p in sharedlibs
Browse files Browse the repository at this point in the history
OpenSSL 1.1.1-pre8 too
  • Loading branch information
rvagg committed Aug 15, 2018
1 parent 63c2e26 commit d2cd05b
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions ansible/roles/docker/templates/ubuntu1604_sharedlibs.Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -31,35 +31,35 @@ RUN addgroup --gid {{ server_user_gid.stdout_lines[0] }} {{ server_user }}

RUN adduser --gid {{ server_user_gid.stdout_lines[0] }} --uid {{ server_user_uid.stdout_lines[0] }} --disabled-password --gecos {{ server_user }} {{ server_user }}

ENV OPENSSL102DIR /opt/openssl-1.0.2n
ENV OPENSSL102DIR /opt/openssl-1.0.2p

RUN mkdir -p /tmp/openssl_1.0.2n && \
cd /tmp/openssl_1.0.2n && \
curl -sL https://github.com/openssl/openssl/archive/OpenSSL_1_0_2n.tar.gz | tar zxv --strip=1 && \
RUN mkdir -p /tmp/openssl_1.0.2p && \
cd /tmp/openssl_1.0.2p && \
curl -sL https://github.com/openssl/openssl/archive/OpenSSL_1_0_2p.tar.gz | tar zxv --strip=1 && \
./Configure shared linux-x86_64 --prefix=$OPENSSL102DIR -fPIC && \
make -j 6 && \
make install && \
rm -rf /tmp/openssl_1.0.2n
rm -rf /tmp/openssl_1.0.2p

ENV OPENSSL110DIR /opt/openssl-1.1.0g
ENV OPENSSL110DIR /opt/openssl-1.1.0i

RUN mkdir -p /tmp/openssl_1.1.0g && \
cd /tmp/openssl_1.1.0g && \
curl -sL https://github.com/openssl/openssl/archive/OpenSSL_1_1_0g.tar.gz | tar zxv --strip=1 && \
RUN mkdir -p /tmp/openssl_1.1.0i && \
cd /tmp/openssl_1.1.0i && \
curl -sL https://github.com/openssl/openssl/archive/OpenSSL_1_1_0i.tar.gz | tar zxv --strip=1 && \
./config --prefix=$OPENSSL110DIR && \
make -j 6 && \
make install && \
rm -rf /tmp/openssl_1.1.0g
rm -rf /tmp/openssl_1.1.0i

ENV OPENSSL111DIR /opt/openssl-1.1.1-pre1
ENV OPENSSL111DIR /opt/openssl-1.1.1-pre8

RUN mkdir -p /tmp/openssl_1.1.1-pre1 && \
cd /tmp/openssl_1.1.1-pre1 && \
curl -sL https://github.com/openssl/openssl/archive/OpenSSL_1_1_1-pre1.tar.gz | tar zxv --strip=1 && \
RUN mkdir -p /tmp/openssl_1.1.1-pre8 && \
cd /tmp/openssl_1.1.1-pre8 && \
curl -sL https://github.com/openssl/openssl/archive/OpenSSL_1_1_1-pre8.tar.gz | tar zxv --strip=1 && \
./config --prefix=$OPENSSL111DIR && \
make -j 6 && \
make install && \
rm -rf /tmp/openssl_1.1.1-pre1
rm -rf /tmp/openssl_1.1.1-pre8

ENV FIPS20DIR /opt/openssl-fips_2.0.16

Expand Down

0 comments on commit d2cd05b

Please sign in to comment.