Unify non-login shells

This commit is contained in:
Disassembler 2018-08-14 18:17:48 +02:00
parent 1adc0977e7
commit 4621dbbade
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ MAINTAINER Disassembler <disassembler@dasm.cz>
RUN \
# Create OS user (which will be picked up later by apk add)
addgroup -S -g 3306 mysql \
&& adduser -S -u 3306 -h /var/lib/mysql -s /bin/nologin -g mysql -G mysql mysql \
&& adduser -S -u 3306 -h /var/lib/mysql -s /bin/false -g mysql -G mysql mysql \
# Install MariaDB
&& apk --no-cache add mariadb mariadb-client \
# Create socket directory

View File

@ -4,7 +4,7 @@ MAINTAINER Disassembler <disassembler@dasm.cz>
RUN \
# Create OS user (which will be picked up later by apk add)
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 /bin/false -g rabbitmq -G rabbitmq rabbitmq \
# Add edge/testing repository
&& echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/testing' >>/etc/apk/repositories \
# Install RabbitMQ