fix: don't start dbus service during build in Dockerfile (#12374)

This commit is contained in:
Russ Ferriday 2024-05-02 08:03:07 +01:00 committed by GitHub
parent b95ff05744
commit b5aab04cbc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,6 @@ RUN apt-get update \
&& apt-get update \ && apt-get update \
&& apt-get install -y google-chrome-stable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-khmeros fonts-kacst fonts-freefont-ttf libxss1 dbus dbus-x11 \ && apt-get install -y google-chrome-stable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-khmeros fonts-kacst fonts-freefont-ttf libxss1 dbus dbus-x11 \
--no-install-recommends \ --no-install-recommends \
&& service dbus start \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& groupadd -r pptruser && useradd -rm -g pptruser -G audio,video pptruser && groupadd -r pptruser && useradd -rm -g pptruser -G audio,video pptruser