Skip to content

Commit

Permalink
NOJIRA
Browse files Browse the repository at this point in the history
reconfigured dockerfile
  • Loading branch information
chasegawa committed Nov 9, 2023
1 parent de10a75 commit 32a5b41
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
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 \
&& curl -L -o /etc/yum.repos.d/corretto.repo https://yum.corretto.aws/corretto.repo \
&& 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

Expand All @@ -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
Expand Down

0 comments on commit 32a5b41

Please sign in to comment.