diff options
-rw-r--r-- | .travis.yml | 1 | ||||
-rw-r--r-- | tool/ruby-openssl-docker/Dockerfile | 42 |
2 files changed, 22 insertions, 21 deletions
diff --git a/.travis.yml b/.travis.yml index 99cd60d9..1342da6d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,6 +25,7 @@ matrix: - env: RUBY_VERSION=ruby-2.4 OPENSSL_VERSION=libressl-2.3 - env: RUBY_VERSION=ruby-2.4 OPENSSL_VERSION=libressl-2.4 - env: RUBY_VERSION=ruby-2.4 OPENSSL_VERSION=libressl-2.5 + - env: RUBY_VERSION=ruby-2.4 OPENSSL_VERSION=libressl-2.6 - language: ruby rvm: ruby-head before_install: diff --git a/tool/ruby-openssl-docker/Dockerfile b/tool/ruby-openssl-docker/Dockerfile index 0bafbaae..b8ed4bca 100644 --- a/tool/ruby-openssl-docker/Dockerfile +++ b/tool/ruby-openssl-docker/Dockerfile @@ -1,22 +1,16 @@ -FROM ubuntu:14.04 +FROM ubuntu:16.04 RUN apt-get update && apt-get install -y --no-install-recommends \ autoconf \ bison \ build-essential \ - bzip2 \ ca-certificates \ - cpio \ curl \ - file \ - git \ gzip \ libreadline-dev \ - make \ patch \ pkg-config \ sed \ - xz-utils \ zlib1g-dev # Supported OpenSSL versions: 1.0.1- @@ -35,15 +29,15 @@ RUN curl -s https://www.openssl.org/source/openssl-1.0.1u.tar.gz | tar -C /build shared linux-x86_64 && \ make && make install_sw -RUN curl -s https://www.openssl.org/source/openssl-1.0.2k.tar.gz | tar -C /build/openssl -xzf - && \ - cd /build/openssl/openssl-1.0.2k && \ +RUN curl -s https://www.openssl.org/source/openssl-1.0.2l.tar.gz | tar -C /build/openssl -xzf - && \ + cd /build/openssl/openssl-1.0.2l && \ ./Configure \ --openssldir=/opt/openssl/openssl-1.0.2 \ shared linux-x86_64 && \ make && make install_sw -RUN curl -s https://www.openssl.org/source/openssl-1.1.0e.tar.gz | tar -C /build/openssl -xzf - && \ - cd /build/openssl/openssl-1.1.0e && \ +RUN curl -s https://www.openssl.org/source/openssl-1.1.0f.tar.gz | tar -C /build/openssl -xzf - && \ + cd /build/openssl/openssl-1.1.0f && \ ./Configure \ --prefix=/opt/openssl/openssl-1.1.0 \ enable-crypto-mdebug enable-crypto-mdebug-backtrace \ @@ -51,36 +45,42 @@ RUN curl -s https://www.openssl.org/source/openssl-1.1.0e.tar.gz | tar -C /build make && make install_sw # Supported libressl versions: 2.3- -RUN curl -s http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.3.10.tar.gz | tar -C /build/openssl -xzf - -RUN cd /build/openssl/libressl-2.3.10 && \ +RUN curl -s http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.3.10.tar.gz | tar -C /build/openssl -xzf - && \ + cd /build/openssl/libressl-2.3.10 && \ ./configure \ --prefix=/opt/openssl/libressl-2.3 && \ make && make install -RUN curl -s http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.4.5.tar.gz | tar -C /build/openssl -xzf - -RUN cd /build/openssl/libressl-2.4.5 && \ +RUN curl -s http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.4.5.tar.gz | tar -C /build/openssl -xzf - && \ + cd /build/openssl/libressl-2.4.5 && \ ./configure \ --prefix=/opt/openssl/libressl-2.4 && \ make && make install -RUN curl -s http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.5.4.tar.gz | tar -C /build/openssl -xzf - -RUN cd /build/openssl/libressl-2.5.4 && \ +RUN curl -s http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.5.5.tar.gz | tar -C /build/openssl -xzf - && \ + cd /build/openssl/libressl-2.5.5 && \ ./configure \ --prefix=/opt/openssl/libressl-2.5 && \ make && make install +RUN curl -s http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.6.1.tar.gz | tar -C /build/openssl -xzf - && \ + cd /build/openssl/libressl-2.6.1 && \ + ./configure \ + --prefix=/opt/openssl/libressl-2.6 && \ + make && make install + # Supported Ruby versions: 2.3- RUN mkdir -p /build/ruby -RUN curl -s https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.4.tar.gz | tar -C /build/ruby -xzf - && \ - cd /build/ruby/ruby-2.3.4 && \ +RUN curl -s https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.5.tar.gz | tar -C /build/ruby -xzf - && \ + cd /build/ruby/ruby-2.3.5 && \ autoconf && ./configure \ --without-openssl \ --prefix=/opt/ruby/ruby-2.3 \ --disable-install-doc && \ make && make install -RUN curl -s https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.1.tar.gz | tar -C /build/ruby -xzf - && \ - cd /build/ruby/ruby-2.4.1 && \ +RUN curl -s https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.2.tar.gz | tar -C /build/ruby -xzf - && \ + cd /build/ruby/ruby-2.4.2 && \ autoconf && ./configure \ --without-openssl \ --prefix=/opt/ruby/ruby-2.4 \ |