Skip to content

Commit

Permalink
Bump version to 9.1.8.0 and 1.7.26
Browse files Browse the repository at this point in the history
Also adds version updater script.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
  • Loading branch information
cpuguy83 committed Mar 6, 2017
1 parent abbb7c8 commit 044aee8
Show file tree
Hide file tree
Showing 13 changed files with 68 additions and 16 deletions.
1 change: 1 addition & 0 deletions 1.7/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.7.26
4 changes: 2 additions & 2 deletions 1.7/alpine-jdk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ RUN apk add --no-cache \
bash \
libc6-compat

ENV JRUBY_VERSION 1.7.25
ENV JRUBY_SHA1 cd15aef419f97cff274491e53fcfb8b88ec36785
ENV JRUBY_VERSION 1.7.26
ENV JRUBY_SHA1 cca25a1ffb8b75a8d4a4d4667e7f6b20341c2b74

RUN apk add --no-cache --virtual .build-deps \
curl \
Expand Down
4 changes: 2 additions & 2 deletions 1.7/alpine-jre/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ RUN apk add --no-cache \
bash \
libc6-compat

ENV JRUBY_VERSION 1.7.25
ENV JRUBY_SHA1 cd15aef419f97cff274491e53fcfb8b88ec36785
ENV JRUBY_VERSION 1.7.26
ENV JRUBY_SHA1 cca25a1ffb8b75a8d4a4d4667e7f6b20341c2b74

RUN apk add --no-cache --virtual .build-deps \
curl \
Expand Down
4 changes: 2 additions & 2 deletions 1.7/jdk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ FROM openjdk:8-jdk

RUN apt-get update && apt-get install -y libc6-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*

ENV JRUBY_VERSION 1.7.25
ENV JRUBY_SHA1 cd15aef419f97cff274491e53fcfb8b88ec36785
ENV JRUBY_VERSION 1.7.26
ENV JRUBY_SHA1 cca25a1ffb8b75a8d4a4d4667e7f6b20341c2b74
RUN mkdir /opt/jruby \
&& curl -fSL https://s3.amazonaws.com/jruby.org/downloads/${JRUBY_VERSION}/jruby-bin-${JRUBY_VERSION}.tar.gz -o /tmp/jruby.tar.gz \
&& echo "$JRUBY_SHA1 /tmp/jruby.tar.gz" | sha1sum -c - \
Expand Down
4 changes: 2 additions & 2 deletions 1.7/jre/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ FROM openjdk:8-jre

RUN apt-get update && apt-get install -y libc6-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*

ENV JRUBY_VERSION 1.7.25
ENV JRUBY_SHA1 cd15aef419f97cff274491e53fcfb8b88ec36785
ENV JRUBY_VERSION 1.7.26
ENV JRUBY_SHA1 cca25a1ffb8b75a8d4a4d4667e7f6b20341c2b74
RUN mkdir /opt/jruby \
&& curl -fSL https://s3.amazonaws.com/jruby.org/downloads/${JRUBY_VERSION}/jruby-bin-${JRUBY_VERSION}.tar.gz -o /tmp/jruby.tar.gz \
&& echo "$JRUBY_SHA1 /tmp/jruby.tar.gz" | sha1sum -c - \
Expand Down
19 changes: 19 additions & 0 deletions 1.7/update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/sh

(
set -e

JRUBY_VERSION=$(< VERSION)
SHA="$(curl -SLfs https://s3.amazonaws.com/jruby.org/downloads/${JRUBY_VERSION}/jruby-bin-${JRUBY_VERSION}.tar.gz.sha1)"
SHA=$(printf '%s' ${SHA})

for i in $(ls); do
if [ -d "$i" ]; then
echo setting version on "$i/Dockerfile"
sed -i "s/ENV\ JRUBY_VERSION.*/ENV JRUBY_VERSION ${JRUBY_VERSION}/" "$i/Dockerfile"
sed -i "s/ENV\ JRUBY_SHA1.*/ENV JRUBY_SHA1 ${SHA}/" "$i/Dockerfile"
fi
done

echo versions updated to $JRUBY_VERSION @ $SHA
)
1 change: 1 addition & 0 deletions 9000/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9.1.8.0
4 changes: 2 additions & 2 deletions 9000/alpine-jdk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ RUN apk add --no-cache \
bash \
libc6-compat

ENV JRUBY_VERSION 9.1.7.0
ENV JRUBY_SHA256 95ac7d2316fb7698039267265716dd2159fa5b49f0e0dc6e469c80ad59072926
ENV JRUBY_VERSION 9.1.8.0
ENV JRUBY_SHA256 20ac501c99a7cb3cf53ded64ac1b8bb6e0b0f6ba34a41b8bacc9715cd4bb2601

RUN apk add --no-cache --virtual .build-deps \
curl \
Expand Down
4 changes: 2 additions & 2 deletions 9000/alpine-jre/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ RUN apk add --no-cache \
bash \
libc6-compat

ENV JRUBY_VERSION 9.1.7.0
ENV JRUBY_SHA256 95ac7d2316fb7698039267265716dd2159fa5b49f0e0dc6e469c80ad59072926
ENV JRUBY_VERSION 9.1.8.0
ENV JRUBY_SHA256 20ac501c99a7cb3cf53ded64ac1b8bb6e0b0f6ba34a41b8bacc9715cd4bb2601

RUN apk add --no-cache --virtual .build-deps \
curl \
Expand Down
4 changes: 2 additions & 2 deletions 9000/jdk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ FROM openjdk:8-jdk

RUN apt-get update && apt-get install -y libc6-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*

ENV JRUBY_VERSION 9.1.7.0
ENV JRUBY_SHA256 95ac7d2316fb7698039267265716dd2159fa5b49f0e0dc6e469c80ad59072926
ENV JRUBY_VERSION 9.1.8.0
ENV JRUBY_SHA256 20ac501c99a7cb3cf53ded64ac1b8bb6e0b0f6ba34a41b8bacc9715cd4bb2601
RUN mkdir /opt/jruby \
&& curl -fSL https://s3.amazonaws.com/jruby.org/downloads/${JRUBY_VERSION}/jruby-bin-${JRUBY_VERSION}.tar.gz -o /tmp/jruby.tar.gz \
&& echo "$JRUBY_SHA256 /tmp/jruby.tar.gz" | sha256sum -c - \
Expand Down
4 changes: 2 additions & 2 deletions 9000/jre/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ FROM openjdk:8-jre

RUN apt-get update && apt-get install -y libc6-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*

ENV JRUBY_VERSION 9.1.7.0
ENV JRUBY_SHA256 95ac7d2316fb7698039267265716dd2159fa5b49f0e0dc6e469c80ad59072926
ENV JRUBY_VERSION 9.1.8.0
ENV JRUBY_SHA256 20ac501c99a7cb3cf53ded64ac1b8bb6e0b0f6ba34a41b8bacc9715cd4bb2601
RUN mkdir /opt/jruby \
&& curl -fSL https://s3.amazonaws.com/jruby.org/downloads/${JRUBY_VERSION}/jruby-bin-${JRUBY_VERSION}.tar.gz -o /tmp/jruby.tar.gz \
&& echo "$JRUBY_SHA256 /tmp/jruby.tar.gz" | sha256sum -c - \
Expand Down
19 changes: 19 additions & 0 deletions 9000/update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/sh

(
set -e

JRUBY_VERSION=$(< VERSION)
SHA="$(curl -SLfs https://s3.amazonaws.com/jruby.org/downloads/${JRUBY_VERSION}/jruby-bin-${JRUBY_VERSION}.tar.gz.sha256)"
SHA=$(printf '%s' ${SHA})

for i in $(ls); do
if [ -d "$i" ]; then
echo setting version on "$i/Dockerfile"
sed -i "s/ENV\ JRUBY_VERSION.*/ENV JRUBY_VERSION ${JRUBY_VERSION}/" "$i/Dockerfile"
sed -i "s/ENV\ JRUBY_SHA256.*/ENV JRUBY_SHA256 ${SHA}/" "$i/Dockerfile"
fi
done

echo versions updated to $JRUBY_VERSION @ $SHA
)
12 changes: 12 additions & 0 deletions update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh

for i in $(ls); do
if [ -d "$i" ]; then
echo updating versions for "$i"
(
cd $i
./update.sh
echo
)
fi
done

0 comments on commit 044aee8

Please sign in to comment.