-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fix_locale' into 'master'
FIX locale See merge request oelmekki/postgres-350d!3
- Loading branch information
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
FROM postgres:15.3 | ||
FROM postgres:15.4 | ||
MAINTAINER Olivier El Mekki <[email protected]> | ||
|
||
RUN apt update && apt install -y build-essential curl postgresql-server-dev-15 | ||
RUN curl https://ftp.postgresql.org/pub/source/v15.3/postgresql-15.3.tar.bz2 -o /postgresql-15.3.tar.bz2 | ||
RUN cd / && tar xvf postgresql-15.3.tar.bz2 | ||
RUN cd /postgresql-15.3/contrib/cube && sed -i 's/#define CUBE_MAX_DIM (100)/#define CUBE_MAX_DIM (350)/' cubedata.h && \ | ||
RUN curl https://ftp.postgresql.org/pub/source/v15.4/postgresql-15.4.tar.bz2 -o /postgresql-15.4.tar.bz2 | ||
RUN cd / && tar xvf postgresql-15.4.tar.bz2 | ||
RUN cd /postgresql-15.4/contrib/cube && sed -i 's/#define CUBE_MAX_DIM (100)/#define CUBE_MAX_DIM (350)/' cubedata.h && \ | ||
USE_PGXS=true make && USE_PGXS=true make install | ||
RUN echo -e "\nen_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen |