Bump requirements for PostGIS
This commit is contained in:
parent
883cfce04c
commit
d50463a2c4
@ -6,9 +6,10 @@ RUN \
|
|||||||
sed -i 's/postgres:x:70:70/postgres:x:5432:5432/' /etc/passwd \
|
sed -i 's/postgres:x:70:70/postgres:x:5432:5432/' /etc/passwd \
|
||||||
&& sed -i 's/postgres:x:70/postgres:x:5432/' /etc/group \
|
&& sed -i 's/postgres:x:70/postgres:x:5432/' /etc/group \
|
||||||
# Add edge/testing repository for postgis support
|
# Add edge/testing repository for postgis support
|
||||||
&& echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/testing' >>/etc/apk/repositories \
|
&& echo '@edgetest http://dl-cdn.alpinelinux.org/alpine/edge/testing' >>/etc/apk/repositories \
|
||||||
# Install PostgreSQL + PostGIS
|
&& echo '@edgemain http://dl-cdn.alpinelinux.org/alpine/edge/main' >>/etc/apk/repositories \
|
||||||
&& apk --no-cache add postgresql postgresql-contrib postgis@edge \
|
# Install PostgreSQL + PostGIS (JSON-C is a dependency for PostGIS)
|
||||||
|
&& apk --no-cache add json-c@edgemain postgresql postgresql-contrib postgis@edgetest \
|
||||||
# Create socket directory
|
# Create socket directory
|
||||||
&& mkdir /run/postgresql \
|
&& mkdir /run/postgresql \
|
||||||
&& chown postgres:postgres /run/postgresql
|
&& chown postgres:postgres /run/postgresql
|
||||||
|
Loading…
Reference in New Issue
Block a user