Skip to content

Commit d91a31b

Browse files
upd(build): install p11-kit for chromium
1 parent 330504f commit d91a31b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

images/chromium-headful/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,9 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=private,id=ubuntu2204-aptca
182182
add-apt-repository -y ppa:xtradeb/apps;
183183
RUN --mount=type=cache,target=/var/cache/apt,sharing=private,id=ubuntu2204-aptcache \
184184
--mount=type=cache,target=/var/lib/apt,sharing=private,id=ubuntu2204-aptlib \
185-
apt update -y && apt -y install chromium sqlite3;
185+
apt update -y && \
186+
apt -y install chromium && \
187+
apt --no-install-recommends -y install sqlite3 p11-kit;
186188

187189
# setup desktop env & app
188190
ENV DISPLAY_NUM=1

images/chromium-headless/image/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=private,id=ubuntu2204-aptca
6464
add-apt-repository -y ppa:xtradeb/apps
6565
RUN --mount=type=cache,target=/var/cache/apt,sharing=private,id=ubuntu2204-aptcache \
6666
--mount=type=cache,target=/var/lib/apt,sharing=private,id=ubuntu2204-aptlib \
67-
apt-get update -y && apt-get install -y chromium sqlite3
67+
apt-get update -y && \
68+
apt-get -y install chromium && \
69+
apt-get --no-install-recommends -y install sqlite3 p11-kit;
6870

6971
# Install FFmpeg (latest static build) for the recording server
7072
RUN --mount=type=cache,target=/tmp/cache/ffmpeg,id=ffmpeg \

0 commit comments

Comments
 (0)