Skip to content

Commit 96e70d7

Browse files
committed
lint
1 parent f97243e commit 96e70d7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packaging/docker-image/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ARG OTP_VERSION="27"
22

33
FROM erlang:${OTP_VERSION}
44

5-
ENV RABBITMQ_DATA_DIR /var/lib/rabbitmq
5+
ENV RABBITMQ_DATA_DIR=/var/lib/rabbitmq
66

77
RUN set -eux; \
88
# Create rabbitmq system user & group, fix permissions & allow root user to connect to the RabbitMQ Erlang VM
@@ -15,11 +15,11 @@ RUN set -eux; \
1515

1616
# Use the latest stable RabbitMQ release (https://www.rabbitmq.com/download.html)
1717
ARG RABBITMQ_VERSION=4.0.0
18-
ENV RABBITMQ_VERSION ${RABBITMQ_VERSION}
19-
ENV RABBITMQ_HOME /opt/rabbitmq
18+
ENV RABBITMQ_VERSION=${RABBITMQ_VERSION}
19+
ENV RABBITMQ_HOME=/opt/rabbitmq
2020

2121
# Add RabbitMQ to PATH
22-
ENV PATH $RABBITMQ_HOME/sbin:$PATH
22+
ENV PATH=$RABBITMQ_HOME/sbin:$PATH
2323

2424
COPY package-generic-unix.tar.xz /usr/local/src/rabbitmq-$RABBITMQ_VERSION.tar.xz
2525

@@ -51,15 +51,15 @@ RUN set -eux; \
5151
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false;
5252

5353
# set home so that any `--user` knows where to put the erlang cookie
54-
ENV HOME $RABBITMQ_DATA_DIR
54+
ENV HOME=$RABBITMQ_DATA_DIR
5555
# Hint that the data (a.k.a. home dir) dir should be separate volume
5656
VOLUME $RABBITMQ_DATA_DIR
5757

5858
# warning: the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8. Please ensure your locale is set to UTF-8 (which can be verified by running "locale" in your shell)
5959
# Setting all environment variables that control language preferences, behaviour differs - https://www.gnu.org/software/gettext/manual/html_node/The-LANGUAGE-variable.html#The-LANGUAGE-variable
6060
# https://docs.docker.com/samples/library/ubuntu/#locales
61-
ENV LANG C.UTF-8
62-
ENV LANGUAGE C.UTF-8
61+
ENV LANG=C.UTF-8
62+
ENV LANGUAGE=C.UTF-8
6363
ENV LC_ALL=C.UTF-8
6464

6565
COPY --chown=rabbitmq:rabbitmq 10-defaults.conf 20-management_agent.disable_metrics_collector.conf /etc/rabbitmq/conf.d/

0 commit comments

Comments
 (0)