Reflect Postfix 3.3 and json-c (PostGIS) propagation to main repo
This commit is contained in:
parent
5a0a00f296
commit
5d0928f2aa
@ -5,10 +5,8 @@ RUN \
|
||||
# Create OS user (which will be picked up later by apk add)
|
||||
addgroup -S -g 587 postfix \
|
||||
&& adduser -S -u 587 -h /var/spool/postfix -s /bin/false -g postfix -G postfix postfix \
|
||||
# Add edge/main repository
|
||||
&& echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/main' >>/etc/apk/repositories \
|
||||
# Install Postfix 3.3
|
||||
&& apk --no-cache add ca-certificates postfix@edge \
|
||||
# Install Postfix
|
||||
&& apk --no-cache add ca-certificates postfix \
|
||||
# Build aliases database
|
||||
&& newaliases \
|
||||
# Cleanup
|
||||
|
@ -6,10 +6,9 @@ RUN \
|
||||
sed -i 's/postgres:x:70:70/postgres:x:5432:5432/' /etc/passwd \
|
||||
&& sed -i 's/postgres:x:70/postgres:x:5432/' /etc/group \
|
||||
# Add edge/testing repository for postgis support
|
||||
&& echo '@edgetest http://dl-cdn.alpinelinux.org/alpine/edge/testing' >>/etc/apk/repositories \
|
||||
&& echo '@edgemain http://dl-cdn.alpinelinux.org/alpine/edge/main' >>/etc/apk/repositories \
|
||||
# Install PostgreSQL + PostGIS (JSON-C is a dependency for PostGIS)
|
||||
&& apk --no-cache add json-c@edgemain postgresql postgresql-contrib postgis@edgetest \
|
||||
&& echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/testing' >>/etc/apk/repositories \
|
||||
# Install PostgreSQL + PostGIS
|
||||
&& apk --no-cache add postgresql postgresql-contrib postgis@edge \
|
||||
# Create socket directory
|
||||
&& mkdir /run/postgresql \
|
||||
&& chown postgres:postgres /run/postgresql
|
||||
|
Loading…
Reference in New Issue
Block a user