Skip to content

Commit

Permalink
adding maintainer arg
Browse files Browse the repository at this point in the history
  • Loading branch information
rabellino-noaa committed Nov 16, 2022
1 parent d5f88d3 commit 707488f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
4 changes: 4 additions & 0 deletions couchdb/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
FROM couchdb:3.2.2

# Arguments defined in .env file and passed in from command line or compose build
ARG maintainer
LABEL maintainer="${maintainer}"
13 changes: 10 additions & 3 deletions rabbitmq/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
FROM rabbitmq:3.8.17

# Arguments defined in .env file and passed in from command line or compose build
ARG maintainer
ARG rmq_username
ARG rmq_password

LABEL maintainer="${maintainer}"

# Define environment variables.
ENV RABBITMQ_USER idss
ENV RABBITMQ_PASSWORD idss
ENV RABBITMQ_USER "${rmq_username}"
ENV RABBITMQ_PASSWORD "${rmq_password}"

ENV RABBITMQ_PID_FILE /var/lib/rabbitmq/mnesia/rabbitmq

ADD init.sh /init.sh
ADD ./init.sh /init.sh
RUN chmod +x /init.sh

EXPOSE 15672
Expand Down

0 comments on commit 707488f

Please sign in to comment.