Skip to content
Switch branches/tags

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?
Go to file
Cannot retrieve contributors at this time
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:
#ARG CORRETTO_RPM=amazon-corretto-11-x64-linux-jdk.rpm
# && rpm --import \
# && rpm -K $CORRETTO_RPM \
# && rpm -i $CORRETTO_RPM \
# && rm -r $CORRETTO_RPM
#ENV JAVA_HOME=/usr/lib/jvm/java-11-amazon-corretto
#copy files
RUN mkdir -p /output && mkdir -p /scriptrun
COPY /scriptrun
COPY Dockerfile.template /
RUN chmod 755 /scriptrun/
CMD /scriptrun/