Merge branch 'invoiceninja:debian' into debian

This commit is contained in:
benbrummer
2024-11-29 09:45:20 +01:00
committed by GitHub
2 changed files with 30 additions and 32 deletions

18
debian/Dockerfile vendored
View File

@@ -8,15 +8,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
gnupg2 \
gosu \
supervisor \
&& if [ "$(dpkg --print-architecture)" = "amd64" ]; then \
mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://dl.google.com/linux/linux_signing_key.pub | gpg --dearmor -o /etc/apt/keyrings/google.gpg \
&& 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 install -y --no-install-recommends google-chrome-stable; \
fi \
&& if [ "$(dpkg --print-architecture)" = "arm64" ]; then \
apt-get install -y --no-install-recommends \
default-mysql-client \
fonts-liberation \
fonts-noto-cjk \
@@ -43,9 +34,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libxkbcommon0 \
libxml2-dev \
libxrandr2 \
supervisor \
xdg-utils \
xfonts-wqy; \
xfonts-wqy \
&& if [ "$(dpkg --print-architecture)" = "amd64" ]; then \
mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://dl.google.com/linux/linux_signing_key.pub | gpg --dearmor -o /etc/apt/keyrings/google.gpg \
&& 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 install -y --no-install-recommends google-chrome-stable; \
fi \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

View File

@@ -23,6 +23,8 @@ server {
fastcgi_pass app:9000;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
include fastcgi_params;
fastcgi_buffer_size 16k;
fastcgi_buffers 4 16k;
}
location ~ /\.(?!well-known).* {