Skip to content

Commit 64acd44

Browse files
author
Zachary Scott
committed
Merge pull request ruby#1 from hsbt/update-packages
Update packages
2 parents e26d901 + 32f41df commit 64acd44

File tree

1 file changed

+23
-14
lines changed

1 file changed

+23
-14
lines changed

Dockerfile

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,43 +20,52 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2020

2121
# Supported OpenSSL versions: 1.0.0, 1.0.1, 1.0.2
2222
RUN mkdir -p /build/openssl && \
23-
curl -s https://www.openssl.org/source/openssl-1.0.0s.tar.gz | tar -C /build/openssl -xzf - && \
24-
cd build/openssl/openssl-1.0.0s && \
23+
curl -s https://www.openssl.org/source/openssl-1.0.0t.tar.gz | tar -C /build/openssl -xzf - && \
24+
cd build/openssl/openssl-1.0.0t && \
2525
./config \
26-
--openssldir=/opt/openssl/openssl-1.0.0s \
26+
--openssldir=/opt/openssl/openssl-1.0.0t \
2727
shared && \
2828
make && make install
2929

30-
RUN curl -s https://www.openssl.org/source/openssl-1.0.1p.tar.gz | tar -C /build/openssl -xzf - && \
31-
cd build/openssl/openssl-1.0.1p && \
30+
RUN curl -s https://www.openssl.org/source/openssl-1.0.1q.tar.gz | tar -C /build/openssl -xzf - && \
31+
cd build/openssl/openssl-1.0.1q && \
3232
./config \
33-
--openssldir=/opt/openssl/openssl-1.0.1p \
33+
--openssldir=/opt/openssl/openssl-1.0.1q \
3434
shared && \
3535
make && make install
3636

37-
RUN curl -s https://www.openssl.org/source/openssl-1.0.2d.tar.gz | tar -C /build/openssl -xzf - && \
38-
cd build/openssl/openssl-1.0.2d && \
37+
RUN curl -s https://www.openssl.org/source/openssl-1.0.2e.tar.gz | tar -C /build/openssl -xzf - && \
38+
cd build/openssl/openssl-1.0.2e && \
3939
./config \
40-
--openssldir=/opt/openssl/openssl-1.0.2d \
40+
--openssldir=/opt/openssl/openssl-1.0.2e \
4141
shared && \
4242
make && make install
4343

44+
# Supported libressl versions: 2.1.9, 2.2.5, 2.3.1
4445
RUN mkdir -p /build/libressl
46+
RUN curl -s http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.1.9.tar.gz | tar -C /build/libressl -xzf -
47+
RUN cd /build/libressl/libressl-2.1.9 && \
48+
./configure --prefix=/opt/libressl/libressl-2.1.9 && make && make install
49+
50+
RUN curl -s http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.2.5.tar.gz | tar -C /build/libressl -xzf -
51+
RUN cd /build/libressl/libressl-2.2.5 && \
52+
./configure --prefix=/opt/libressl/libressl-2.2.5 && make && make install
53+
4554
RUN curl -s http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.3.1.tar.gz | tar -C /build/libressl -xzf -
4655
RUN cd /build/libressl/libressl-2.3.1 && \
4756
./configure --prefix=/opt/libressl/libressl-2.3.1 && make && make install
4857

49-
# Supported Ruby versions: 2.2.3
58+
# Supported Ruby versions: 2.3.0
5059
RUN mkdir -p /build/ruby && \
51-
curl -s https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.3.tar.gz | tar -C /build/ruby -xzf - && \
52-
cd /build/ruby/ruby-2.2.3 && \
60+
curl -s https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.3.0.tar.gz | tar -C /build/ruby -xzf - && \
61+
cd /build/ruby/ruby-2.3.0 && \
5362
autoconf && ./configure \
5463
--without-openssl \
55-
--prefix=/opt/ruby/ruby-2.2.3 \
64+
--prefix=/opt/ruby/ruby-2.3.0 \
5665
--disable-install-doc && \
5766
make && make install
5867

59-
ENV PATH /opt/ruby/ruby-2.2.3/bin:$PATH
68+
ENV PATH /opt/ruby/ruby-2.3.0/bin:$PATH
6069

6170
ONBUILD WORKDIR /home/openssl/code
6271

0 commit comments

Comments
 (0)