Unify non-login shells

This commit is contained in:
Disassembler 2018-08-14 18:17:48 +02:00
parent 1adc0977e7
commit 4621dbbade
Signed by: Disassembler
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 \ RUN \
# Create OS user (which will be picked up later by apk add) # Create OS user (which will be picked up later by apk add)
addgroup -S -g 3306 mysql \ 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 # Install MariaDB
&& apk --no-cache add mariadb mariadb-client \ && apk --no-cache add mariadb mariadb-client \
# Create socket directory # Create socket directory

View File

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