Skip to content

Commit 586ac06

Browse files
committed
Update local Dockerfile to be in line with github workflows
1 parent 9e3ce5e commit 586ac06

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

docs/_spec/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ RUN apt-get install -y curl \
77
&& apt-get install -y nodejs \
88
&& curl -L https://www.npmjs.com/install.sh | sh
99

10-
RUN gem update --system
10+
RUN gem install "rubygems-update:<3.5" --no-document
11+
RUN update_rubygems
12+
1113
RUN gem install sass-embedded -v 1.58.0
12-
RUN gem install bundler:1.17.2 jekyll
14+
RUN gem install bundler:2.3.5
1315

1416
WORKDIR /srv/jekyll
1517

docs/_spec/Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# To build the spec on Travis CI
22
source "https://rubygems.org"
3+
ruby "~> 2.7"
34

45
gem "jekyll", "3.6.3"
56
gem "webrick"

0 commit comments

Comments
 (0)