Skip to content

Commit

Permalink
Bump Ubuntu from Jammy to Noble (#9805)
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Sheehy <[email protected]>
  • Loading branch information
steven-sheehy authored Nov 24, 2024
1 parent 15ecd86 commit 0dc270a
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions hedera-mirror-graphql/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM eclipse-temurin:21-jre-jammy as builder
FROM eclipse-temurin:21-jre-noble as builder
WORKDIR /app
COPY build/libs/*.jar ./
RUN java -Djarmode=layertools -jar *.jar extract

FROM eclipse-temurin:21-jre-jammy
FROM eclipse-temurin:21-jre-noble
ENV JDK_JAVA_OPTIONS="-XX:MaxRAMPercentage=80"
EXPOSE 8083
HEALTHCHECK --interval=10s --retries=3 --start-period=50s --timeout=2s CMD curl -f http://localhost:8083/actuator/health/liveness
Expand Down
4 changes: 2 additions & 2 deletions hedera-mirror-grpc/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM eclipse-temurin:21-jre-jammy as builder
FROM eclipse-temurin:21-jre-noble as builder
WORKDIR /app
COPY build/libs/*.jar ./
RUN java -Djarmode=layertools -jar *.jar extract

FROM eclipse-temurin:21-jre-jammy
FROM eclipse-temurin:21-jre-noble
ENV JDK_JAVA_OPTIONS="-XX:MaxRAMPercentage=80"
EXPOSE 5600
HEALTHCHECK --interval=10s --retries=3 --start-period=50s --timeout=2s CMD curl -f http://localhost:8081/actuator/health/liveness
Expand Down
4 changes: 2 additions & 2 deletions hedera-mirror-importer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM eclipse-temurin:21-jre-jammy as builder
FROM eclipse-temurin:21-jre-noble as builder
WORKDIR /app
COPY build/libs/*.jar ./
RUN java -Djarmode=layertools -jar *.jar extract

FROM eclipse-temurin:21-jre-jammy
FROM eclipse-temurin:21-jre-noble
ENV JDK_JAVA_OPTIONS="-XX:MaxRAMPercentage=80"
HEALTHCHECK --interval=30s --retries=3 --start-period=60s --timeout=2s CMD curl -f http://localhost:8080/actuator/health/liveness
WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions hedera-mirror-monitor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM eclipse-temurin:21-jre-jammy as builder
FROM eclipse-temurin:21-jre-noble as builder
WORKDIR /app
COPY build/libs/*.jar ./
RUN java -Djarmode=layertools -jar *.jar extract

FROM eclipse-temurin:21-jre-jammy
FROM eclipse-temurin:21-jre-noble
ENV JDK_JAVA_OPTIONS="-XX:MaxRAMPercentage=80"
EXPOSE 8082
HEALTHCHECK --interval=10s --retries=5 --start-period=60s --timeout=2s CMD curl -f http://localhost:8082/actuator/health/liveness
Expand Down
4 changes: 2 additions & 2 deletions hedera-mirror-rest-java/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM eclipse-temurin:21-jre-jammy as builder
FROM eclipse-temurin:21-jre-noble as builder
WORKDIR /app
COPY build/libs/*.jar ./
RUN java -Djarmode=layertools -jar *.jar extract

FROM eclipse-temurin:21-jre-jammy
FROM eclipse-temurin:21-jre-noble
ENV JDK_JAVA_OPTIONS="-XX:MaxRAMPercentage=80"
EXPOSE 8084
HEALTHCHECK --interval=10s --retries=3 --start-period=50s --timeout=2s CMD curl -f http://localhost:8084/actuator/health/liveness
Expand Down
4 changes: 2 additions & 2 deletions hedera-mirror-rosetta/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Importer, Rosetta and PostgreSQL into one image
# and run the services using supervisord

FROM ubuntu:22.04 as builder
FROM ubuntu:noble AS builder
ENV LANG=C.UTF-8
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y --no-install-recommends && apt-get install -y gcc git openjdk-21-jdk-headless wget
Expand All @@ -28,7 +28,7 @@ RUN mkdir importer rosetta scripts \
# --------------------------- Runner Container --------------------------- #
# ######################################################################## #

FROM ubuntu:22.04 as runner
FROM ubuntu:noble AS runner

# ---------------------- Install Deps & PostgreSQL ------------------------ #
# Add the PostgreSQL PGP key to verify their Debian packages.
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-test/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM eclipse-temurin:21-jre-jammy
FROM eclipse-temurin:21-jre-noble

ENV JDK_JAVA_OPTIONS="-XX:MaxRAMPercentage=80"
WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions hedera-mirror-web3/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM eclipse-temurin:21-jre-jammy as builder
FROM eclipse-temurin:21-jre-noble as builder
WORKDIR /app
COPY build/libs/*.jar ./
RUN java -Djarmode=layertools -jar *.jar extract

FROM eclipse-temurin:21-jre-jammy
FROM eclipse-temurin:21-jre-noble
ENV JDK_JAVA_OPTIONS="-XX:MaxRAMPercentage=80 --enable-preview"
EXPOSE 8545
HEALTHCHECK --interval=10s --retries=3 --start-period=50s --timeout=2s CMD curl -f http://localhost:8545/actuator/health/liveness
Expand Down

0 comments on commit 0dc270a

Please sign in to comment.