Skip to content

Commit

Permalink
chore(deps): update JVM to OpenJDK 17.x in Docker images for security…
Browse files Browse the repository at this point in the history
… improvements
  • Loading branch information
psanders committed Feb 12, 2024
1 parent ff95365 commit 3c81f89
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion compose.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ services:

#
# SIP End to End Test (SEET) compliance test for SIPConnect v1.1 support
# docker-compose up --abort-on-container-exit --exit-code-from compliance
# docker-compose -f compose.yaml -f compose.dev.yaml up \
# --abort-on-container-exit --exit-code-from compliance
#
compliance:
container_name: compliance
Expand Down
4 changes: 2 additions & 2 deletions mods/edgeport/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
FROM alpine:3.19 AS builder
LABEL maintainer="Pedro Sanders <[email protected]>"

ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk
ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk
WORKDIR /work

COPY .scripts/custom-jre.sh .

RUN apk add --no-cache --update openjdk11-jdk \
RUN apk add --no-cache --update g++ openjdk17-jdk \
&& sh custom-jre.sh

##
Expand Down
6 changes: 3 additions & 3 deletions mods/requester/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
FROM alpine:3.19 AS builder
LABEL maintainer="Pedro Sanders <[email protected]>"

ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk
ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk
WORKDIR /work

COPY .scripts/custom-jre.sh .

RUN apk add --no-cache --update openjdk11-jdk \
RUN apk add --no-cache --update g++ openjdk17-jdk \
&& sh custom-jre.sh

##
## Runner
##
FROM alpine:3.19 AS runner
FROM alpine:3.19 AS runner

RUN mkdir -p /opt/routr && apk add --no-cache tini
WORKDIR /opt/routr
Expand Down

0 comments on commit 3c81f89

Please sign in to comment.