Skip to content

Commit

Permalink
Update dockerfiles to use java 11 (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
cfkoehler committed Apr 21, 2023
1 parent 30bbed6 commit 66f7a88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion contrib/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM centos:7

RUN yum update -y \
&& yum install -y java-1.8.0-openjdk \
&& 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-11-amazon-corretto-devel \
&& yum clean all -y \
&& rm -rf /var/cache/yum

Expand Down
2 changes: 1 addition & 1 deletion contrib/docker/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG group=emissary
ARG uid=1000
ARG gid=1000
ARG maven_version=3.6.3
ARG java_version=1.8.0
ARG java_version=11

ENV MAVEN_OPTS -Xms512M -Xmx1024M -Xss1M -XX:MaxPermSize=128M -Djava.awt.headless=true
ENV MAVEN_HOME /opt/maven
Expand Down

0 comments on commit 66f7a88

Please sign in to comment.