Skip to content

Commit

Permalink
Merge pull request #11393 from openshift-cherrypick-robot/cherry-pick…
Browse files Browse the repository at this point in the history
…-11371-to-master

[master] Dockerfile.rhel7: simplify pkg install
  • Loading branch information
openshift-merge-robot committed Mar 24, 2019
2 parents 172e2b8 + 0ed76c7 commit b03e29c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions images/installer/Dockerfile.rhel7
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ MAINTAINER OpenShift Team <dev@lists.openshift.redhat.com>
USER root

# Playbooks, roles, and their dependencies are installed from packages.
RUN INSTALL_PKGS="openshift-ansible atomic-openshift-clients python-boto python2-boto3 python2-crypto openssl iproute httpd-tools" \
RUN INSTALL_PKGS="openshift-ansible atomic-openshift-clients python-boto python2-boto3 python2-crypto openssl iproute httpd-tools java-1.8.0-openjdk-headless" \
&& x86_EXTRA_RPMS=$(if [ "$(uname -m)" == "x86_64" ]; then echo -n google-cloud-sdk ; fi) \
&& yum repolist > /dev/null \
&& yum-config-manager --enable rhel-7-server-ose-3.7-rpms \
&& yum-config-manager --enable rhel-7-server-rh-common-rpms \
&& yum install -y java-1.8.0-openjdk-headless \
&& yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS $x86_EXTRA_RPMS \
&& rpm -q $INSTALL_PKGS $x86_EXTRA_RPMS \
&& yum install -y --setopt=skip_missing_names_on_install=False --setopt=tsflags=nodocs $INSTALL_PKGS $x86_EXTRA_RPMS \
&& yum clean all

LABEL name="openshift3/ose-ansible" \
Expand Down

0 comments on commit b03e29c

Please sign in to comment.