docker: --no-install-recommends for nodejs
This commit is contained in:
parent
992fe4fc8b
commit
5f6d9ca830
1 changed files with 4 additions and 4 deletions
|
|
@ -12,19 +12,19 @@ ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD true
|
||||||
# Install up-to-date node & npm, deps for virtual screen & noVNC, browser, pip for apprise.
|
# Install up-to-date node & npm, deps for virtual screen & noVNC, browser, pip for apprise.
|
||||||
# Playwright needs --with-deps for firefox.
|
# Playwright needs --with-deps for firefox.
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y curl \
|
&& apt-get install --no-install-recommends --no-install-suggests -y curl ca-certificates \
|
||||||
&& curl -fsSL https://deb.nodesource.com/setup_19.x | bash - \
|
&& curl -fsSL https://deb.nodesource.com/setup_19.x | bash - \
|
||||||
&& apt-get install -y nodejs \
|
|
||||||
&& apt-get install --no-install-recommends --no-install-suggests -y \
|
&& apt-get install --no-install-recommends --no-install-suggests -y \
|
||||||
|
nodejs \
|
||||||
xvfb \
|
xvfb \
|
||||||
ca-certificates \
|
|
||||||
x11vnc \
|
x11vnc \
|
||||||
tini \
|
tini \
|
||||||
novnc websockify \
|
novnc websockify \
|
||||||
dos2unix \
|
dos2unix \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
&& npx playwright install-deps firefox \
|
&& npx playwright install-deps firefox \
|
||||||
&& apt-get clean \
|
&& apt-get autoclean -y \
|
||||||
|
&& apt-get autoremove -y \
|
||||||
&& rm -rf \
|
&& rm -rf \
|
||||||
/tmp/* \
|
/tmp/* \
|
||||||
/usr/share/doc/* \
|
/usr/share/doc/* \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue