Skip to content

Commit e03f486

Browse files
committed
Update to ruby 2.4.5
1 parent ac831d1 commit e03f486

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
# see https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/ for Dockerfile best practices
22

33
# build me with:
4-
# docker build -t "juicymo/drone-ruby:2.5.1" .
4+
# docker build -t "juicymo/drone-ruby:2.4.5" .
55

6-
FROM alpine:3.8
6+
FROM ruby:2.4.5-alpine3.8
77
MAINTAINER Tomas Jukin <tomas.jukin@juicymo.cz>
88

9-
RUN apk add --no-cache ruby=2.5.1-r2 ruby-bundler ruby-dev ruby-irb ruby-json ruby-rake ruby-rdoc
10-
119
ENV BUILD_PACKAGES curl-dev build-base bash cmake clang clang-dev make gcc g++ libc-dev linux-headers
1210
ENV RUBY_PACKAGES cairo-dev postgresql-dev tzdata wget postgresql=10.5-r0
1311
ENV WKHTMLTOPDF_PACKAGES gtk+ glib ttf-freefont fontconfig dbus

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This is a Ruby image for [Drone](https://github.com/drone/drone), inspired by [4
1717

1818
Intent of this image is CI testing of Ruby or Rails projects with Drone.
1919

20-
This image supports `Drone 0.7.0` and `MRI Ruby 2.5.1`:
20+
This image supports `Drone 0.7.0` and `MRI Ruby 2.4.5`:
2121

2222
It has a [bundler](http://bundler.io/) installed.
2323

@@ -41,7 +41,7 @@ pipeline:
4141
- /tmp/cache:/cache
4242

4343
build:
44-
image: juicymo/drone-ruby
44+
image: juicymo/drone-ruby:2.4.5
4545
environment:
4646
- RAILS_ENV=test
4747
commands:
@@ -57,7 +57,7 @@ pipeline:
5757
- /tmp/cache:/cache
5858

5959
test:
60-
image: juicymo/drone-ruby
60+
image: juicymo/drone-ruby:2.4.5
6161
environment:
6262
- RAILS_ENV=test
6363
- DB_HOST=database

0 commit comments

Comments
 (0)