forked from jorgemoralespou/s2i-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c6efaf4
commit ff323ec
Showing
2 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,9 @@ MAINTAINER Jorge Morales <[email protected]> | |
|
||
# Install build tools on top of base image | ||
# Java jdk 8, Maven 3.3, Gradle 2.6 | ||
RUN yum install -y --enablerepo=centosplus \ | ||
tar unzip bc which lsof java-1.8.0-openjdk java-1.8.0-openjdk-devel && \ | ||
RUN INSTALL_PKGS="tar unzip bc which lsof java-1.8.0-openjdk java-1.8.0-openjdk-devel" && \ | ||
yum install -y --enablerepo=centosplus $INSTALL_PKGS && \ | ||
rpm -V $INSTALL_PKGS && \ | ||
yum clean all -y && \ | ||
mkdir -p /opt/openshift && \ | ||
mkdir -p /opt/app-root/source && chmod -R a+rwX /opt/app-root/source && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters