mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 04:56:45 +00:00
[Docker] Pin postgresql version (#6407)
* Update docker build - Pin postgresql libs to v13 * Fix typo
This commit is contained in:
parent
e9c6dd8273
commit
f88d5577d1
@ -60,13 +60,7 @@ RUN apk add --no-cache \
|
|||||||
# Image format support
|
# Image format support
|
||||||
libjpeg libwebp zlib \
|
libjpeg libwebp zlib \
|
||||||
# Weasyprint requirements : https://doc.courtbouillon.org/weasyprint/stable/first_steps.html#alpine-3-12
|
# Weasyprint requirements : https://doc.courtbouillon.org/weasyprint/stable/first_steps.html#alpine-3-12
|
||||||
py3-pip py3-pillow py3-cffi py3-brotli pango poppler-utils openldap \
|
py3-pip py3-pillow py3-cffi py3-brotli pango poppler-utils openldap && \
|
||||||
# SQLite support
|
|
||||||
sqlite \
|
|
||||||
# PostgreSQL support
|
|
||||||
postgresql-libs postgresql-client \
|
|
||||||
# MySQL / MariaDB support
|
|
||||||
mariadb-connector-c-dev mariadb-client && \
|
|
||||||
# fonts
|
# fonts
|
||||||
apk --update --upgrade --no-cache add fontconfig ttf-freefont font-noto terminus-font && fc-cache -f
|
apk --update --upgrade --no-cache add fontconfig ttf-freefont font-noto terminus-font && fc-cache -f
|
||||||
|
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
#!/bin/ash
|
#!/bin/ash
|
||||||
|
|
||||||
# Install system packages required for building InvenTree python libraries
|
# Install system packages required for building InvenTree python libraries
|
||||||
|
# Note that for postgreslql, we use the 13 version, which matches the version used in the InvenTree docker image
|
||||||
|
|
||||||
apk add gcc g++ musl-dev openssl-dev libffi-dev cargo python3-dev openldap-dev \
|
apk add gcc g++ musl-dev openssl-dev libffi-dev cargo python3-dev openldap-dev \
|
||||||
jpeg-dev openjpeg-dev libwebp-dev zlib-dev \
|
jpeg-dev openjpeg-dev libwebp-dev zlib-dev \
|
||||||
postgresql-dev sqlite-dev mariadb-dev \
|
sqlite sqlite-dev \
|
||||||
|
mariadb-connector-c-dev mariadb-client mariadb-dev \
|
||||||
|
postgresql13-dev postgresql-libs postgresql13-client \
|
||||||
$@
|
$@
|
||||||
|
Loading…
x
Reference in New Issue
Block a user