From 2f5592d6e05a5f6548c6d2abc8206d087ffc1fe7 Mon Sep 17 00:00:00 2001 From: Eric Wittmann Date: Mon, 1 Feb 2016 09:27:57 -0500 Subject: [PATCH] use ENTRYPOINT instead of CMD --- on-wildfly8/Dockerfile | 2 +- on-wildfly9/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/on-wildfly8/Dockerfile b/on-wildfly8/Dockerfile index 4793bde..1119ab2 100644 --- a/on-wildfly8/Dockerfile +++ b/on-wildfly8/Dockerfile @@ -9,4 +9,4 @@ RUN cd $HOME/wildfly \ && curl http://downloads.jboss.org/apiman/$APIMAN_VERSION/apiman-distro-wildfly8-$APIMAN_VERSION-overlay.zip | bsdtar -xvf- # Set the default command to run on boot -CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0", "-c", "standalone-apiman.xml"] +ENTRYPOINT ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0", "-c", "standalone-apiman.xml"] diff --git a/on-wildfly9/Dockerfile b/on-wildfly9/Dockerfile index 6fa24c1..aecf3ad 100644 --- a/on-wildfly9/Dockerfile +++ b/on-wildfly9/Dockerfile @@ -9,4 +9,4 @@ RUN cd $HOME/wildfly \ && curl http://downloads.jboss.org/apiman/$APIMAN_VERSION/apiman-distro-wildfly9-$APIMAN_VERSION-overlay.zip | bsdtar -xvf- # Set the default command to run on boot -CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0", "-c", "standalone-apiman.xml"] +ENTRYPOINT ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0", "-c", "standalone-apiman.xml"]