Skip to content

Commit

Permalink
Merge pull request #59 from mattermost/master
Browse files Browse the repository at this point in the history
Upgrade postgres to 10 (mattermost#529)
  • Loading branch information
zazrivec authored Jun 18, 2021
2 parents 213dcc9 + c79ed62 commit a471056
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions db/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM postgres:9.4-alpine
FROM postgres:10-alpine

ENV DEFAULT_TIMEZONE UTC
# Mandatory nowdays with PG 10
ENV WAL_LEVEL logical

# Install some packages to use WAL
RUN echo "azure<5.0.0" > pip-constraints.txt
Expand All @@ -10,8 +12,8 @@ RUN apk add --no-cache \
libc6-compat \
libffi-dev \
linux-headers \
python-dev \
py-pip \
python3-dev \
py3-pip \
py-cryptography \
pv \
libressl-dev \
Expand Down

0 comments on commit a471056

Please sign in to comment.