fabis-ralph-loop 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -21,26 +21,14 @@ RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
|
|
|
21
21
|
&& apt-get install -y --no-install-recommends nodejs
|
|
22
22
|
<% } -%>
|
|
23
23
|
<% if (playwright) { %>
|
|
24
|
-
# === Playwright/
|
|
24
|
+
# === Google Chrome (Playwright uses /opt/google/chrome/chrome by default) ===
|
|
25
25
|
# hadolint ignore=DL3008
|
|
26
|
-
RUN
|
|
27
|
-
|
|
28
|
-
fonts-liberation \
|
|
29
|
-
libnss3 \
|
|
30
|
-
libatk1.0-0 \
|
|
31
|
-
libatk-bridge2.0-0 \
|
|
32
|
-
libcups2 \
|
|
33
|
-
libxdamage1 \
|
|
34
|
-
libxrandr2 \
|
|
35
|
-
libgbm1 \
|
|
36
|
-
libpango-1.0-0 \
|
|
37
|
-
libcairo2 \
|
|
38
|
-
libasound2 \
|
|
39
|
-
libxshmfence1 \
|
|
26
|
+
RUN curl -fsSL https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o /tmp/chrome.deb \
|
|
27
|
+
&& apt-get update && apt-get install -y --no-install-recommends /tmp/chrome.deb \
|
|
40
28
|
<% if (sslCerts) { -%>
|
|
41
29
|
libnss3-tools \
|
|
42
30
|
<% } -%>
|
|
43
|
-
&& rm -rf /var/lib/apt/lists/*
|
|
31
|
+
&& rm /tmp/chrome.deb && rm -rf /var/lib/apt/lists/*
|
|
44
32
|
<% } -%>
|
|
45
33
|
<% for (const instruction of hooks.rootSetup) { %>
|
|
46
34
|
<%= instruction %>
|
|
@@ -99,7 +87,6 @@ RUN npm install -g @playwright/cli@latest \
|
|
|
99
87
|
# === Environment ===
|
|
100
88
|
ENV IS_SANDBOX=1
|
|
101
89
|
<% if (playwright) { -%>
|
|
102
|
-
ENV PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/usr/bin/chromium
|
|
103
90
|
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
|
|
104
91
|
<% } %>
|
|
105
92
|
# === Entrypoint ===
|