diff --git a/9000/alpine-jdk/Dockerfile b/9000/alpine-jdk/Dockerfile index 040f8f9..83dcb3b 100644 --- a/9000/alpine-jdk/Dockerfile +++ b/9000/alpine-jdk/Dockerfile @@ -1,11 +1,13 @@ -FROM openjdk:8-jdk-alpine +# Update this to bump the java version +FROM openjdk:13-jdk-alpine RUN apk add --no-cache \ bash \ libc6-compat -ENV JRUBY_VERSION 9.2.11.1 -ENV JRUBY_SHA256 f10449c82567133908e5e1ac076438307a7f0916f617f40fa314b78873a195dc +# Update these two values to bump the JRuby version, get values from https://repo1.maven.org/maven2/org/jruby/jruby-dist/ +ENV JRUBY_VERSION 9.2.16.0 +ENV JRUBY_SHA256 5ae27f149f73f3fea4f34359cbb773c25d9d987e72b5edec9e8b93957997eb30 RUN apk add --no-cache --virtual .build-deps \ curl \ diff --git a/README.md b/README.md index 671d94c..ecef8d0 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ -JRuby Docker Image +Finalsite JRuby Docker Image =================== -Builds jruby docker images. - -To update the images, specify the version in `/VERSION`. This should be -the full version. +1. Update 9000/alpine-jdk/Dockerfile to the desired java/jruby versions +2. Build and tag the container: `docker build . -t {dev docker repo}/builds/jruby:{jrubyversion}-jdk-alpine` +3. Push the new image: `docker push {dev docker repo}/builds/jruby:{jrubyversion}-jdk-alpine`