File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- FROM ruby:3.0 -slim-buster
1+ FROM ruby:3.2.4 -slim-bookworm
22
33ARG DEBIAN_FRONTEND=noninteractive
44RUN apt-get update && apt-get install -y --no-install-recommends \
55 build-essential \
66 git \
77 python3 \
88 python3-pip \
9+ python3-venv \
910 nodejs
1011
11- # explicit and recent version of pip avoids needing to build wheel deps
12- RUN pip3 install pip==22.3.1
13-
1412WORKDIR /memfault/interrupt
1513
1614COPY Gemfile .
@@ -19,7 +17,8 @@ RUN bundle config force_ruby_platform true
1917RUN bundle install
2018
2119COPY requirements.txt .
22- RUN python3 -m pip install -r requirements.txt
20+ RUN python3 -m venv /venv && . /venv/bin/activate && \
21+ python3 -m pip install -r requirements.txt
2322
2423COPY entrypoint.sh ./entrypoint.sh
2524
Original file line number Diff line number Diff line change 22
33set -euo pipefail
44
5+ . /venv/bin/activate
56bundle exec jekyll serve --host 0.0.0.0 -D " $@ " --trace --future
You can’t perform that action at this time.
0 commit comments