Use explicit @edge repository tag where applicable
This commit is contained in:
parent
934f6fe726
commit
8e7f48339b
@ -6,9 +6,9 @@ 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 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' >>/etc/apk/repositories \
|
&& echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/testing' >>/etc/apk/repositories \
|
||||||
# Install PostgreSQL + PostGIS
|
# Install PostgreSQL + PostGIS
|
||||||
&& apk --no-cache add postgresql postgresql-contrib postgis \
|
&& apk --no-cache add postgresql postgresql-contrib postgis@edge \
|
||||||
# Create socket directory
|
# Create socket directory
|
||||||
&& mkdir /run/postgresql \
|
&& mkdir /run/postgresql \
|
||||||
&& chown postgres:postgres /run/postgresql
|
&& chown postgres:postgres /run/postgresql
|
||||||
|
@ -6,9 +6,9 @@ RUN \
|
|||||||
addgroup -S -g 5672 rabbitmq \
|
addgroup -S -g 5672 rabbitmq \
|
||||||
&& adduser -S -u 5672 -h /usr/lib/rabbitmq -s /sbin/nologin -g rabbitmq -G rabbitmq rabbitmq \
|
&& adduser -S -u 5672 -h /usr/lib/rabbitmq -s /sbin/nologin -g rabbitmq -G rabbitmq rabbitmq \
|
||||||
# Add edge/testing repository
|
# Add edge/testing repository
|
||||||
&& echo 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' >>/etc/apk/repositories \
|
&& echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/testing' >>/etc/apk/repositories \
|
||||||
# Install RabbitMQ
|
# Install RabbitMQ
|
||||||
&& apk --no-cache add rabbitmq-server
|
&& apk --no-cache add rabbitmq-server@edge
|
||||||
|
|
||||||
VOLUME ["/var/lib/rabbitmq/mnesia"]
|
VOLUME ["/var/lib/rabbitmq/mnesia"]
|
||||||
EXPOSE 5672
|
EXPOSE 5672
|
||||||
|
Loading…
Reference in New Issue
Block a user