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/postgres:x:5432/' /etc/group \
|
||||
# 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
|
||||
&& apk --no-cache add postgresql postgresql-contrib postgis \
|
||||
&& apk --no-cache add postgresql postgresql-contrib postgis@edge \
|
||||
# Create socket directory
|
||||
&& mkdir /run/postgresql \
|
||||
&& chown postgres:postgres /run/postgresql
|
||||
|
@ -6,9 +6,9 @@ RUN \
|
||||
addgroup -S -g 5672 rabbitmq \
|
||||
&& adduser -S -u 5672 -h /usr/lib/rabbitmq -s /sbin/nologin -g rabbitmq -G rabbitmq rabbitmq \
|
||||
# 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
|
||||
&& apk --no-cache add rabbitmq-server
|
||||
&& apk --no-cache add rabbitmq-server@edge
|
||||
|
||||
VOLUME ["/var/lib/rabbitmq/mnesia"]
|
||||
EXPOSE 5672
|
||||
|
Loading…
Reference in New Issue
Block a user