mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 00:55:10 +00:00
Add media-types package to fix MIME type detection in Docker images
Co-authored-by: ankush <9079960+ankush@users.noreply.github.com>
This commit is contained in:
parent
ea83547cca
commit
f6a966d06e
3 changed files with 6 additions and 0 deletions
|
|
@ -71,6 +71,8 @@ RUN apt-get update \
|
||||||
tk-dev \
|
tk-dev \
|
||||||
liblzma-dev \
|
liblzma-dev \
|
||||||
file \
|
file \
|
||||||
|
# For MIME type detection
|
||||||
|
media-types \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \
|
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,8 @@ RUN useradd -ms /bin/bash frappe \
|
||||||
# For healthcheck
|
# For healthcheck
|
||||||
wait-for-it \
|
wait-for-it \
|
||||||
jq \
|
jq \
|
||||||
|
# For MIME type detection
|
||||||
|
media-types \
|
||||||
# NodeJS
|
# NodeJS
|
||||||
&& mkdir -p ${NVM_DIR} \
|
&& mkdir -p ${NVM_DIR} \
|
||||||
&& curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash \
|
&& curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash \
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,8 @@ RUN useradd -ms /bin/bash frappe \
|
||||||
# For healthcheck
|
# For healthcheck
|
||||||
wait-for-it \
|
wait-for-it \
|
||||||
jq \
|
jq \
|
||||||
|
# For MIME type detection
|
||||||
|
media-types \
|
||||||
# NodeJS
|
# NodeJS
|
||||||
&& mkdir -p ${NVM_DIR} \
|
&& mkdir -p ${NVM_DIR} \
|
||||||
&& curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash \
|
&& curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue