Skip to content

Commit 4e6a502

Browse files
authored
Update local Dockerfile used for spec changes to be in line with github workflows (#19718)
Currently the local server for the spec fails to build with the same issue as in #19288 on a fresh docker build. This is the minimum amount of changes to actually get the spec building for users to make changes. I highly recommend updating all the versions when #19716 is finished.
2 parents 3154086 + 586ac06 commit 4e6a502

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

docs/_spec/Dockerfile

+4-2
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

+1
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)