Update openjdk Docker tag to v24 #17
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM openjdk:17-jdk as builder
|
FROM openjdk:24-jdk as builder
|
||||||
MAINTAINER William Brawner <me@wbrawner.com>
|
MAINTAINER William Brawner <me@wbrawner.com>
|
||||||
|
|
||||||
RUN groupadd --system --gid 1000 gradle \
|
RUN groupadd --system --gid 1000 gradle \
|
||||||
|
@ -8,7 +8,7 @@ COPY --chown=gradle:gradle . /home/gradle/src
|
||||||
WORKDIR /home/gradle/src
|
WORKDIR /home/gradle/src
|
||||||
RUN /home/gradle/src/gradlew --console=plain --no-daemon shadowJar
|
RUN /home/gradle/src/gradlew --console=plain --no-daemon shadowJar
|
||||||
|
|
||||||
FROM openjdk:17-slim
|
FROM openjdk:24-slim
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
RUN groupadd --system --gid 1000 twigs \
|
RUN groupadd --system --gid 1000 twigs \
|
||||||
&& useradd --system --gid twigs --uid 1000 --create-home twigs
|
&& useradd --system --gid twigs --uid 1000 --create-home twigs
|
||||||
|
|
Loading…
Reference in a new issue