fix: install tzdata-legacy only for trixie
This commit is contained in:
parent
db989bddfc
commit
9e7a8d3c71
|
|
@ -13,7 +13,6 @@ RUN apt-get update \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
|
&& DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
|
||||||
# For frappe framework
|
# For frappe framework
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
tzdata-legacy \
|
|
||||||
git \
|
git \
|
||||||
mariadb-client \
|
mariadb-client \
|
||||||
postgresql-client \
|
postgresql-client \
|
||||||
|
|
@ -78,6 +77,10 @@ RUN apt-get update \
|
||||||
file \
|
file \
|
||||||
# For MIME type detection
|
# For MIME type detection
|
||||||
media-types \
|
media-types \
|
||||||
|
&& . /etc/os-release \
|
||||||
|
&& if [ "$VERSION_CODENAME" = "trixie" ]; then \
|
||||||
|
apt-get install --no-install-recommends -y tzdata-legacy; \
|
||||||
|
fi \
|
||||||
# Install wkhtmltopdf with patched qt
|
# Install wkhtmltopdf with patched qt
|
||||||
&& if [ "$(uname -m)" = "aarch64" ]; then export ARCH=arm64; fi \
|
&& if [ "$(uname -m)" = "aarch64" ]; then export ARCH=arm64; fi \
|
||||||
&& if [ "$(uname -m)" = "x86_64" ]; then export ARCH=amd64; fi \
|
&& if [ "$(uname -m)" = "x86_64" ]; then export ARCH=amd64; fi \
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,6 @@ RUN useradd -u 1000 -g 0 -d /home/frappe -ms /bin/bash frappe \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install --no-install-recommends -y \
|
&& apt-get install --no-install-recommends -y \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
tzdata-legacy \
|
|
||||||
curl \
|
curl \
|
||||||
git \
|
git \
|
||||||
vim \
|
vim \
|
||||||
|
|
@ -45,6 +44,10 @@ RUN useradd -u 1000 -g 0 -d /home/frappe -ms /bin/bash frappe \
|
||||||
jq \
|
jq \
|
||||||
# For MIME type detection
|
# For MIME type detection
|
||||||
media-types \
|
media-types \
|
||||||
|
&& . /etc/os-release \
|
||||||
|
&& if [ "$VERSION_CODENAME" = "trixie" ]; then \
|
||||||
|
apt-get install --no-install-recommends -y tzdata-legacy; \
|
||||||
|
fi \
|
||||||
# NodeJS
|
# NodeJS
|
||||||
&& mkdir -p ${NVM_DIR} \
|
&& mkdir -p ${NVM_DIR} \
|
||||||
&& curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.6/install.sh | bash \
|
&& curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.6/install.sh | bash \
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,6 @@ RUN useradd -u 1000 -g 0 -d /home/frappe -ms /bin/bash frappe \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install --no-install-recommends -y \
|
&& apt-get install --no-install-recommends -y \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
tzdata-legacy \
|
|
||||||
curl \
|
curl \
|
||||||
git \
|
git \
|
||||||
vim \
|
vim \
|
||||||
|
|
@ -41,6 +40,10 @@ RUN useradd -u 1000 -g 0 -d /home/frappe -ms /bin/bash frappe \
|
||||||
jq \
|
jq \
|
||||||
# For MIME type detection
|
# For MIME type detection
|
||||||
media-types \
|
media-types \
|
||||||
|
&& . /etc/os-release \
|
||||||
|
&& if [ "$VERSION_CODENAME" = "trixie" ]; then \
|
||||||
|
apt-get install --no-install-recommends -y tzdata-legacy; \
|
||||||
|
fi \
|
||||||
# NodeJS
|
# NodeJS
|
||||||
&& mkdir -p ${NVM_DIR} \
|
&& mkdir -p ${NVM_DIR} \
|
||||||
&& curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.6/install.sh | bash \
|
&& curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.6/install.sh | bash \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue