Skip to content

Commit

Permalink
Merge pull request #34 from whitingjr/install-jdk11-packages
Browse files Browse the repository at this point in the history
Switch runtime JVM. Replace JDK8 with JDK11. Prepare gc log directory.
  • Loading branch information
jdcasey authored Sep 28, 2020
2 parents 556d814 + ca38783 commit 9d5254e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion indy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,14 @@ RUN chmod +x /usr/local/bin/*
ENTRYPOINT ["/usr/local/bin/dumb-init", "--"]
CMD ["bash", "-c", "source /usr/local/bin/setup-user.sh && /usr/local/bin/start-indy.py"]

RUN mkdir -p /etc/indy && mkdir -p /var/log/indy && mkdir -p /usr/share/indy
RUN mkdir -p /etc/indy && mkdir -p /var/log/indy && mkdir -p /usr/share/indy /opt/indy/var/log/indy
RUN chmod -R 777 /etc/indy && chmod -R 777 /var/log/indy && chmod -R 777 /usr/share/indy
RUN yum remove -y java-1.8.0-openjdk java-1.8.0-openjdk-headless && \
wget -P /tmp http://mirror.centos.org/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7 && \
rpm --import /tmp/RPM-GPG-KEY-CentOS-7 && \
yum-config-manager --add-repo http://mirror.centos.org/centos/7/os/x86_64/ && \
yum install -y java-11-openjdk-devel.x86_64 java-11-openjdk-headless.x86_64 && \
yum clean all
RUN cp -rf /opt/indy/var/lib/indy/ui /usr/share/indy/ui
RUN wget -P /tmp http://mirror.centos.org/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7 && \
rpm --import /tmp/RPM-GPG-KEY-CentOS-7 && \
Expand Down

0 comments on commit 9d5254e

Please sign in to comment.