Skip to content

Commit aa858cc

Browse files
committedJul 22, 2020
feat(deps): upgrade to rack 13.0
1 parent 13d81e4 commit aa858cc

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed
 

Diff for: ‎Dockerfile

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:2.6.4-alpine
1+
FROM ruby:2.6.6-alpine
22

33
# Installation path
44
ENV HOME=/pact_broker
@@ -7,17 +7,21 @@ ENV HOME=/pact_broker
77
RUN set -ex && \
88
adduser -h $HOME -s /bin/false -D -S -G root ruby && \
99
chmod g+w $HOME && \
10-
apk add --update --no-cache make gcc libc-dev mariadb-dev postgresql-dev sqlite-dev
10+
apk add --update --no-cache make gcc libc-dev mariadb-dev postgresql-dev sqlite-dev git
1111

1212
# Install Gems
1313
WORKDIR $HOME
1414
COPY pact_broker/Gemfile pact_broker/Gemfile.lock $HOME/
1515
RUN cat Gemfile.lock | grep -A1 "BUNDLED WITH" | tail -n1 | awk '{print $1}' > BUNDLER_VERSION
1616
RUN set -ex && \
1717
gem install bundler -v $(cat BUNDLER_VERSION) && \
18-
bundle install --no-cache --deployment --without='development test' && \
18+
ls /usr/local/lib/ruby/gems/2.6.0 && \
19+
gem uninstall --install-dir /usr/local/lib/ruby/gems/2.6.0 -x rake && \
20+
bundle config set deployment 'true' && \
21+
bundle config set no-cache 'true' && \
22+
bundle install --without='development test' && \
1923
rm -rf vendor/bundle/ruby/*/cache .bundle/cache && \
20-
apk del make gcc libc-dev
24+
apk del make gcc libc-dev git
2125

2226
# Install source
2327
COPY pact_broker $HOME/

Diff for: ‎pact_broker/Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ gem "pg", "~>1.0"
55
gem "puma", "~> 3.12"
66
gem "mysql2", "~>0.3"
77
gem "sqlite3", "~>1.3"
8+
gem "rake", "~> 13.0"

Diff for: ‎pact_broker/Gemfile.lock

+2
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ GEM
105105
rack (2.2.3)
106106
rack-protection (2.0.8.1)
107107
rack
108+
rake (13.0.1)
108109
randexp (0.1.7)
109110
redcarpet (3.5.0)
110111
reform (2.3.3)
@@ -170,6 +171,7 @@ DEPENDENCIES
170171
pact_broker
171172
pg (~> 1.0)
172173
puma (~> 3.12)
174+
rake (~> 13.0)
173175
sqlite3 (~> 1.3)
174176

175177
BUNDLED WITH

3 commit comments

Comments
 (3)

msudeepta commented on Jul 23, 2020

@msudeepta

Hi @bethesque , any idea when we can get this image published ?

samzee commented on Jul 24, 2020

@samzee

hi @bethesque , i am new to Github, When will the image be published with these changes? how does this process work , do we need to do anything or is it automatic, thanks.

bethesque commented on Jul 25, 2020

@bethesque
MemberAuthor

It's out now. Grab pactfoundation/pact-broker:2.58.3.0

Please sign in to comment.