diff --git a/Dockerfile b/Dockerfile index bd30702..7728c10 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ -FROM --platform=$TARGETPLATFORM rockylinux:8.8 +FROM rockylinux:8.8 +#FROM --platform=$TARGETPLATFORM rockylinux:8.8 # Install Corretto Java JDK (from Amazon repo, more arch independent) RUN rpm --import https://yum.corretto.aws/corretto.key \ @@ -6,6 +7,12 @@ RUN rpm --import https://yum.corretto.aws/corretto.key \ && yum install -y java-17-amazon-corretto-devel ENV JAVA_HOME=/usr/lib/jvm/java-17-amazon-corretto +RUN rm -fr /var/cache/yum/* && yum clean all && yum -y update && yum -y install --setopt=tsflags=nodocs epel-release && \ + yum -y install wget && \ + yum -y clean all + +RUN mkdir -p /opt/shibui + COPY containerfiles/supervisord.conf /etc/supervisor/supervisord.conf COPY containerfiles/users.txt /opt/shibui @@ -18,7 +25,6 @@ COPY bootstrapfiles/shibui-${version}.war.sha256sum . RUN wget https://github.internet2.edu/TIER/shib-idp-ui/releases/download/v${version}/shibui-${version}.war \ && sha256sum -c shibui-${version}.war.sha256sum && mv shibui-${version}.war shibui.war -RUN mkdir -p /opt/shibui RUN mv shibui.war /opt/shibui/shibui.war # TIER Beacon Opt-out