mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 00:52:55 +00:00
fix: broken cypress build
This commit is contained in:
@@ -37,15 +37,21 @@ RUN apt-get update && \
|
|||||||
&& apt-get clean
|
&& apt-get clean
|
||||||
|
|
||||||
# install libappindicator3-1 - not included with Debian 11
|
# install libappindicator3-1 - not included with Debian 11
|
||||||
RUN wget --no-verbose /usr/src/libappindicator3-1_0.4.92-7_amd64.deb "http://ftp.us.debian.org/debian/pool/main/liba/libappindicator/libappindicator3-1_0.4.92-7_amd64.deb" && \
|
RUN wget --no-verbose -O /usr/src/libappindicator3-1_0.4.92-7_amd64.deb "http://ftp.us.debian.org/debian/pool/main/liba/libappindicator/libappindicator3-1_0.4.92-7_amd64.deb" && \
|
||||||
dpkg -i /usr/src/libappindicator3-1_0.4.92-7_amd64.deb && \
|
dpkg -i /usr/src/libappindicator3-1_0.4.92-7_amd64.deb ; \
|
||||||
apt-get install -f -y && \
|
apt update && \
|
||||||
|
apt --fix-broken install -y && \
|
||||||
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
|
apt-get clean && \
|
||||||
rm -f /usr/src/libappindicator3-1_0.4.92-7_amd64.deb
|
rm -f /usr/src/libappindicator3-1_0.4.92-7_amd64.deb
|
||||||
|
|
||||||
# install Chrome browser
|
# install Chrome browser
|
||||||
RUN wget --no-verbose -O /usr/src/google-chrome-stable_current_amd64.deb "http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}-1_amd64.deb" && \
|
RUN wget --no-verbose -O /usr/src/google-chrome-stable_current_amd64.deb "http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}-1_amd64.deb" && \
|
||||||
dpkg -i /usr/src/google-chrome-stable_current_amd64.deb && \
|
dpkg -i /usr/src/google-chrome-stable_current_amd64.deb ; \
|
||||||
apt-get install -f -y && \
|
apt update && \
|
||||||
|
apt --fix-broken install -y && \
|
||||||
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
|
apt-get clean && \
|
||||||
rm -f /usr/src/google-chrome-stable_current_amd64.deb
|
rm -f /usr/src/google-chrome-stable_current_amd64.deb
|
||||||
|
|
||||||
# "fake" dbus address to prevent errors
|
# "fake" dbus address to prevent errors
|
||||||
@@ -67,8 +73,10 @@ RUN sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stab
|
|||||||
RUN rm microsoft.gpg
|
RUN rm microsoft.gpg
|
||||||
|
|
||||||
## Install Edge
|
## Install Edge
|
||||||
RUN apt-get update
|
RUN apt-get update && \
|
||||||
RUN apt-get install -y microsoft-edge-dev
|
apt-get install -y microsoft-edge-dev \
|
||||||
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
# Add a link to the browser that allows Cypress to find it
|
# Add a link to the browser that allows Cypress to find it
|
||||||
RUN ln -s /usr/bin/microsoft-edge /usr/bin/edge
|
RUN ln -s /usr/bin/microsoft-edge /usr/bin/edge
|
||||||
@@ -80,7 +88,7 @@ RUN echo " node version: $(node -v) \n" \
|
|||||||
"debian version: $(cat /etc/debian_version) \n" \
|
"debian version: $(cat /etc/debian_version) \n" \
|
||||||
"Chrome version: $(google-chrome --version) \n" \
|
"Chrome version: $(google-chrome --version) \n" \
|
||||||
"Firefox version: $(firefox --version) \n" \
|
"Firefox version: $(firefox --version) \n" \
|
||||||
"Edge version: $(edge --version) \n" \
|
"Edge version: $(edge --version) \n" \
|
||||||
"git version: $(git --version) \n" \
|
"git version: $(git --version) \n" \
|
||||||
"whoami: $(whoami) \n"
|
"whoami: $(whoami) \n"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user