Skip to content

Commit

Permalink
Update local Dockerfile used for spec changes to be in line with gi…
Browse files Browse the repository at this point in the history
…thub 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.
  • Loading branch information
bishabosha authored Feb 21, 2024
2 parents 3154086 + 586ac06 commit 4e6a502
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/_spec/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ RUN apt-get install -y curl \
&& apt-get install -y nodejs \
&& curl -L https://www.npmjs.com/install.sh | sh

RUN gem update --system
RUN gem install "rubygems-update:<3.5" --no-document
RUN update_rubygems

RUN gem install sass-embedded -v 1.58.0
RUN gem install bundler:1.17.2 jekyll
RUN gem install bundler:2.3.5

WORKDIR /srv/jekyll

Expand Down
1 change: 1 addition & 0 deletions docs/_spec/Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# To build the spec on Travis CI
source "https://rubygems.org"
ruby "~> 2.7"

gem "jekyll", "3.6.3"
gem "webrick"
Expand Down

0 comments on commit 4e6a502

Please sign in to comment.