This is an automated email from the ASF dual-hosted git repository.
tzimanyi pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-pipelines.git
The following commit(s) were added to refs/heads/main by this push:
new a577185f kie-issues#640: install Cypress dependencies (#1111)
a577185f is described below
commit a577185f595acf3bc812f320958fd6b9ec5171ec
Author: Jan Stastny <[email protected]>
AuthorDate: Mon Oct 23 11:30:20 2023 +0200
kie-issues#640: install Cypress dependencies (#1111)
Co-authored-by: jstastny-cz <[email protected]>
---
apache-nodes/Dockerfile.kogito-ci-build | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/apache-nodes/Dockerfile.kogito-ci-build
b/apache-nodes/Dockerfile.kogito-ci-build
index 231372d2..b8913629 100644
--- a/apache-nodes/Dockerfile.kogito-ci-build
+++ b/apache-nodes/Dockerfile.kogito-ci-build
@@ -29,6 +29,7 @@ gcc \
# python3 (END)
# system (BEGIN)
nc \
+procps-ng \
shadow-utils \
sudo \
wget \
@@ -46,6 +47,33 @@ libglvnd-glx \
# kogito python integration (END)
&& dnf clean all
+# Cypress dependencies install (BEGIN)
+# almalinux repo to provide UI dev libraries
+RUN echo -e '\
+[almalinux-appstream]\n\
+name=AlmaLinux $releasever - AppStream\n\
+mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/appstream\n\
+#
baseurl=https://repo.almalinux.org/almalinux/$releasever/AppStream/$basearch/os/\n\
+gpgcheck=1\n\
+gpgkey=https://repo.almalinux.org/almalinux/9.2/AppStream/x86_64/os/RPM-GPG-KEY-AlmaLinux-9\n\
+enabled=1\n\
+countme=1\n\
+metadata_expire=86400\n\
+enabled_metadata=1\
+' > /etc/yum.repos.d/almalinux-appstream.repo && \
+dnf config-manager --add-repo /etc/yum.repos.d/almalinux-appstream.repo && \
+dnf install -y \
+xorg-x11-server-Xvfb \
+gtk2-devel \
+gtk3-devel \
+libnotify-devel \
+nss \
+libXScrnSaver \
+alsa-lib \
+&& dnf clean all \
+&& dnf config-manager --set-disabled almalinux-appstream
+# Cypress dependencies install (END)
+
RUN sudo alternatives --install /usr/local/bin/python python $(which
python${PYTHON_MAJOR_MINOR_VERSION}) 1 && \
sudo alternatives --install /usr/local/bin/python3 python3 $(which
python${PYTHON_MAJOR_MINOR_VERSION}) 1 && \
sudo alternatives --install /usr/local/bin/pip pip $(which
pip${PYTHON_MAJOR_MINOR_VERSION}) 1
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]