From b13f8d534565271f78970fd5bee09ff76a687122 Mon Sep 17 00:00:00 2001 From: Ravi Srinivasan Date: Mon, 3 Jun 2019 12:52:06 +0530 Subject: [PATCH] Fixed copy pasta bug in Dockerfile --- hello-swarm/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hello-swarm/Dockerfile b/hello-swarm/Dockerfile index 30acaf7878..a692ec72bc 100644 --- a/hello-swarm/Dockerfile +++ b/hello-swarm/Dockerfile @@ -7,8 +7,8 @@ ENV JAVA_OPTIONS -Xmx512m # Install the Java runtime, create a user for running the app, and set permissions -RUN yum install -y -disableplugin=subscription-manager java-1.8.0-openjdk-headless && \ - yum clean all -disableplugin=subscription-manager -y && \ +RUN yum install -y --disableplugin=subscription-manager java-1.8.0-openjdk-headless && \ + yum clean all --disableplugin=subscription-manager -y && \ useradd wildfly && \ mkdir -p /opt/app-root/bin