File tree Expand file tree Collapse file tree 4 files changed +16
-6
lines changed Expand file tree Collapse file tree 4 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,21 @@ RUN useradd --create-home --shell /bin/bash $USER && \
1010WORKDIR /home/$USER/site
1111
1212RUN apt-get update
13- RUN apt-get install -y ruby-full && gem install bundler
14- RUN python -m pip install --upgrade pip
13+
14+ # Install rvm (https://rvm.io/rvm/install#install-gpg-keys)
15+ RUN gpg --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
16+ RUN curl -sSL https://get.rvm.io | bash -s stable
17+ RUN echo 'source /usr/local/rvm/scripts/rvm' >> /etc/bash.bashrc
18+
19+ # Install Ruby, Bundler, and dependencies
20+ COPY .ruby-version .ruby-version
1521COPY Gemfile Gemfile
1622COPY Gemfile.lock Gemfile.lock
17- RUN bundle install
23+ RUN /bin/bash -l -c 'rvm install $(cat .ruby-version | tr -d " \n ") && gem install bundler && bundle install'
1824
25+ # Install Python dependencies
1926COPY .devcontainer/requirements.txt .devcontainer/requirements.txt
27+ RUN python -m pip install --upgrade pip
2028RUN pip install --no-cache-dir -r .devcontainer/requirements.txt
2129
2230USER $USER
Original file line number Diff line number Diff line change 1+ 3.4.5
Original file line number Diff line number Diff line change 11source "https://rubygems.org"
22
3+ gem "bigdecimal" , "~> 3.2.2"
34gem "jekyll" , "~> 4.4.1"
45gem "jekyll-feed"
56gem "jekyll-sass-converter" , "2.2.0"
Original file line number Diff line number Diff line change 44 addressable (2.8.7 )
55 public_suffix (>= 2.0.2 , < 7.0 )
66 base64 (0.2.0 )
7+ bigdecimal (3.2.2 )
78 colorator (1.1.0 )
89 concurrent-ruby (1.3.5 )
910 csv (3.3.2 )
1011 em-websocket (0.5.3 )
1112 eventmachine (>= 0.12.9 )
1213 http_parser.rb (~> 0 )
1314 eventmachine (1.2.7 )
14- ffi (1.17.1-aarch64-linux-gnu )
15- ffi (1.17.1-x86_64-linux-gnu )
16- ffi (1.17.1-x86_64-linux-musl )
15+ ffi (1.17.1 )
1716 forwardable-extended (2.6.0 )
1817 http_parser.rb (0.8.0 )
1918 i18n (1.14.7 )
@@ -75,6 +74,7 @@ PLATFORMS
7574 x86_64-linux-musl
7675
7776DEPENDENCIES
77+ bigdecimal (~> 3.2.2 )
7878 jekyll (~> 4.4.1 )
7979 jekyll-feed
8080 jekyll-sass-converter (= 2.2.0 )
You can’t perform that action at this time.
0 commit comments