Skip to content

Commit

Permalink
website: FROM ruby:3.2.2 , Gemfile added
Browse files Browse the repository at this point in the history
  • Loading branch information
smatvienko-tb committed Nov 19, 2024
1 parent 2e5ef7e commit 8ce2538
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 18 deletions.
29 changes: 11 additions & 18 deletions website/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,20 @@
# limitations under the License.
#

FROM ruby:2.7.7
FROM ruby:3.2.2

RUN apt-get update \
&& apt-get upgrade --yes \
&& apt-get autoremove --purge --yes \
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
software-properties-common make g++ graphicsmagick-imagemagick-compat\
software-properties-common make g++ graphicsmagick-imagemagick-compat \
&& apt-get autoremove --purge --yes \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& gem install bundler -v 2.1.4 --no-document \
&& gem install ffi -v 1.16.3 --no-document \
&& gem install public_suffix -v 5.1.1 --no-document \
&& gem list '^jekyll$' --remote --all \
&& gem install jekyll -v 3.9.5 --no-document \
&& gem install nokogiri -v 1.15.5 --no-document \
&& gem install faraday-net_http -v 3.0.2 --no-document \
&& gem install faraday -v 2.8.1 --no-document \
&& gem install activesupport -v 7.1.4 --no-document \
&& gem list '^github-pages$' --remote --all \
&& gem install github-pages -v 231 --no-document \
&& echo 'done'
&& rm -rf /var/lib/apt/lists/*

COPY Gemfile ./Gemfile

RUN cat Gemfile \
&& bundle install \
&& cat Gemfile.lock

WORKDIR /website/

Expand Down
5 changes: 5 additions & 0 deletions website/docker/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This file should by in sync with https://github.com/thingsboard/thingsboard.github.io/blob/master/Gemfile
source "https://rubygems.org"

gem "github-pages", "~> 232", group: :jekyll_plugins
gem 'webrick', "~> 1.8.1"

0 comments on commit 8ce2538

Please sign in to comment.