-
Notifications
You must be signed in to change notification settings - Fork 20
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
Showing
2 changed files
with
62 additions
and
1 deletion.
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
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
FROM quay.io/centos/centos:stream9 | ||
|
||
ENV JAVA_HOME=/usr/lib/jvm/java-11 | ||
|
||
RUN yum -y install 'dnf-command(config-manager)' | ||
RUN yum config-manager --set-enabled crb | ||
RUN dnf -y update && \ | ||
dnf -y install \ | ||
cmake \ | ||
cyrus-sasl-devel \ | ||
cyrus-sasl-plain \ | ||
cyrus-sasl-md5 \ | ||
cyrus-sasl-gssapi \ | ||
iputils \ | ||
java-11-openjdk-devel \ | ||
krb5-workstation \ | ||
krb5-devel \ | ||
maven \ | ||
openssl-devel \ | ||
procps-ng \ | ||
protobuf \ | ||
protobuf-devel \ | ||
python3 \ | ||
rpmdevtools \ | ||
valgrind \ | ||
wget \ | ||
yum-utils && \ | ||
dnf -y group install "Development Tools" && \ | ||
dnf clean all && \ | ||
rm -rf /var/cache/yum | ||
|
||
#RUN wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo | ||
#RUN yum -y install apache-maven | ||
|
||
#RUN cd /usr/lib64 && ln -s libkrb5.so.3.3 libkrb5.so && ln -s libkrb5support.so.0.1 libkrb5support.so | ||
|
||
RUN groupadd -r jboss -g 1000 && useradd -u 1000 -r -g jboss -m -d /home/jboss -s /sbin/nologin -c "JBoss user" jboss && \ | ||
chmod 755 /home/jboss | ||
|
||
# Set the working directory to jboss' user home directory | ||
WORKDIR /home/jboss | ||
|
||
# Specify the user which should be used to execute all commands below | ||
USER jboss | ||
|
||
|