Replaced dnf by yum and disable RHSM

This commit is contained in:
Ravi Srinivasan 2019-06-03 12:42:06 +05:30 committed by GitHub
parent d97095794f
commit 0f812b9667
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi8/ubi:8.0 FROM FROM registry.redhat.io/ubi8/ubi
MAINTAINER Red Hat Training <training@redhat.com> MAINTAINER Red Hat Training <training@redhat.com>
@ -7,8 +7,8 @@ ENV JAVA_OPTIONS -Xmx512m
# Install the Java runtime, create a user for running the app, and set permissions # Install the Java runtime, create a user for running the app, and set permissions
RUN dnf install -y --noplugins java-1.8.0-openjdk-headless && \ RUN yum install -y -disableplugin=subscription-manager java-1.8.0-openjdk-headless && \
dnf clean all --noplugins -y && \ yum clean all -disableplugin=subscription-manager -y && \
useradd wildfly && \ useradd wildfly && \
mkdir -p /opt/app-root/bin mkdir -p /opt/app-root/bin