mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
fix if else
This commit is contained in:
7
debian/Dockerfile
vendored
7
debian/Dockerfile
vendored
@@ -9,6 +9,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
gnupg2 \
|
gnupg2 \
|
||||||
gosu \
|
gosu \
|
||||||
supervisor \
|
supervisor \
|
||||||
|
# Packages to be checked
|
||||||
fonts-noto-cjk \
|
fonts-noto-cjk \
|
||||||
fonts-noto-cjk-extra \
|
fonts-noto-cjk-extra \
|
||||||
fonts-wqy-microhei \
|
fonts-wqy-microhei \
|
||||||
@@ -23,9 +24,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
&& echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/google.gpg] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list \
|
&& echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/google.gpg] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends google-chrome-stable; \
|
&& apt-get install -y --no-install-recommends google-chrome-stable; \
|
||||||
fi \
|
elif [ "$(dpkg --print-architecture)" = "arm64" ]; then \
|
||||||
&& if [ "$(dpkg --print-architecture)" = "arm64" ]; then \
|
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
|
# Packages for chrome
|
||||||
fonts-liberation \
|
fonts-liberation \
|
||||||
libasound2 \
|
libasound2 \
|
||||||
libatk-bridge2.0-0 \
|
libatk-bridge2.0-0 \
|
||||||
@@ -44,7 +45,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
libxfixes3 \
|
libxfixes3 \
|
||||||
libxkbcommon0 \
|
libxkbcommon0 \
|
||||||
libxrandr2 \
|
libxrandr2 \
|
||||||
xdg-utils \
|
xdg-utils; \
|
||||||
fi \
|
fi \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|||||||
Reference in New Issue
Block a user