Skip to content

Commit

Permalink
Explicitly install nokorigi with required platform within Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
StackedPancakez authored and Tope Emmanuel committed Nov 27, 2023
1 parent 3d142b6 commit 82585f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ RUN yarn install && yarn cache clean
# Install Gems removing artifacts
COPY .ruby-version Gemfile Gemfile.lock ./
# hadolint ignore=SC2046
RUN gem install bundler --version='~> 2.3.4' && \
RUN gem install nokogiri --version 1.15.3 --platform x86_64-linux && \
gem install bundler --version='~> 2.3.4' && \
bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java && \
bundle install --jobs=$(nproc --all) && \
rm -rf /root/.bundle/cache && \
Expand Down

0 comments on commit 82585f1

Please sign in to comment.