-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from dmhumph/atomic
Update to atomic as base image
- Loading branch information
Showing
2 changed files
with
8 additions
and
7 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM rhel7.4 | ||
FROM rhel7-atomic | ||
|
||
MAINTAINER Andrew Block <[email protected]> | ||
|
||
|
@@ -14,9 +14,10 @@ ENV ACTIVATOR_VERSION=1.3.10 \ | |
|
||
COPY s2i /usr/libexec/s2i | ||
|
||
RUN INSTALL_PKGS="tar unzip bc which lsof java-1.8.0-openjdk java-1.8.0-openjdk-devel" && \ | ||
yum install -y $INSTALL_PKGS && \ | ||
yum clean all && \ | ||
RUN INSTALL_PKGS="tar unzip bc gzip which lsof shadow-utils java-1.8.0-openjdk java-1.8.0-openjdk-devel" && \ | ||
microdnf --enablerepo=rhel-7-server-rpms install -y $INSTALL_PKGS && \ | ||
microdnf update && \ | ||
microdnf clean all && \ | ||
useradd -u 1001 -r -g 0 -d ${HOME} -s /sbin/nologin \ | ||
-c "Default Application User" default && \ | ||
mkdir -p ${HOME} /opt/activator /opt/s2i/destination/src/ /deployments && \ | ||
|
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