Use explicit @edge repository tag where applicable

This commit is contained in:
Disassembler 2018-04-05 14:05:22 +02:00
parent 934f6fe726
commit 8e7f48339b
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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