From aa323c7814dbdc013b52a1bdca35b5c31cc37a8c Mon Sep 17 00:00:00 2001 From: "daniel.burt" Date: Mon, 19 Sep 2016 17:48:46 -0700 Subject: [PATCH] Switched to https when fetching Ruby --- 2.1/Dockerfile | 2 +- 2.1/alpine/Dockerfile | 2 +- 2.1/slim/Dockerfile | 2 +- 2.2/Dockerfile | 2 +- 2.2/alpine/Dockerfile | 2 +- 2.2/slim/Dockerfile | 2 +- 2.3/Dockerfile | 2 +- 2.3/alpine/Dockerfile | 2 +- 2.3/slim/Dockerfile | 2 +- Dockerfile-alpine.template | 2 +- Dockerfile-slim.template | 2 +- Dockerfile.template | 2 +- update.sh | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/2.1/Dockerfile b/2.1/Dockerfile index 85795db1a..d6a133025 100644 --- a/2.1/Dockerfile +++ b/2.1/Dockerfile @@ -23,7 +23,7 @@ RUN set -ex \ && apt-get update \ && apt-get install -y --no-install-recommends $buildDeps \ && rm -rf /var/lib/apt/lists/* \ - && curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ + && curl -fSL -o ruby.tar.gz "https://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ && echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \ && mkdir -p /usr/src/ruby \ && tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \ diff --git a/2.1/alpine/Dockerfile b/2.1/alpine/Dockerfile index 1a62b5ef0..c6be4f982 100644 --- a/2.1/alpine/Dockerfile +++ b/2.1/alpine/Dockerfile @@ -40,7 +40,7 @@ RUN set -ex \ ruby \ yaml-dev \ zlib-dev \ - && curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ + && curl -fSL -o ruby.tar.gz "https://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ && echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \ && mkdir -p /usr/src \ && tar -xzf ruby.tar.gz -C /usr/src \ diff --git a/2.1/slim/Dockerfile b/2.1/slim/Dockerfile index cb8135e34..3891b3eff 100644 --- a/2.1/slim/Dockerfile +++ b/2.1/slim/Dockerfile @@ -45,7 +45,7 @@ RUN set -ex \ && apt-get update \ && apt-get install -y --no-install-recommends $buildDeps \ && rm -rf /var/lib/apt/lists/* \ - && curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ + && curl -fSL -o ruby.tar.gz "https://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ && echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \ && mkdir -p /usr/src/ruby \ && tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \ diff --git a/2.2/Dockerfile b/2.2/Dockerfile index da22f000b..87a42f4f4 100644 --- a/2.2/Dockerfile +++ b/2.2/Dockerfile @@ -23,7 +23,7 @@ RUN set -ex \ && apt-get update \ && apt-get install -y --no-install-recommends $buildDeps \ && rm -rf /var/lib/apt/lists/* \ - && curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ + && curl -fSL -o ruby.tar.gz "https://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ && echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \ && mkdir -p /usr/src/ruby \ && tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \ diff --git a/2.2/alpine/Dockerfile b/2.2/alpine/Dockerfile index 1775f123b..10b280d42 100644 --- a/2.2/alpine/Dockerfile +++ b/2.2/alpine/Dockerfile @@ -40,7 +40,7 @@ RUN set -ex \ ruby \ yaml-dev \ zlib-dev \ - && curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ + && curl -fSL -o ruby.tar.gz "https://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ && echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \ && mkdir -p /usr/src \ && tar -xzf ruby.tar.gz -C /usr/src \ diff --git a/2.2/slim/Dockerfile b/2.2/slim/Dockerfile index 1e2f8775f..778be2b51 100644 --- a/2.2/slim/Dockerfile +++ b/2.2/slim/Dockerfile @@ -45,7 +45,7 @@ RUN set -ex \ && apt-get update \ && apt-get install -y --no-install-recommends $buildDeps \ && rm -rf /var/lib/apt/lists/* \ - && curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ + && curl -fSL -o ruby.tar.gz "https://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ && echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \ && mkdir -p /usr/src/ruby \ && tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \ diff --git a/2.3/Dockerfile b/2.3/Dockerfile index 3f3f7aa19..f9efcdcba 100644 --- a/2.3/Dockerfile +++ b/2.3/Dockerfile @@ -23,7 +23,7 @@ RUN set -ex \ && apt-get update \ && apt-get install -y --no-install-recommends $buildDeps \ && rm -rf /var/lib/apt/lists/* \ - && curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ + && curl -fSL -o ruby.tar.gz "https://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ && echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \ && mkdir -p /usr/src/ruby \ && tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \ diff --git a/2.3/alpine/Dockerfile b/2.3/alpine/Dockerfile index 2f5f16071..c6af6df7f 100644 --- a/2.3/alpine/Dockerfile +++ b/2.3/alpine/Dockerfile @@ -40,7 +40,7 @@ RUN set -ex \ ruby \ yaml-dev \ zlib-dev \ - && curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ + && curl -fSL -o ruby.tar.gz "https://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ && echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \ && mkdir -p /usr/src \ && tar -xzf ruby.tar.gz -C /usr/src \ diff --git a/2.3/slim/Dockerfile b/2.3/slim/Dockerfile index 78e7a46c9..aa51a51cd 100644 --- a/2.3/slim/Dockerfile +++ b/2.3/slim/Dockerfile @@ -45,7 +45,7 @@ RUN set -ex \ && apt-get update \ && apt-get install -y --no-install-recommends $buildDeps \ && rm -rf /var/lib/apt/lists/* \ - && curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ + && curl -fSL -o ruby.tar.gz "https://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ && echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \ && mkdir -p /usr/src/ruby \ && tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \ diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index f90aa8766..85c3f125a 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -40,7 +40,7 @@ RUN set -ex \ ruby \ yaml-dev \ zlib-dev \ - && curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ + && curl -fSL -o ruby.tar.gz "https://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ && echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \ && mkdir -p /usr/src \ && tar -xzf ruby.tar.gz -C /usr/src \ diff --git a/Dockerfile-slim.template b/Dockerfile-slim.template index dd440ce0a..78413a038 100644 --- a/Dockerfile-slim.template +++ b/Dockerfile-slim.template @@ -45,7 +45,7 @@ RUN set -ex \ && apt-get update \ && apt-get install -y --no-install-recommends $buildDeps \ && rm -rf /var/lib/apt/lists/* \ - && curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ + && curl -fSL -o ruby.tar.gz "https://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ && echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \ && mkdir -p /usr/src/ruby \ && tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \ diff --git a/Dockerfile.template b/Dockerfile.template index baf423d17..bbf0b2489 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -23,7 +23,7 @@ RUN set -ex \ && apt-get update \ && apt-get install -y --no-install-recommends $buildDeps \ && rm -rf /var/lib/apt/lists/* \ - && curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ + && curl -fSL -o ruby.tar.gz "https://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ && echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \ && mkdir -p /usr/src/ruby \ && tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \ diff --git a/update.sh b/update.sh index b4e8aeea6..70a1b03f0 100755 --- a/update.sh +++ b/update.sh @@ -20,7 +20,7 @@ bundler="$(latest_gem_version bundler)" travisEnv= for version in "${versions[@]}"; do IFS=$'\n'; allVersions=( - $(curl -sSL --compressed "http://cache.ruby-lang.org/pub/ruby/$version/" \ + $(curl -sSL --compressed "https://cache.ruby-lang.org/pub/ruby/$version/" \ | grep -E '