Skip to content

Commit

Permalink
Fixing greenmail-standalone Dockerfile LegacyKeyValueFormat warning w…
Browse files Browse the repository at this point in the history
…hen specifying ENV variables

Warning:
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format
  • Loading branch information
marcelmay committed Dec 1, 2024
1 parent 00be63a commit 72791dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions greenmail-docker/standalone/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ EXPOSE 3025 3465 3110 3995 3143 3993 8080
#######################
# Configuration options
#######################
ENV JAVA_OPTS -Djava.net.preferIPv4Stack=true
ENV GREENMAIL_OPTS -Dgreenmail.setup.test.all \
ENV JAVA_OPTS="-Djava.net.preferIPv4Stack=true"
ENV GREENMAIL_OPTS="-Dgreenmail.setup.test.all \
-Dgreenmail.hostname=0.0.0.0 \
-Dgreenmail.tls.keystore.file=/home/greenmail/greenmail.p12 \
-Dgreenmail.tls.keystore.password=changeit \
-Dgreenmail.auth.disabled
-Dgreenmail.auth.disabled"

#######################
# Run as user greenmail
Expand Down

0 comments on commit 72791dd

Please sign in to comment.