Skip to content

Commit 349641f

Browse files
authored
Fix build deps in node-chromium (#3035)
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
1 parent c494051 commit 349641f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

NodeChromium/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ ARG CHROMIUM_DEB_SITE="http://deb.debian.org/debian"
1313
RUN echo "deb ${CHROMIUM_DEB_SITE}/ sid main" >/etc/apt/sources.list.d/debian.list \
1414
&& wget -qO- https://ftp-master.debian.org/keys/archive-key-12.asc | gpg --dearmor > /etc/apt/trusted.gpg.d/debian-archive-keyring.gpg \
1515
&& wget -qO- https://ftp-master.debian.org/keys/archive-key-12-security.asc | gpg --dearmor > /etc/apt/trusted.gpg.d/debian-archive-security-keyring.gpg \
16+
&& for d in bin lib lib32 lib64 libo32 libx32 sbin; do dpkg-divert --package base-files --no-rename --remove /$d; done \
1617
&& apt-get update -qqy \
1718
&& if [ "${CHROMIUM_VERSION}" = "latest" ]; \
1819
then apt-get -qqy --no-install-recommends install chromium-common chromium chromium-l10n chromium-driver; \
@@ -30,7 +31,8 @@ RUN echo "deb ${CHROMIUM_DEB_SITE}/ sid main" >/etc/apt/sources.list.d/debian.li
3031
# Chromium Launch Script Wrapper
3132
#=================================
3233
COPY wrap_chromium_binary /opt/bin/wrap_chromium_binary
33-
RUN /opt/bin/wrap_chromium_binary
34+
RUN /opt/bin/wrap_chromium_binary \
35+
&& chromium --version
3436

3537
#============================================
3638
# Chromium cleanup script and supervisord file

0 commit comments

Comments
 (0)