Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
ShibbIdP_ConfigBuilder_Container/Dockerfile
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
28 lines (23 sloc)
1.04 KB
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
FROM --platform=$TARGETPLATFORM rockylinux:8.8 | |
# Install needed utils | |
RUN rm -fr /var/cache/yum/* && yum clean all && yum -y install --setopt=tsflags=nodocs epel-release && \ | |
yum -y install wget zip unzip rsync openssl java-latest-openjdk && \ | |
yum -y clean all | |
# Install Corretto Java JDK | |
#Corretto download page: https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/downloads-list.html | |
#ARG CORRETTO_URL_PERM=https://corretto.aws/downloads/latest/amazon-corretto-11-x64-linux-jdk.rpm | |
#ARG CORRETTO_RPM=amazon-corretto-11-x64-linux-jdk.rpm | |
#COPY corretto-signing-key.pub . | |
#RUN curl -O -L $CORRETTO_URL_PERM \ | |
# && rpm --import corretto-signing-key.pub \ | |
# && rpm -K $CORRETTO_RPM \ | |
# && rpm -i $CORRETTO_RPM \ | |
# && rm -r corretto-signing-key.pub $CORRETTO_RPM | |
#ENV JAVA_HOME=/usr/lib/jvm/java-11-amazon-corretto | |
#copy files | |
RUN mkdir -p /output && mkdir -p /scriptrun | |
COPY configBuilder.sh /scriptrun | |
COPY Dockerfile.template / | |
COPY Dockerfile.windows.template / | |
RUN chmod 755 /scriptrun/configBuilder.sh | |
CMD /scriptrun/configBuilder.sh |